Denis Vlasenko
82f3b16713
login: do reject wrong passwords with PAM auth
2007-09-03 11:56:27 +00:00
Denis Vlasenko
9862e6b056
trylink: reinstate accidentally deleted --verbose
...
trylink: remove commented-out parts
2007-09-03 11:28:14 +00:00
Bernhard Reutner-Fischer
fc202427d5
- IFUPDOWN_IFSTATE_PATH depends on IFUPDOWN
2007-09-02 22:12:07 +00:00
Bernhard Reutner-Fischer
d2bb2d3918
- Generally strip off -l that does not pull in a lib.
...
If l_list is non-empty then add the group flags.
2007-09-02 15:28:30 +00:00
Bernhard Reutner-Fischer
8d91c13df5
- fix bug where we linked again -lm even though it is not needed.
...
For BBOX_LIB_LIST="crypt m" trylink ... with just applet true, we pulled in
libm because in this case we tried to use invalid flags (plain "-l" without
a lib) which of course failed, thus the script thought that -lm was needed.
The fix is not to pass "-l" without a lib if we are about to check if any
or the last remaining lib is really needed.
2007-09-02 14:51:54 +00:00
Denis Vlasenko
7bc5360bba
isrv: use monotonic_sec
...
runsv: do not use clock_gettime if !MONOTONIC_CLOCK
2007-08-31 21:45:52 +00:00
Denis Vlasenko
05241802a7
top: another readability fix
2007-08-29 18:34:26 +00:00
Denis Vlasenko
fc1e9951c6
vsz and rss are unsigned longs (ulong ~= width of void* =>
...
suitable for expressing total RAM in system). We account
for "32 bit in 64 bit" systems by storing kbytes, not bytes
there. Should allow for up to ~2000 Gb RAM on 32 bits.
2007-08-29 18:23:36 +00:00
Denis Vlasenko
8bdba4d011
top: don't wait before final bailout (try top -b -n1).
...
top: make code a bit more readable.
2007-08-29 18:18:08 +00:00
Denis Vlasenko
fb48f6c982
mount: allow (and ignore) -i
2007-08-29 11:49:41 +00:00
Denis Vlasenko
76c476f817
smart_ulltoa5: emit small letters k,m,g... - makes top
...
more readable
2007-08-28 20:04:15 +00:00
Denis Vlasenko
b308d81e92
top: use poll instead of select for waiting on one descriptor
...
smart_ulltoa5: make it more cryptic. -50 bytes.
function old new delta
passwd_main 1095 1103 +8
getNum 557 565 +8
buffer_fill_and_print 73 76 +3
udhcpc_main 2393 2395 +2
mkfs_minix_main 3071 3070 -1
dname_enc 377 373 -4
expmeta 480 472 -8
smart_ulltoa5 334 283 -51
top_main 911 815 -96
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 4/5 up/down: 21/-160) Total: -139 bytes
text data bss dec hex filename
770872 1063 10788 782723 bf183 busybox_old
770732 1063 10788 782583 bf0f7 busybox_unstripped
2007-08-28 19:35:34 +00:00
Denis Vlasenko
7d8de4d55d
mount: don't close fd twice in NFS code
2007-08-28 11:23:23 +00:00
Denis Vlasenko
0f214ecef0
cp: fix recursion check to not waste bytes remembering names of dirs
2007-08-27 17:02:19 +00:00
Denis Vlasenko
8a5fab6333
cp: detect and prevent infinite recursion
2007-08-27 16:51:30 +00:00
Denis Vlasenko
512499c8ca
ps: fix RSS parsing (rss field in /proc/PID/stat is in pages, not bytes)
2007-08-26 18:23:13 +00:00
Denis Vlasenko
ec9781d5e4
add links to vda's pet projects
2007-08-26 16:39:47 +00:00
Denis Vlasenko
614aca61e5
install: shrink a bit, fix two buglets
2007-08-26 14:21:55 +00:00
Denis Vlasenko
6dd333dfe6
Start a small document "why ifupdown is bad"
2007-08-25 22:16:04 +00:00
Denis Vlasenko
30bab71f7b
make copy_file() a bit easier to understand, and smaller
...
function old new delta
copy_file 1565 1447 -118
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-118) Total: -118 bytes
text data bss dec hex filename
770938 1063 10788 782789 bf1c5 busybox_old
770814 1063 10788 782665 bf149 busybox_unstripped
2007-08-25 21:14:55 +00:00
Denis Vlasenko
737d131e5e
support "#!/bin/busybox"-style wrappers. Needed for SELinux.
...
Patch by Yuichi Nakamura <ynakam@hitachisoft.jp>
2007-08-25 18:25:24 +00:00
Bernhard Reutner-Fischer
5222677176
- add Yann's email-addr
2007-08-25 11:16:18 +00:00
Denis Vlasenko
6666ac42a5
cp,mv: simpler arg[cv] handling -> smallish code savings
2007-08-24 21:46:24 +00:00
Bernhard Reutner-Fischer
2062fc4155
- cosmetic html cleanup
2007-08-24 14:32:23 +00:00
Bernhard Reutner-Fischer
6a7b7ce23e
- obfuscate addrs a little bit
2007-08-24 14:30:59 +00:00
Denis Vlasenko
3d829627fb
cp: make POSIX-me-harder mode complain with a bit less insane message
2007-08-24 14:23:57 +00:00
Denis Vlasenko
cab774d6e5
spelling fixes to website
2007-08-24 12:52:04 +00:00
Denis Vlasenko
46fc23b532
Cosmetic fixes to webpage
2007-08-24 11:49:55 +00:00
Denis Vlasenko
30f00a4286
add missed attribution to httpd sendfile support
2007-08-24 11:18:21 +00:00
Denis Vlasenko
66dc9068eb
Start 1.8.x cycle
2007-08-24 11:05:49 +00:00
Denis Vlasenko
e1022a9d6a
news.html: add 1.7.0 announcement
2007-08-24 10:28:55 +00:00
Denis Vlasenko
f87f495e65
Update defconfig; fix comments
2007-08-24 10:27:41 +00:00
Denis Vlasenko
028f2d651c
build system: stop moaning about unset integer CONFIGs.
2007-08-23 14:11:30 +00:00
Denis Vlasenko
6ee023cf62
*: compile fixes for 64-bit build
2007-08-23 10:52:52 +00:00
Denis Vlasenko
de4c5d3d8c
httpd: code shrink of dir indexer example
2007-08-23 10:43:18 +00:00
Denis Vlasenko
c6c2345ca6
login: fixes for PAM build
2007-08-22 18:14:44 +00:00
Denis Vlasenko
5750782fca
httpd: style fix in indexer example
2007-08-22 10:46:44 +00:00
Denis Vlasenko
7642998190
httpd: replace shell-based dir indexer cgi example with C-based one.
2007-08-22 10:38:44 +00:00
Denis Vlasenko
72b6a65b2f
httpd: fix buglet in hex conversion. Remove alloca NULL checks
...
(never happens, app just crashes if stack overflows)
svlogd: cosmetic messages and style fixes
2007-08-21 11:18:25 +00:00
Denis Vlasenko
d6e81c7762
login: optional support for PAM
2007-08-21 10:58:18 +00:00
Denis Vlasenko
18f2a6bc5e
s/communal/common/ part 2
2007-08-21 10:54:59 +00:00
Denis Vlasenko
f7d9e84bc5
s/communal/common/
2007-08-21 10:54:34 +00:00
Denis Vlasenko
e58e8d9444
httpd: add optional support for error pages
...
(by Pierre Metras <genepi@sympatico.ca>)
2007-08-21 10:26:55 +00:00
Denis Vlasenko
45946f8b51
runit/*: get rid of tai[a] time abstraction, it's too bloaty.
...
text data bss dec hex filename
772537 1058 11092 784687 bf92f busybox.t0/busybox
772459 1058 11060 784577 bf8c1 busybox.t1/busybox
772326 1058 11028 784412 bf81c busybox.t2/busybox
772158 1058 10980 784196 bf744 busybox.t3/busybox
771490 1055 10988 783533 bf4ad busybox.t4/busybox
2007-08-20 17:27:40 +00:00
Denis Vlasenko
63db27f9f4
removed stray debugging comments
2007-08-19 21:24:37 +00:00
Denis Vlasenko
3f1123103c
max_option_length[] holds small ints, uint8_t is enough
...
function old new delta
max_option_length 44 11 -33
2007-08-19 21:21:16 +00:00
Denis Vlasenko
d867f32a7a
httpd: explain IP/mask parsing, and simplify it a bit.
...
parse_conf 1258 1247 -11
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-11) Total: -11 bytes
text data bss dec hex filename
772602 1058 11092 784752 bf970 busybox_old
772594 1058 11092 784744 bf968 busybox_unstripped
2007-08-19 21:15:42 +00:00
Denis Vlasenko
921799da4e
httpd: reinstate (much lighter) paranoid connection close code
...
allegedly needed for some versions of IE. +45 bytes.
2007-08-19 19:28:09 +00:00
Denis Vlasenko
37c3316fd7
httpd: get rid of rmt_port and setenv_log
2007-08-19 18:54:22 +00:00
Denis Vlasenko
52e15dc50b
httpd: get rid of sscanf usage. Rename some variables.
2007-08-19 18:53:43 +00:00