Denis Vlasenko | 05241802a7c | top: another readability fix | | |
Denis Vlasenko | fc1e9951c63 | vsz and rss are unsigned longs (ulong ~= width of void* =>
suitable for expressing total RAM in system). We account
f... | | |
Denis Vlasenko | 8bdba4d0118 | top: don't wait before final bailout (try top -b -n1).
top: make code a bit more readable. | | |
Denis Vlasenko | fb48f6c9824 | mount: allow (and ignore) -i | | |
Denis Vlasenko | 76c476f8178 | smart_ulltoa5: emit small letters k,m,g... - makes top
more readable | | |
Denis Vlasenko | b308d81e927 | top: use poll instead of select for waiting on one descriptor
smart_ulltoa5: make it more cryptic. -50 bytes.
functi... | | |
Denis Vlasenko | 7d8de4d55db | mount: don't close fd twice in NFS code | | |
Denis Vlasenko | 0f214ecef0a | cp: fix recursion check to not waste bytes remembering names of dirs | | |
Denis Vlasenko | 8a5fab6333e | cp: detect and prevent infinite recursion | | |
Denis Vlasenko | 512499c8cab | ps: fix RSS parsing (rss field in /proc/PID/stat is in pages, not bytes) | | |
Denis Vlasenko | ec9781d5e4f | add links to vda's pet projects | | |
Denis Vlasenko | 614aca61e58 | install: shrink a bit, fix two buglets | | |
Denis Vlasenko | 6dd333dfe67 | Start a small document "why ifupdown is bad" | | |
Denis Vlasenko | 30bab71f7bd | make copy_file() a bit easier to understand, and smaller
function old ... | | |
Denis Vlasenko | 737d131e5e7 | support "#!/bin/busybox"-style wrappers. Needed for SELinux.
Patch by Yuichi Nakamura <ynakam@hitachisoft.jp> | | |
Bernhard Reutner-Fischer | 52226771760 | - add Yann's email-addr | | |
Denis Vlasenko | 6666ac42a5c | cp,mv: simpler arg[cv] handling -> smallish code savings | | |
Bernhard Reutner-Fischer | 2062fc41552 | - cosmetic html cleanup | | |
Bernhard Reutner-Fischer | 6a7b7ce23ed | - obfuscate addrs a little bit | | |
Denis Vlasenko | 3d829627fb5 | cp: make POSIX-me-harder mode complain with a bit less insane message | | |
Denis Vlasenko | cab774d6e5c | spelling fixes to website | | |
Denis Vlasenko | 46fc23b5320 | Cosmetic fixes to webpage | | |
Denis Vlasenko | 30f00a4286f | add missed attribution to httpd sendfile support | | |
Denis Vlasenko | ed6ac53104d | Change version to 1.7.1.svn | | |
Denis Vlasenko | ba19a306360 | Fix version (remove .svn) | | |
Denis Vlasenko | 66dc9068eb5 | Start 1.8.x cycle | | |
Denis Vlasenko | e1022a9d6a0 | news.html: add 1.7.0 announcement | | |
Denis Vlasenko | f87f495e65b | Update defconfig; fix comments | | |
Denis Vlasenko | 028f2d651c0 | build system: stop moaning about unset integer CONFIGs. | | |
Denis Vlasenko | 6ee023cf629 | *: compile fixes for 64-bit build | | |
Denis Vlasenko | de4c5d3d8c7 | httpd: code shrink of dir indexer example | | |
Denis Vlasenko | c6c2345ca61 | login: fixes for PAM build | | |
Denis Vlasenko | 5750782fca4 | httpd: style fix in indexer example | | |
Denis Vlasenko | 76429981901 | httpd: replace shell-based dir indexer cgi example with C-based one. | | |
Denis Vlasenko | 72b6a65b2fa | httpd: fix buglet in hex conversion. Remove alloca NULL checks
(never happens, app just crashes if stack overflows)
s... | | |
Denis Vlasenko | d6e81c7762e | login: optional support for PAM | | |
Denis Vlasenko | 18f2a6bc5ef | s/communal/common/ part 2 | | |
Denis Vlasenko | f7d9e84bc50 | s/communal/common/ | | |
Denis Vlasenko | e58e8d94441 | httpd: add optional support for error pages
(by Pierre Metras <genepi@sympatico.ca>) | | |
Denis Vlasenko | 45946f8b513 | runit/*: get rid of tai[a] time abstraction, it's too bloaty.
text data bss dec hex filename
7725... | | |
Denis Vlasenko | 63db27f9f4c | removed stray debugging comments | | |
Denis Vlasenko | 3f1123103cf | max_option_length[] holds small ints, uint8_t is enough
function old ... | | |
Denis Vlasenko | d867f32a7ae | httpd: explain IP/mask parsing, and simplify it a bit.
parse_conf 1258 1... | | |
Denis Vlasenko | 921799da4ec | httpd: reinstate (much lighter) paranoid connection close code
allegedly needed for some versions of IE. +45 bytes. | | |
Denis Vlasenko | 37c3316fd71 | httpd: get rid of rmt_port and setenv_log | | |
Denis Vlasenko | 52e15dc50b0 | httpd: get rid of sscanf usage. Rename some variables. | | |
Denis Vlasenko | f9000c51dbf | crond: code shrink | | |
Denis Vlasenko | d37f22225b4 | libbb,crond,lash: fix getopt32 (don't know how it managed to slip through)
*: fcntl(fd, F_GETFL) doesn't require thir... | | |
Denis Vlasenko | b9c02dd7910 | crond: don't start sendmail with absolute path
crond: don't report obsolete version, report true bbox version | | |
Denis Vlasenko | fe7cd642b0b | don't pass argc in getopt32, it's superfluous
(add/remove: 0/0 grow/shrink: 12/131 up/down: 91/-727) Total: -636 byt... | | |
Denis Vlasenko | d6cd9d7fe9e | httpd: stop reading headers using 1-byte read()
get_line 73 105 ... | | |
Denis Vlasenko | 367960ba9ab | make standalone httpd work on NOMMU machines | | |
Denis Vlasenko | 9611cb1215f | get rid of server_ and accepted_socket globals.
get_line 74 73 ... | | |
Denis Vlasenko | a27a11bb2c0 | introduce and use xdup2(int, int)
stop checking whether setsockopt_reuseaddr(int fd) was successful (it always is)
re... | | |
Denis Vlasenko | b98c26ad684 | httpd shrink and logging update, part 7 of 7
text data bss dec hex filename
9836 0 ... | | |
Denis Vlasenko | feac3ce8c00 | httpd shrink and logging update, part 6 of 7
text data bss dec hex filename
9836 0 ... | | |
Denis Vlasenko | 073214f8940 | httpd shrink and logging update, part 5 of 7
text data bss dec hex filename
9836 0 ... | | |
Denis Vlasenko | 91adf7d5877 | httpd shrink and logging update, part 4 of 7
text data bss dec hex filename
9836 0 ... | | |
Denis Vlasenko | e45af73dc23 | httpd shrink and logging update, part 3 of 7
text data bss dec hex filename
9836 0 ... | | |
Denis Vlasenko | 241b1567adf | httpd shrink and logging update, part 2 of 7
text data bss dec hex filename
9836 0 ... | | |
Denis Vlasenko | 1b97efd66ae | httpd shring and logging update, part 1 or 7
text data bss dec hex filename
9836 0 ... | | |
Denis Vlasenko | 72d260dbdac | remove stray newline from help text | | |
Denis Vlasenko | 856be770a66 | assorted fixes for breakage found by randomconfig | | |
Denis Vlasenko | 7f175ccbc38 | add comments regarding SO_REUSEADDR | | |
Denis Vlasenko | 06b064c28d7 | Comment out "#include <strings.h>" everywhere | | |
Denis Vlasenko | 838dacaa002 | find: fix SELinux-related warning | | |
Denis Vlasenko | f848305afc5 | modprobe: add scanning of /lib/modules/`uname -r`/modules.symbols
(by Yann E. MORIN) | | |
Denis Vlasenko | a0319ba9362 | hdparm: shrink rodata by ~250 bytes | | |
Denis Vlasenko | 6a2f7f41cf7 | whitespace fixes, no code changes | | |
Denis Vlasenko | 033e592cbc9 | more: by Tristan Schmelcher <tpkschme@engmail.uwaterloo.ca>:
- Fixed a number of deficiencies in the line wrapping.
-... | | |
Denis Vlasenko | ab9c44b1a41 | v[hp]error_msg have 2-3 callsites only -> incorporate there. | | |
Denis Vlasenko | bb23c069191 | if pidfile turned out to be !regular file, do not unlink it.
It's most probably the /dev/null. | | |
Denis Vlasenko | 9f7b92a2e13 | dhcpd: make -S and -f actually work | | |
Denis Vlasenko | 384b1d12f95 | httpd: add -v[v]: prints client addresses, HTTP codes returned [and URLs]
get_line ... | | |
Denis Vlasenko | 0372f0f1999 | httpd: extend -p PORT to -p [IP[v6]:]PORT
httpd: comment out strange code which "closes connection properly"
(isnt ex... | | |
Denis Vlasenko | 3d17d2b430a | udhcpd: add -f "foreground" and -S "syslog" options
udhcpc: add -S "syslog" options
remove CONFIG_FEATURE_UDHCP_SYSLO... | | |
Denis Vlasenko | dbe6e66d6a8 | trylink: automatically use custom link script if user provides one
vinfo_msg: one user (info_msg), incorporate in it
... | | |
Denis Vlasenko | a1120a8ea29 | syslogd: set syslog IPC buffer to mode 0644 | | |
Denis Vlasenko | 3952f20c24f | expand, unexpand: new applets from Tito <farmatito@tiscali.it> | | |
Denis Vlasenko | 08294dbf5bc | df: match coreutils behavior of wrapping lines if filesystem name is too long.
df: trim help text | | |
Denis Vlasenko | 319f8ebef8a | httpd: round down sendfile byte count to 64k
*: style fixes | | |
Denis Vlasenko | f5635f4d327 | usage.h: style cleanup | | |
Denis Vlasenko | e324184c050 | s/#ifdef CONFIG_/#if ENABLE_/g | | |
Denis Vlasenko | 5f1b149d541 | syslogd,logread: get rid of head pointer, fix logread bug in the process
function ... | | |
Denis Vlasenko | 1b9064d5355 | httpd: sendfile support | | |
Denis Vlasenko | ff65cd469b5 | fix out-of-source-tree build | | |
Denis Vlasenko | 6ca409e0e4c | trylink: produce even more info about final link stage
trylink: explain how to modify link and drastically decrease a... | | |
Denis Vlasenko | 41855489843 | httpd: CGI Status: header fix | | |
Denis Vlasenko | 1ec15cd818b | httpd: add support for Status: CGI header | | |
Denis Vlasenko | e5d37ccb6e7 | httpd: fix CGI handling bug (we were closing wrong fd). | | |
Denis Vlasenko | f893da875a2 | ls,ps,watch: measure terminal width on fd 0, not 1 | | |
Denis Vlasenko | 501bfe26300 | stat: fix option -Z segv (bug 1454) | | |
Denis Vlasenko | 22a80d1e7d3 | udhcpd: fix bug: s/memcmp() != 0/memcmp() == 0/
(by David Updegraff <dave@cray.com>) | | |
Denis Vlasenko | e5dbba22afb | bb_uudecode: now this is the more thorough fix... I hope... | | |
Denis Vlasenko | 46611179112 | bb_uuencode: fix obscure case where we were using data past last byte of source
(fixes testsuite failure)
bb_uuencod... | | |
Denis Vlasenko | eea72123a36 | patch: fix -p -1 handling
checkstack.pl: add blackfin (by Alex Landau <landau_alex@yahoo.com>) | | |
Denis Vlasenko | 8e209c3787f | catv: catv without arguments was trying to use environ as argv.
(Alex Landau <landau_alex@yahoo.com>) | | |
Denis Vlasenko | 73f21e9cb3a | trylink: s/&& exit 1/|| exit 1/ (spotted by Alex Landau <landau_alex@yahoo.com>) | | |
Denis Vlasenko | 8274e06677b | sed: fix 'q' command handling ("Nguyen Thai Ngoc Duy" <pclouds@gmail.com>)
add testsuite entry for it. Fix apple... | | |
Denis Vlasenko | e013475830b | env: micro-optimization
printenv: fix "printenv VAR1 VAR2" bug (wasn't printing VAR2)
(spotted by kalyanatejaswi bala... | | |
Denis Vlasenko | 84d71f33f5f | setfiles:
* Bug fix: -f option did not work.
* Using bb_simplify_path to remove extra slash for smaller code.
(by Yui... | | |
Denis Vlasenko | 46340e398e9 | less: add a bit more robustness in keyboard reading code | | |
Denis Vlasenko | 0e2c9fb4e09 | mount: print errno on NFS error (again) | | |
Denis Vlasenko | f223efbcde6 | svlogd: fix timestamping; do not warn if config is missing
sv: extend help text | | |
Denis Vlasenko | 9a3b7b1db73 | ttysize: update copyright | | |
Denis Vlasenko | 80edead5ea7 | udhcp: slight shrink
udhcpd_main 1171 1208 +37
udhcpc_main ... | | |
Denis Vlasenko | c01af95c398 | ttysize: new applet. +200 bytes | | |
Denis Vlasenko | 1caca34aa67 | start_stop_daemon: NOMMU fixes, round 2 by Alex Landau <landau_alex@yahoo.com>
dhcpc: fixed "ifupdown + udhcpc_withou... | | |
Denis Vlasenko | fc77eb54e79 | patch: fix bad line ending handling ("Nguyen Thai Ngoc Duy" <pclouds@gmail.com>) | | |
Denis Vlasenko | a1b16f4d5c0 | start_stop_daemon: NOMMU fix; smaller fixes | | |
Denis Vlasenko | f1f1b69dc12 | addgroup: "disallow addgroup -g num user group"; make -g 0 work
(Tito <farmatito@tiscali.it>) | | |
Denis Vlasenko | 980864de081 | dd: use unsigned printf specifier for # of blocks | | |
Denis Vlasenko | 2b03e5ef31c | dd: fix newly introduced bug (introduced by me) | | |
Denis Vlasenko | 6b74b0241cd | interface.c: code shrink (IIRC ~30 bytes) | | |
Denis Vlasenko | dee82b6b78f | ash: comment non-obvious code part | | |
Denis Vlasenko | 1bab1de6986 | fix for suffix optimization (which was in previous commit) | | |
Denis Vlasenko | f868963c672 | multiplier suffixes are short, store them directly in struct suffix_mult
function ... | | |
Denis Vlasenko | 75878706174 | dd: fix bug where we assume count=INT_MAX when count is unspecified;
shrink dd while at it
function ... | | |
Denis Vlasenko | 1d10aaf1161 | passwd: fix bug: we are trying to update shadow even if user's record is in passwd!
getspnam is guilty, it lies that ... | | |
Denis Vlasenko | 3734b946bfe | bb_getpwuid, bb_getgrgid: change order of arguments to more intuitive one;
comment thoroughly when they die and when ... | | |
Denis Vlasenko | 661f6fad77b | cal: small code shrink | | |
Denis Vlasenko | 972fa099e6b | setfiles: small code size reduction (Yuichi Nakamura <ynakam@hitachisoft.jp>) | | |
Denis Vlasenko | 7ce7594fa31 | ps: fix non-desktop ps -ww -- thanks rockeychu | | |
Denis Vlasenko | f4cee7a1746 | getopt32: fix getopt32 breakage (forgot to memset(0) it) -- thanks rockeychu | | |
Denis Vlasenko | 990d0f63eeb | Replace index_in_[sub]str_array with index_in_[sub]strings,
which scans thru "abc\0def\0123\0\0" type strings. Saves ... | | |
Denis Vlasenko | bcb66ec22e8 | od: shrink a bit
verbose 12 13 +1
open_next_file ... | | |
Denis Vlasenko | 1da77728d75 | setfiles: small tweaks to usage text and code | | |
Denis Vlasenko | 3e64e98570b | zcip: remove stray seed48. It's the only thing which was pulling in
rand48 machinery:
zcip_main ... | | |
Denis Vlasenko | 65b8cfb2a0b | add comment why preferred stack boundary is 4 on i386 | | |
Denis Vlasenko | 64a8a3bd749 | chpasswd: rename long options definition to match other applets. no code changes | | |
Denis Vlasenko | 5bfcb4d5ae7 | getopt32 must remain NOFORK-safe (no mallocs!). Using alloca and pretending
stack is infinite. Unfortunately, +79 bytes. | | |
Denis Vlasenko | bdc88fdc684 | rework long option handling. saves ~1.2k
function old new delta
ta... | | |
Denis Vlasenko | 9fe9c1a6d8e | setiles: cosmetics, no real code changes | | |
Denis Vlasenko | 397137b8158 | setfiles,restorecon: new SELinux applets by Yuichi Nakamura <ynakam@hitachisoft.jp> | | |
Denis Vlasenko | 845db2acf3c | chpasswd: fix indentation | | |
Denis Vlasenko | b71c668c577 | style fix (stray space before ';') | | |
Denis Vlasenko | 82bd9ee6454 | fix typo in last commit | | |
Denis Vlasenko | 6cd84dac84f | Three patches from FreeWRT people | | |
Denis Vlasenko | e8feca085db | chpasswd: fixes for shadow password handling | | |
Denis Vlasenko | 091965768da | libbb: nuke BB_GETOPT_ERROR, always die if there are mutually exclusive options
find_pair ... | | |
Denis Vlasenko | 557fb713e0f | chpasswd: fixes and code shrink
update_passwd 732 734 +2
chpasswd_mai... | | |
Denis Vlasenko | 1ec5eaecba0 | chpasswd: now with svn add | | |
Denis Vlasenko | 21d1014b5b9 | chpasswd: new applet by Alexander Shishkin <virtuoso@slind.org> | | |
Denis Vlasenko | 2f6ae43b9c7 | stray trailing tabs removed | | |
Denis Vlasenko | 2a86a61c270 | ifup/ifdown: make location of ifstate configurable | | |
Denis Vlasenko | 2414a96faae | vi: comment out dead code | | |
Denis Vlasenko | b69e8722299 | Trim help text. With compressed help: -143 bytes
text data bss dec hex filename
772572 1168 2... | | |
Denis Vlasenko | d4293c77f1b | ash: fix SEGV in forkchild (jp can be NULL). here documents were affected. | | |
Denis Vlasenko | de1c8b2e920 | fix unpacker testsuite to match actual output | | |
Denis Vlasenko | 960eca66b54 | awk: actually do "svn add" for testsuite | | |
Denis Vlasenko | af1bd096252 | awk: fix -F 'regex' bug (miscounted fields if last field is empty) | | |
Denis Vlasenko | b78c782c857 | awk: style fixes; remove one xstrdup/free pair; testsuite | | |
Denis Vlasenko | 91afdf8096c | vi: style fixlet | | |
Denis Vlasenko | a3d15c8be74 | fix typo in prev commit :( | | |
Denis Vlasenko | 27da707d064 | vi: s/argv[0]/applet_name/ | | |
Denis Vlasenko | eaabf0675fe | vi: multiple fixes by Natanael Copa <natanael.copa@gmail.com>
* the puzzling message on error is replaced with strerr... | | |
Denis Vlasenko | 2851082d5d0 | ifconfig: make it work with ifaces with ifnames > 255 | | |
Denis Vlasenko | 49a128a1565 | remove accumulated stray trailing whitespace | | |
Denis Vlasenko | 150d2fa114d | Modify method of linking against libs. Now we fisrt try all
specified libs, and if it succeeds, we try to remove them... | | |
Denis Vlasenko | c5f24268381 | fix discrepancy in GPL version number. Pointed out by "Marsh David" <dmarsh@bigw.com.au> | | |
Denis Vlasenko | 110967a6f7b | top: nested function allows us to reuse some code
(not everyone likes them - but code does get smaller).
display_gen... | | |
Denis Vlasenko | 24c5fbaf421 | top: make "100%" case less ugly, and shrink code while at it
fmt_100percent_8 -... | | |
Denis Vlasenko | c1166c3a8c8 | top: simpler loadavg processing
display_status 1787 1726 -61
------------... | | |
Denis Vlasenko | 9109fbeaa11 | top: truncate usernames to 8 chars | | |
Denis Vlasenko | 4652daace9b | grep: implement -m MAX_MATCHES; fix help text
grep_file 771 822 +5... | | |
Denis Vlasenko | 8d5aa870a66 | grep: fix buglets with context printing
print_line 152 170 +18
did_... | | |
Denis Vlasenko | bdc406d15d5 | ash: make "jobs | cat" work like in bash (was giving empty output) | | |
Denis Vlasenko | 39125bec38a | adduser: close /etc/{passwd,shadow} before calling passwd etc.
Spotted by Natanael Copa <natanael.copa@gmail.com> | | |
Denis Vlasenko | 59a1f304507 | vi: make status line less confusing when we open non-readable files,
require rood to use w! when saving non-writable ... | | |
Denis Vlasenko | fb79a2e2cfe | xioctl and friends by Tito <farmatito@tiscali.it>
function old new ... | | |
Denis Vlasenko | fcfaf2e18ab | ash: small size optimization
function old new delta
makejob ... | | |
Denis Vlasenko | 8fdc4b7b06a | ash: recognize -l as --login equivalent; do not recognize +-login | | |
Denis Vlasenko | 40ba9984fd3 | ash: fix for buglet in DEBUG code (Nguyen Thai Ngoc Duy <pclouds@gmail.com>) | | |
Denis Vlasenko | 153cd695e4f | FAQ: add timezone Q | | |
Denis Vlasenko | 828e2a95dac | nc: minor code shrink
function old new delta
dolisten ... | | |
Mike Frysinger | 8cc9cb8bc51 | remove last source id | | |
Mike Frysinger | d611cccd81c | add support for --symbol-prefix/-P | | |
Denis Vlasenko | c540e75d749 | fix applet order error | | |
Denis Vlasenko | d166f83d742 | md5_sha1_sum: fix mishandling when run as /bin/md5sum (with path)
chown/chgrp: completely match coreutils 6.8 wrt sym... | | |
Denis Vlasenko | 42b3dea9bfb | udhcp: many small fixes:
* arpping(): smaller and even probably fixed
* lots of variables/params converted: ulong -> ... | | |
Denis Vlasenko | 54e19da86d5 | correct_password: if password is 'x' or '*' and there is no shadow, use
fake encrypted password 'aa' (which is guaran... | | |
Denis Vlasenko | a48369183b0 | ifupdown: kill -TERM is default, so drop -TERM
ifupdown: ferror() does not set errno, don't use perror
ifupdown: make... | | |
Denis Vlasenko | e190c166364 | correct_password: do not print "no shadow passwd..." message
function ol... | | |
Denis Vlasenko | 3483e85f6bd | ping: fix non-fancy ping6 | | |
Denis Vlasenko | 10aea3e84e2 | devfsd: futher sanitization by Tito <farmatito@tiscali.it> | | |
Denis Vlasenko | c6753c1666d | expr: small code shrink | | |
Denis Vlasenko | 679b41237cc | devfsd: indentation fixes | | |
Denis Vlasenko | 4b9b0ced301 | find: fix build failure on certain configs
(found by Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>) | | |
Next → |