Denis Vlasenko
5014dada3f
script: new applet by Pascal Bellard <pascal.bellard AT ads-lu.com>
2008-02-27 11:54:59 +00:00
Denis Vlasenko
8195d20e36
sendmail: yet another maintainer's update
2008-02-27 09:39:04 +00:00
Denis Vlasenko
17db1a9ac1
sendmail: update from maintainer
2008-02-26 21:13:17 +00:00
Denis Vlasenko
06aed4316e
ifenslave: new applet. closes bug 115.
2008-02-26 18:25:24 +00:00
Denis Vlasenko
6f1713f216
*: intrduce and use safe_gethostname. By Tito <farmatito AT tiscali.it>
...
safe_gethostname - 48 +48
glob3 35 37 +2
timestamp_and_log 314 315 +1
udhcp_send_kernel_packet 234 231 -3
scan_tree 275 271 -4
passwd_main 1074 1070 -4
print_login_prompt 68 58 -10
obscure 392 377 -15
syslogd_main 882 866 -16
print_login_issue 516 478 -38
hostname_main 278 223 -55
parse_and_put_prompt 825 756 -69
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 2/9 up/down: 51/-214) Total: -163 bytes
text data bss dec hex filename
798791 728 7484 807003 c505b busybox_old
798631 728 7484 806843 c4fbb busybox_unstripped
2008-02-25 23:23:58 +00:00
Denis Vlasenko
400d8bb45e
less,klogd,syslogd,nc,tcpudp: exit on signal by killing itself, not exit(1)
...
*: minor shrink
2008-02-24 13:36:01 +00:00
Denis Vlasenko
2f518b078b
httpd: "HEAD" support. Closes bug 1530.
...
send_file_and_exit 629 645 +16
static.request_HEAD - 5 +5
handle_incoming_and_exit 2732 2737 +5
send_headers 594 597 +3
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 3/0 up/down: 29/0) Total: 29 bytes
text data bss dec hex filename
796283 740 7484 804507 c469b busybox_old
796312 740 7484 804536 c46b8 busybox_unstripped
2008-02-21 00:12:07 +00:00
Denis Vlasenko
a523e2efad
udhcp: we were forgetting to set right op byte in tha packet
...
for DHCPDECLINE. Fixing, and making code smaller.
2008-02-20 22:33:38 +00:00
Denis Vlasenko
84da0bf475
udhcp: make paths configurable
...
syslogd: trivial build fix
2008-02-20 22:29:52 +00:00
Denis Vlasenko
671ca33aa1
init: make it NOMMU-capable
...
httpd: trivial compile fix
2008-02-19 14:13:20 +00:00
Denis Vlasenko
c9ca0a3274
mount: recognize "dirsync" (closes bug 835)
...
mount: sanitize environ if called by non-root
*: adjust for slightly different sanitize routine
2008-02-18 11:08:33 +00:00
Denis Vlasenko
cb448fe01b
libbb: introduce and use xrename and rename_or_warn.
2008-02-17 14:28:53 +00:00
Denis Vlasenko
25591c322c
libbb: introduce bb_signals and bb_signals_recursive,
...
which sets same handler for many signals. sig_catch is nuked
(bb_signals_recursive is more descriptive name).
*: use them as appropriate.
function old new delta
bb_signals_recursive - 95 +95
bb_signals - 52 +52
run_command 258 273 +15
svlogd_main 1368 1377 +9
runsv_main 1746 1752 +6
runsvdir_main 1643 1646 +3
UNSPEC_print 64 66 +2
time_main 1128 1127 -1
...
resize_main 246 210 -36
sig_catch 63 - -63
set_fatal_sighandler 85 14 -71
------------------------------------------------------------------------------
(add/remove: 2/1 grow/shrink: 5/24 up/down: 182/-548) Total: -366 bytes
2008-02-16 22:58:56 +00:00
Denis Vlasenko
3718832a15
*: more readable handling of pipe fds. No code changes.
2008-02-16 13:20:56 +00:00
Denis Vlasenko
1e18f1bab3
ifupdowm: shrink
...
ifupdown_main 2170 2459 +289
find_iface_state 57 56 -1
next_word 63 58 -5
popen2 350 - -350
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 1/2 up/down: 289/-356) Total: -67 bytes
2008-02-16 13:19:19 +00:00
Denis Vlasenko
284d0faed6
random s/short/int/
...
add_cmd 1189 1190 +1
xconnect_ftpdata 118 117 -1
data_align 86 84 -2
process_files 2101 2096 -5
forkexec 1345 1334 -11
2008-02-16 13:18:17 +00:00
Denis Vlasenko
cd5c61cd3b
ifupdown: code shrink
...
function old new delta
next_word 78 63 -15
ifupdown_main 2381 2170 -211
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-226) Total: -226 bytes
2008-02-15 16:20:26 +00:00
Denis Vlasenko
fc21305892
httpd: fix bug where we did chdir("") if CGI path had only one "/".
...
httpd: fix bug 2004: wrong argv when interpreter is invoked
+8 bytes growth
2008-02-11 16:26:22 +00:00
Bernhard Reutner-Fischer
f536b99d26
- shrink a tiny bit (-30Bytes)
2008-02-11 13:26:54 +00:00
Bernhard Reutner-Fischer
a985d306a1
- spelling fixes
2008-02-11 11:44:38 +00:00
Denis Vlasenko
6d52c1ee24
sendmail: update from maintainer
2008-02-08 18:24:54 +00:00
Denis Vlasenko
7dbf1b4d9e
httpd: add a bit of error logging; a few code simplifications. +29 bytes.
2008-02-08 15:21:55 +00:00
Denis Vlasenko
b386c1c614
udhcp: ifdef out unused members
2008-02-04 13:23:53 +00:00
Denis Vlasenko
d55fe3e595
udhcp: optional support for non-standard DHCP ports (+300 bytes when selected)
2008-02-04 13:12:16 +00:00
Denis Vlasenko
f3f33ebb0b
zcip: open ARP socket before openlog
...
(else we can thrash syslog socket)
2008-02-04 09:42:05 +00:00
Denis Vlasenko
a2980c6249
sendmail: fixes by Vladimir Dronnikov <dronnikov at gmail.com>
2008-02-02 17:54:35 +00:00
Denis Vlasenko
7cff01ec2d
nc: fix fallout from C99 standard compliance change
2008-02-02 16:23:43 +00:00
Paul Fox
0b2b5842a1
Fix compilation error when FEATURE_FANCY_PING enabled. Also
...
reorder networking/Config.in moving FEATURE_FANCY_PING next to
PING6. (Cristian Ionescu-Idbohrn)
2008-02-01 23:25:32 +00:00
Bernhard Reutner-Fischer
8c69afd992
- be C99 friendly. Anonymous unions are a GNU extension. This change is
...
size-neutral WRT -std=gnu99 and fixes several compilation errors for strict
C99 mode.
2008-01-29 10:33:34 +00:00
Denis Vlasenko
ddd42cb064
sendmail: really svn add it
2008-01-29 00:59:15 +00:00
Denis Vlasenko
73032ca04b
sendmail: new applet by dronnikov at gmail.com
2008-01-28 22:47:03 +00:00
Denis Vlasenko
847fa779af
*: tidy up usage of char **environ
2008-01-28 22:45:43 +00:00
Bernhard Reutner-Fischer
f470196a41
- fix conflicting decls of syslog related facilitynames and prioritynames tables
2008-01-27 12:50:12 +00:00
Denis Vlasenko
b76b9a4328
udhcpc: filter unwanted packets in kernel
...
(Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>)
2008-01-25 22:46:34 +00:00
Denis Vlasenko
ca9635b19d
udhcpc: fix wrong options in decline and release packets
...
(Jonas Danielsson <jonas.danielsson at axis.com>)
2008-01-25 19:27:08 +00:00
Bernhard Reutner-Fischer
2b11fb483e
- implement brctl setpathcost, setportprio, setbridgeprio, stp
...
text data bss dec hex filename
907 20 0 927 39f networking/brctl.o
2008-01-14 16:10:11 +00:00
Bernhard Reutner-Fischer
1aac3ab49f
- shrink a bit and implement time related fancy features. Improve help texts.
...
text data bss dec hex filename
253 20 0 273 111 networking/brctl.o.bare
613 20 0 633 279 networking/brctl.o.fancy-time
2008-01-13 18:43:50 +00:00
Bernhard Reutner-Fischer
c44c21060e
- save four bytes by manually hoisting the br assignment
2008-01-13 15:43:28 +00:00
Bernhard Reutner-Fischer
d27d925a6d
- new applet brctl
...
text data bss dec hex filename
289 20 0 309 135 networking/brctl.o
335 23 0 358 166 networking/brctl-verbose-ops.o
2008-01-13 15:23:27 +00:00
Denis Vlasenko
474d1c57c8
whitespace fixes
2008-01-07 19:06:47 +00:00
Denis Vlasenko
6b404431aa
ps: fix build breakage from vda's recent commit
...
*: whitespace fixes
2008-01-07 16:13:14 +00:00
Denis Vlasenko
83c44229d2
ip route: "ip route" was misbehaving (extra argv+1 ate 1st env var)
2008-01-04 15:28:28 +00:00
Denis Vlasenko
fb0eba706c
libbb: introduce and use safe_waitpid (loops in EINTR)
...
*: use more approproate (shorter) versions of wait()
function old new delta
safe_waitpid - 48 +48
wait_any_nohang - 17 +17
send_tree 365 369 +4
processorstop 432 435 +3
text_yank 110 108 -2
make_human_readable_str 202 200 -2
crond_main 1368 1366 -2
handle_sigchld 49 43 -6
reapchild 166 159 -7
custom 260 250 -10
checkscript 191 177 -14
wait_nohang 17 - -17
wait_pid 43 - -43
------------------------------------------------------------------------------
(add/remove: 2/2 grow/shrink: 2/7 up/down: 72/-103) Total: -31 bytes
2008-01-02 19:55:04 +00:00
Denis Vlasenko
d3c042fc60
libbb: introduce fputc_printable (from ed)
...
netstat: print control chars as ^C etc
vi: style fixlet
function old new delta
fputc_printable - 100 +100
unix_do_one 451 487 +36
printLines 258 190 -68
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 1/1 up/down: 136/-68) Total: 68 bytes
2007-12-30 01:59:53 +00:00
Denis Vlasenko
fcd878efcd
httpd: support for "I:index.xml" syntax (Peter Korsgaard <jacmet@uclibc.org>)
...
function old new delta
parse_conf 1481 1507 +26
handle_incoming_and_exit 2650 2663 +13
httpd_main 749 759 +10
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/0 up/down: 49/0) Total: 49 bytes
2007-12-29 02:16:23 +00:00
Denis Vlasenko
3f9c848576
trylink: instead of build error, disable --gc-sections if GLIBC && STATIC
...
nameif: glibc build fixlet
2007-12-28 17:04:42 +00:00
Denis Vlasenko
ddc865fb0d
netstat: in error message, report filename and line number
...
where we see problematic data
text data bss dec hex filename
778456 832 7344 786632 c00c8 busybox_old
778394 832 7344 786570 c008a busybox_unstripped
2007-12-26 21:49:33 +00:00
Denis Vlasenko
c03e872112
save a bit of code with *strchrnul = '\0' trick
...
function old new delta
nextline 59 55 -4
include_conf 902 898 -4
read_config 414 406 -8
fsck_main 1880 1869 -11
2007-12-26 20:56:55 +00:00
Denis Vlasenko
abee3d0e0d
Fix xmalloc_fgets_str so that it really does NOT strip terminator.
...
Add xmalloc_fgetline_str which does strip terminator,
and use it in dpkg instead of xmalloc_fgets_str.
netstat: use xmalloc_fgets_str - allows to eat strings with NULs
(this fixes bug with some weird /proc/net/unix input)
function old new delta
xmalloc_fgets_internal - 191 +191
xmalloc_fgetline_str - 18 +18
do_info 116 120 +4
unix_do_one 451 447 -4
tcp_do_one 423 419 -4
send_tree 369 365 -4
xmalloc_fgets_str 178 15 -163
------------------------------------------------------------------------------
(add/remove: 2/0 grow/shrink: 1/4 up/down: 213/-175) Total: 38 bytes
text data bss dec hex filename
778445 832 7344 786621 c00bd busybox_old
778483 832 7344 786659 c00e3 busybox_unstripped
2007-12-26 20:44:45 +00:00
Denis Vlasenko
8e5b6f58a2
Makefile: change version to 1.10.0.svn
...
udhcpc: make UDP packet sending the same as raw sending in regards
to error messages. Minor code size shrink. Total size grows due
to added messages:
text data bss dec hex filename
770312 683 7244 778239 bdfff busybox_old
770327 683 7244 778254 be00e busybox_unstripped
2007-12-24 17:32:22 +00:00