Denis Vlasenko
|
d01ff13454
|
hush: simplify debugging prints a little bit
|
2007-05-02 21:40:23 +00:00 |
|
Denis Vlasenko
|
dd999a2241
|
klogd: remove dependency on syslogd
|
2007-05-02 21:39:29 +00:00 |
|
Denis Vlasenko
|
bd100b7478
|
ifupdown: reread state file before rewriting it.
Fixes "ifup started another ifup" state corruption bug.
Patch by Natanael Copa <natanael.copa@gmail.com>.
|
2007-05-02 21:38:44 +00:00 |
|
Denis Vlasenko
|
4ac530c0ef
|
hush: add debugging for tracing execution,
add FIXME for 'true | exit 3; echo $?' case
|
2007-05-02 15:35:45 +00:00 |
|
Denis Vlasenko
|
ef36ead370
|
hush: fix incorrect exitcodes without job control
|
2007-05-02 15:34:47 +00:00 |
|
Denis Vlasenko
|
dcf4de20a1
|
test: code size saving, no logic changes
ps: fix warning, make a bit smaller
kill -l: make smaller & know much more signals
function old new delta
get_signum 121 153 +32
kill_main 826 843 +17
get_signame 44 36 -8
signals 252 224 -28
.rodata 131955 131923 -32
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/3 up/down: 49/-68) Total: -19 bytes
|
2007-05-01 20:07:29 +00:00 |
|
Denis Vlasenko
|
f20de5bb42
|
ash,kill: use common code for kill applet/builtin
# make bloatcheck
function old new delta
evaltreenr 644 654 +10
evaltree 644 654 +10
parse_conf 1440 1444 +4
dpkg_deb_main 426 429 +3
ed_main 3319 3321 +2
passwd_main 2093 2091 -2
kill_main 830 826 -4
singlemount 4609 4601 -8
find_command 962 954 -8
get_lcm 123 105 -18
.rodata 132243 132147 -96
killcmd 449 120 -329
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 5/7 up/down: 29/-465) Total: -436 bytes
# size busybox_old busybox_unstripped
text data bss dec hex filename
723901 2940 27504 754345 b82a9 busybox_old
723457 2940 27504 753901 b80ed busybox_unstripped
|
2007-04-29 23:42:54 +00:00 |
|
Denis Vlasenko
|
d4728145e3
|
run_parts: do not check path portion of a name for "bad chars".
Needed for ifupdown. Patch by "Gabriel L. Somlo" <somlo@cmu.edu>
|
2007-04-29 23:38:12 +00:00 |
|
Denis Vlasenko
|
08c8c1d3b3
|
ash: fix infinite loop on exit if tty is not there anymore
|
2007-04-28 22:39:02 +00:00 |
|
Denis Vlasenko
|
e3f2f89891
|
hush: make job control and interactiveness configurable, part 2
|
2007-04-28 16:48:27 +00:00 |
|
Denis Vlasenko
|
b81b3df1fa
|
hush: make job control and interactiveness configurable, part 1
|
2007-04-28 16:48:04 +00:00 |
|
Denis Vlasenko
|
0937be5fa6
|
hush: make hush properly detect EOF on stdin (even interactive one -
think about pty being destroyed) and exit.
|
2007-04-28 16:47:08 +00:00 |
|
Denis Vlasenko
|
b5eaabb322
|
hush: add Ctrl-C handling to nofork case
|
2007-04-28 16:45:59 +00:00 |
|
Denis Vlasenko
|
3ac0e00553
|
hush: better signal handling across ctrl-z
|
2007-04-28 16:45:22 +00:00 |
|
Denis Vlasenko
|
18e19f2b0d
|
hush: fix nofork + ctrl-Z clobbering of globals
|
2007-04-28 16:43:18 +00:00 |
|
Denis Vlasenko
|
a6a1785a30
|
hush: add ctrl-Z handling for nofork'ed case
|
2007-04-28 16:42:11 +00:00 |
|
Denis Vlasenko
|
706fdc98c3
|
find_root_device: use lstat - don't follow links
|
2007-04-21 23:28:03 +00:00 |
|
Denis Vlasenko
|
1359da6ac7
|
hush: make Ctrl-Z work (at least sometimes)
|
2007-04-21 23:27:30 +00:00 |
|
Denis Vlasenko
|
762d35c75f
|
hust: add a comment
|
2007-04-21 17:28:51 +00:00 |
|
Denis Vlasenko
|
52881e9f23
|
hush: fix more backgrounding bugs. Plenty of them remains still.
|
2007-04-21 13:42:52 +00:00 |
|
Denis Vlasenko
|
2f1bb36a55
|
hush: explain why "pipe; exit $?" doesn't show correct exitcode
|
2007-04-21 10:01:14 +00:00 |
|
Denis Vlasenko
|
87cb2db703
|
hush: do not print message if killed by signal;
move some functions up before main()
|
2007-04-21 10:00:01 +00:00 |
|
Denis Vlasenko
|
54e7ffb3a4
|
hush: begin fixing non-functional job control
|
2007-04-21 00:03:36 +00:00 |
|
Denis Vlasenko
|
5f786c24e4
|
hush: small code shrink; style fixes
|
2007-04-20 08:35:45 +00:00 |
|
Denis Vlasenko
|
f6250a3bee
|
dd: NOEXEC fix
dd: correct wrongly capitalized constant
|
2007-04-19 20:16:14 +00:00 |
|
Denis Vlasenko
|
d1801a4430
|
dd: fix skip= parse error (spotted by Dirk Clemens <develop@cle-mens.de>)
|
2007-04-19 20:08:19 +00:00 |
|
Denis Vlasenko
|
9ace613406
|
stty: fix option parsing bug (spotted by Sascha Hauer <s.hauer@pengutronix.de>)
|
2007-04-19 19:55:54 +00:00 |
|
Denis Vlasenko
|
05a6d9cbb2
|
doc: add README on shell job control
|
2007-04-19 17:26:34 +00:00 |
|
Denis Vlasenko
|
8581863a1b
|
procps: remove all global variables
text data bss dec hex filename
1462 14 24 1500 5dc busybox.t2/procps/ps.o
1484 0 0 1484 5cc busybox.t3/procps/ps.o
3122 0 252 3374 d2e busybox.t1/procps/top.o
3117 0 0 3117 c2d busybox.t3/procps/top.o
|
2007-04-19 14:47:11 +00:00 |
|
Denis Vlasenko
|
516a0ca2dc
|
ps: add -o tty and -o rss support
1373 14 24 1411 583 busybox.t1/procps/ps.o
1462 14 24 1500 5dc busybox.t2/procps/ps.o
|
2007-04-19 14:46:14 +00:00 |
|
Denis Vlasenko
|
c34d35557b
|
loop device code: readability improvement
|
2007-04-19 00:09:34 +00:00 |
|
Denis Vlasenko
|
3ace9fa6d8
|
switch_root: error_msg -> perror_msg, reduce by 22 bytes while at it.
|
2007-04-18 21:40:30 +00:00 |
|
Denis Vlasenko
|
088b959d00
|
"Unify base64 handling" is done, remove TODO
|
2007-04-18 21:14:46 +00:00 |
|
Denis Vlasenko
|
2ace1e3f07
|
make "busybox" w/o args work again, and save 10 bytes in the process.
|
2007-04-18 21:00:21 +00:00 |
|
Denis Vlasenko
|
55b2de71d7
|
hush: remove stray semicolon (should change nothing)
|
2007-04-18 17:21:28 +00:00 |
|
Denis Vlasenko
|
517d1aac7f
|
ether-wake: save a few more bytes of code
|
2007-04-16 23:23:33 +00:00 |
|
Denis Vlasenko
|
198714c0dd
|
ether-wake: close bug 1317. Reorder fuctions to avoid
forward refs while at it
|
2007-04-16 23:16:37 +00:00 |
|
Denis Vlasenko
|
7d4c44e1b1
|
shells: remove few statics and duplicated code
(much more of the same remains, alas)
function old new delta
doset 330 332 +2
warn 53 51 -2
onecommand 463 461 -2
ioecho 40 38 -2
forkexec 1412 1410 -2
err 81 79 -2
setdash 59 56 -3
flag 4 - -4
msh_main 1389 1384 -5
eval 388 381 -7
subgetc 759 747 -12
static.local 14 - -14
b_adduint 70 52 -18
------------------------------------------------------------------------------
(add/remove: 0/2 grow/shrink: 1/10 up/down: 2/-73) Total: -71 bytes
|
2007-04-16 22:34:39 +00:00 |
|
Denis Vlasenko
|
ac678ec2f1
|
style fixes, no code changes
|
2007-04-16 22:32:04 +00:00 |
|
Denis Vlasenko
|
17e3c34aa7
|
applet.c: ruid is needed only if FEATURE_SUID=y
|
2007-04-16 20:55:27 +00:00 |
|
Bernhard Reutner-Fischer
|
bc9d7d788b
|
- we unconditionally need ruid. Fixes build error in line 334
|
2007-04-16 18:25:46 +00:00 |
|
Bernhard Reutner-Fischer
|
ab51bf4e28
|
- fix compilation when ENABLE_FEATURE_IP_RULE was off
|
2007-04-16 14:56:01 +00:00 |
|
Bernhard Reutner-Fischer
|
e468ef27b7
|
- fix compilation if ENABLE_FEATURE_DD_IBS_OBS is off
|
2007-04-16 12:21:05 +00:00 |
|
Denis Vlasenko
|
0922192740
|
lineedit: state->hist_file doesn't exist if !FEATURE_EDITING_SAVEHISTORY,
#ifdef it out
|
2007-04-15 13:21:01 +00:00 |
|
Denis Vlasenko
|
84f75b0b94
|
doc: fix code example which may provoke warning
|
2007-04-15 11:50:41 +00:00 |
|
Denis Vlasenko
|
8acf521432
|
e2fsprogs: stop using statics in chattr. Minor code shrinkage (-130 bytes)
|
2007-04-15 11:48:27 +00:00 |
|
Denis Vlasenko
|
be1a9d4237
|
deluser: add optional support for removing users from groups
(by Tito <farmatito@tiscali.it>)
|
2007-04-15 08:43:23 +00:00 |
|
Denis Vlasenko
|
91de7c0328
|
update style-guide.txt
|
2007-04-15 08:39:39 +00:00 |
|
Denis Vlasenko
|
58394b1e29
|
xargs: simplify word list management
|
2007-04-15 08:38:50 +00:00 |
|
Denis Vlasenko
|
e471275813
|
msh: style fixes
shell/README - a place to record things about busybox shells
|
2007-04-14 15:08:41 +00:00 |
|