9cdfd14223
dhcpc: cleanup and comments; fix buggy timeout handling in corner cases. -25 bytes.
Denis Vlasenko
2007-11-22 01:00:00 +00:00
223bc97f61
udhcpc: an option to perform ARP check (Jonas Danielsson <jonas.danielsson@axis.com>) configurable, ~+300 bytes when on.
Denis Vlasenko
2007-11-22 00:58:49 +00:00
c881c733bb
cleanup comments and coding style and rewrite the mdev.conf parser to use common busybox functions and call strdup() less often ... saves a ~few hundred bytes
Mike Frysinger
2007-11-19 09:04:22 +00:00
16aec39ebe
add comment clarifying busybox's use of non-standard tar header
Paul Fox
2007-11-17 19:11:05 +00:00
8512862163
tar: fix a case where glibc detects bogus buffer overrun which is not really there!
Denis Vlasenko
2007-11-16 20:35:30 +00:00
7e3a5f58bc
dmesg,klogd: make code more readable libbb: explain why we declare klogctl libbb: move defs around so that order makes more sense
Denis Vlasenko
2007-11-16 20:18:54 +00:00
7c2db5c198
- use standard-imposed constants some more
Bernhard Reutner-Fischer
2007-11-16 12:39:16 +00:00
a702457eac
- remove most of the forward declarations. No obj-code changes.
Bernhard Reutner-Fischer
2007-11-16 12:20:30 +00:00
e8979889b4
- add note about SUSv3 missing options.
Bernhard Reutner-Fischer
2007-11-16 11:52:42 +00:00
6d38dc3af4
df: add -a df: don't special case rootfs and /dev/root
Denis Vlasenko
2007-11-15 09:02:12 +00:00
f430cdbf2e
df: add -i (conditional on CONFIG) uasge: trim a bit
Denis Vlasenko
2007-11-15 07:02:55 +00:00
1fe4e9e573
cosmetic change in message text
Denis Vlasenko
2007-11-15 00:57:40 +00:00
ae6bf96659
bad syntax error should go to stderr
Paul Fox
2007-11-14 23:48:35 +00:00
9d6c46955f
Introduce FEATURE_PREFER_IPV4_ADDRESS. If selected, we have: function old new delta str2sockaddr 328 344 +16
Denis Vlasenko
2007-11-14 10:18:33 +00:00
8d0a734d91
tr: more of code shrink (getopt32-ification) runtest: cleanup. Method of getting $applets was truly bizarre
Denis Vlasenko
2007-11-13 22:23:57 +00:00
b4f608d8e0
readlink: realpath requires PATH_MAX, bb_common_bufsiz1 can be too small umount: don't actually need char[2 * PATH_MAX] for realpath
Denis Vlasenko
2007-11-10 01:31:19 +00:00
d031b203c7
syslogd: support "symlink to symlink" for /dev/log; reduce stack usage
Denis Vlasenko
2007-11-10 01:28:19 +00:00
9bd8d0c23e
- commentary fixes - use common exit sequence for failure path: text data bss dec hex filename 308 0 0 308 134 libbb/xreadlink.o.pgf 296 0 0 296 128 libbb/xreadlink.o
Bernhard Reutner-Fischer
2007-11-08 21:11:43 +00:00
599bbfbd9b
xmalloc_follow_symlinks() -- fix ELOOP issue with absolute paths, return full path in cases where path doesn't resolve to a link. change name to better differentiate from xmalloc_readlink().
Paul Fox
2007-11-08 20:00:36 +00:00
abbd363261
xreadlink: code shrink udhcp: add missing tryagain member to client_config
Denis Vlasenko
2007-11-08 17:40:23 +00:00
53bd4015aa
follow symlinks to find the true passwd file before updating.
Paul Fox
2007-11-08 01:12:38 +00:00
459a2ba1ef
new xmalloc_readlink_follow() routine to fully expand trailing symlinks to get to a "real" file (or directory).
Paul Fox
2007-11-08 01:11:41 +00:00
49cce2b838
add "-A N" / "--tryagain=N" option to client, to allow altering the default 60 second wait after failure to get a lease.
Paul Fox
2007-11-07 16:01:28 +00:00
6e1b62b18c
flush typeahead before prompt
Paul Fox
2007-11-07 15:51:35 +00:00
cb12cb2407
modprobe: fix a bug where we were entering endless loop syslogd: strip trailing '\n' too, not only NULs
Denis Vlasenko
2007-11-06 11:34:03 +00:00
5281630229
login: clear dangerous environment variables if started by non-root
Denis Vlasenko
2007-11-06 05:26:51 +00:00
6bef3d1d22
fbset: fix buglet where we were using wrong pointer readahead: stop using stdio.h *: style fixes
Denis Vlasenko
2007-11-06 03:05:54 +00:00
ef66d75704
insmod: make error reporting less verbose
Denis Vlasenko
2007-11-06 02:02:45 +00:00
018b155ad9
telnetd: fix problem with zombies (by Paul Fox <pgf@brightstareng.com>) syslogd: strip trailing NULs
Denis Vlasenko
2007-11-06 01:38:46 +00:00
cb981638f5
change safety check on zip header to allow for extra length, and revert the header read to use the correct constant rather than sizeof. at least one version of gcc (armv4-linux-gcc-3.4.1) pads the struct to 28 bytes in spite of the packing.
Paul Fox
2007-11-05 23:09:03 +00:00
f8b21d0933
swaponoff: prevent arithmetic overflow (spotted by Paul Fox <pgf@brightstareng.com>)
Denis Vlasenko
2007-11-05 19:33:38 +00:00
15c3885688
fix incorrect text of link-time error message. No code changes
Denis Vlasenko
2007-11-05 19:31:01 +00:00
9fcd799b98
webpage: fix typo, remove inconsistent trailing dots Makefile: version is 1.9.0.svn now
Denis Vlasenko
2007-11-05 16:26:34 +00:00
9d1afdb571
inetd: fix bug 1562 "inetd does not set argv[0] properly" (fix by IlyaPanfilov) inetd: code shrink while at it
Denis Vlasenko
2007-10-30 19:54:39 +00:00
a59f435b5f
ash: if tcgetattr(stdin) fails, don't mess with tcsetattr ash: size-optimize ulimit's table of limits
Denis Vlasenko
2007-10-29 19:17:29 +00:00
7ab5e3dfcd
svlogd: fix compat problem: svlogd -tt should timestanp stderr too
Denis Vlasenko
2007-10-22 15:53:34 +00:00
78ee7c853a
httpd: fix trivial bug (spotted by Alex Landau)
Denis Vlasenko
2007-10-21 23:24:42 +00:00
6fa3ab3cf1
bzip2: make -d actually work
Denis Vlasenko
2007-10-21 18:59:58 +00:00
e5387a0574
bb_askpass: handle Ctrl-C, restore termoios on Ctrl-C. sulogin: remove alarm handling, as it is redundant there. code shrink. After all differences cancel out:
Denis Vlasenko
2007-10-20 19:20:22 +00:00