oweals/busybox.git
15 years agonetworking/interface.c: better readability (by Walter Harms)
Denis Vlasenko [Sat, 22 Nov 2008 18:58:11 +0000 (18:58 -0000)]
networking/interface.c: better readability (by Walter Harms)
mkfs_minix: whitespace fix

15 years agotftpd: can also have TFTP_DEBUG
Denis Vlasenko [Sat, 22 Nov 2008 18:41:41 +0000 (18:41 -0000)]
tftpd: can also have TFTP_DEBUG

15 years agoinsmod: clarify module_name / file_name distinction
Denis Vlasenko [Sat, 22 Nov 2008 18:29:01 +0000 (18:29 -0000)]
insmod: clarify module_name / file_name distinction

15 years agoash: NTO2 needs #if ENABLE_ASH_BASH_COMPAT
Denis Vlasenko [Sat, 22 Nov 2008 01:32:40 +0000 (01:32 -0000)]
ash: NTO2 needs #if ENABLE_ASH_BASH_COMPAT

15 years agoash: fix miscalculation of memory needed for eval tree
Denis Vlasenko [Fri, 21 Nov 2008 10:36:36 +0000 (10:36 -0000)]
ash: fix miscalculation of memory needed for eval tree
 found by Timo Teras (timo.teras AT iki.fi)

15 years agodpkg: better and shorter code to compare versions
Denis Vlasenko [Thu, 20 Nov 2008 23:41:56 +0000 (23:41 -0000)]
dpkg: better and shorter code to compare versions
 (taken from "official" dpkg).
 By Eugene T. Bordenkircher (eugebo AT gmail.com)

function                                             old     new   delta
order                                                  -      48     +48
test_version                                         273     276      +3
version_compare_part                                 396     187    -209
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 1/1 up/down: 51/-209)          Total: -158 bytes

15 years agoinotifyd: exit if x event happened for all files
Denis Vlasenko [Thu, 20 Nov 2008 01:24:39 +0000 (01:24 -0000)]
inotifyd: exit if x event happened for all files
 fix FIONREAD parameter type
 fix default mask code
 shrink help text

function                                             old     new   delta
inotifyd_main                                        497     506      +9
packed_usage                                       25446   25431     -15
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/1 up/down: 9/-15)              Total: -6 bytes

15 years agovi: fix several instances of major goof: when text grows, text[]
Denis Vlasenko [Wed, 19 Nov 2008 13:25:14 +0000 (13:25 -0000)]
vi: fix several instances of major goof: when text grows, text[]
 might get reallocated! We were keeping around pointers to old place...

function                                             old     new   delta
colon                                               3017    3037     +20
char_insert                                          336     354     +18
stupid_insert                                         18      24      +6
string_insert                                         89      94      +5
do_cmd                                              4461    4465      +4
file_insert                                          328     329      +1
text_hole_make                                       134     120     -14
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 6/1 up/down: 54/-14)             Total: 40 bytes

15 years agoklogd: fix small buglet in previous commit
Denis Vlasenko [Wed, 19 Nov 2008 09:35:00 +0000 (09:35 -0000)]
klogd: fix small buglet in previous commit

15 years agoklogctl: fix a problem where we don't terminate read data with '\0'
Denis Vlasenko [Wed, 19 Nov 2008 07:59:49 +0000 (07:59 -0000)]
klogctl: fix a problem where we don't terminate read data with '\0'
 and then misinterpret it. Code shrink while at it.

function                                             old     new   delta
klogd_main                                           404     362     -42

15 years agoinotify: add x, o, and u events
Denis Vlasenko [Mon, 17 Nov 2008 22:19:18 +0000 (22:19 -0000)]
inotify: add x, o, and u events

15 years agonslookup: glibc + IPv6 address of DNS server don't mix (yet)
Denis Vlasenko [Mon, 17 Nov 2008 15:36:36 +0000 (15:36 -0000)]
nslookup: glibc + IPv6 address of DNS server don't mix (yet)

15 years agoid: do not abort build if we use internal password/group functions.
Denis Vlasenko [Mon, 17 Nov 2008 00:12:17 +0000 (00:12 -0000)]
id: do not abort build if we use internal password/group functions.

15 years agolibbb: replace some memmove's with memcpy's (Ron (ron AT debian.org))
Denis Vlasenko [Sun, 16 Nov 2008 22:21:23 +0000 (22:21 -0000)]
libbb: replace some memmove's with memcpy's (Ron (ron AT debian.org))

bb_dump_dump                                        2674    2611     -63

15 years agonslookup: allow usage of IPv6 addresses or hostnames
Denis Vlasenko [Sun, 16 Nov 2008 19:02:26 +0000 (19:02 -0000)]
nslookup: allow usage of IPv6 addresses or hostnames
 for DNS server name; allow for port specification.
 Tested to work: "nslookup google.com [::1]:5353"

15 years agoid: abort the build of uclibc is less than 0.9.30
Denis Vlasenko [Sun, 16 Nov 2008 15:03:11 +0000 (15:03 -0000)]
id: abort the build of uclibc is less than 0.9.30

15 years agoman: better check for duplicated MANPATH. Also -10 bytes.
Denis Vlasenko [Sun, 16 Nov 2008 04:05:13 +0000 (04:05 -0000)]
man: better check for duplicated MANPATH. Also -10 bytes.

15 years agoinotifyd: fix "inotifyd with no params" case
Denis Vlasenko [Fri, 14 Nov 2008 22:14:12 +0000 (22:14 -0000)]
inotifyd: fix "inotifyd with no params" case

15 years agoinotify: document waiting behavior
Denis Vlasenko [Fri, 14 Nov 2008 21:52:16 +0000 (21:52 -0000)]
inotify: document waiting behavior

15 years agoinotify: fix buffer overflow and "unreaped zombies" problem
Denis Vlasenko [Fri, 14 Nov 2008 21:34:13 +0000 (21:34 -0000)]
inotify: fix buffer overflow and "unreaped zombies" problem

15 years agoifupdown.c: allow options to udhcpc to be configurable from .config
Wade Berrier [Fri, 14 Nov 2008 21:18:45 +0000 (21:18 -0000)]
ifupdown.c: allow options to udhcpc to be configurable from .config

This allows more control over options that are passed to udhcpc
that are not configurable via /etc/network/interfaces.

Example: rather than quit when an initial lease isn't found,
you could use "--background" so that udhcpc keeps running and
continually attempts to get an ip.  That way, when you plug in
the ethernet after powering on the device, you'll still get an ip.

15 years agostat: fix compile breakage (get_f_fsid() is used even if !FEATURE_STAT_FORMAT)
Denis Vlasenko [Thu, 13 Nov 2008 21:53:32 +0000 (21:53 -0000)]
stat: fix compile breakage (get_f_fsid() is used even if !FEATURE_STAT_FORMAT)

15 years agolibbb: sha_crypt -123 bytes
Denis Vlasenko [Thu, 13 Nov 2008 13:25:18 +0000 (13:25 -0000)]
libbb: sha_crypt -123 bytes

15 years agolibbb/pw_encrypt_sha: -28 bytes
Denis Vlasenko [Thu, 13 Nov 2008 12:55:11 +0000 (12:55 -0000)]
libbb/pw_encrypt_sha: -28 bytes

15 years agolibbb: remove glibc-style bloat from sha_crypt. -1130 bytes.
Denis Vlasenko [Thu, 13 Nov 2008 12:23:46 +0000 (12:23 -0000)]
libbb: remove glibc-style bloat from sha_crypt. -1130 bytes.
cryptpw: add more difficult test vectors.

15 years agoarp: stop using globals
Denis Vlasenko [Thu, 13 Nov 2008 00:05:17 +0000 (00:05 -0000)]
arp: stop using globals

function                                             old     new   delta
hw_set                                                 1       -      -1
arp_main                                            1559    1558      -1
sockfd                                                 8       4      -4
hw                                                     4       -      -4
device                                                 4       -      -4
ap                                                     4       -      -4
packed_usage                                       25402   25393      -9
------------------------------------------------------------------------------
(add/remove: 0/4 grow/shrink: 0/3 up/down: 0/-27)             Total: -27 bytes

15 years agogzip: fix gzip -dc case caused by using stale getopt state
Denis Vlasenko [Wed, 12 Nov 2008 22:06:46 +0000 (22:06 -0000)]
gzip: fix gzip -dc case caused by using stale getopt state

15 years agoseq: shrink by 10 bytes
Denis Vlasenko [Wed, 12 Nov 2008 21:37:19 +0000 (21:37 -0000)]
seq: shrink by 10 bytes

15 years agocorrect help texts
Denis Vlasenko [Wed, 12 Nov 2008 21:18:58 +0000 (21:18 -0000)]
correct help texts

15 years agotelnetd: fix compile problem for non-standalone telnetd
Denis Vlasenko [Wed, 12 Nov 2008 21:14:50 +0000 (21:14 -0000)]
telnetd: fix compile problem for non-standalone telnetd

15 years ago- add support for seq -s <separator>
Bernhard Reutner-Fischer [Wed, 12 Nov 2008 13:22:24 +0000 (13:22 -0000)]
- add support for seq -s <separator>

15 years ago- add seq -w support (Natanael Copa)
Bernhard Reutner-Fischer [Wed, 12 Nov 2008 12:59:56 +0000 (12:59 -0000)]
- add seq -w support (Natanael Copa)

15 years agomodprobe-small: fix failure to load when no arguments are given
Denis Vlasenko [Wed, 12 Nov 2008 00:09:58 +0000 (00:09 -0000)]
modprobe-small: fix failure to load when no arguments are given
modutils-24: fix bad interaction of xzalloc with xrealloc_vector; style fixes

15 years agocksum, printenv: report errors via exitcode
Denis Vlasenko [Tue, 11 Nov 2008 22:59:41 +0000 (22:59 -0000)]
cksum, printenv: report errors via exitcode

function                                             old     new   delta
cksum_main                                           296     315     +19
printenv_main                                         74      86     +12

15 years agohead: report file open errors with exitcode 1 (was happily returning 0)
Denis Vlasenko [Tue, 11 Nov 2008 22:43:10 +0000 (22:43 -0000)]
head: report file open errors with exitcode 1 (was happily returning 0)

head_main                                            409     417      +8

15 years agoexpr: on error, exit with exitcode 2
Denis Vlasenko [Tue, 11 Nov 2008 22:36:58 +0000 (22:36 -0000)]
expr: on error, exit with exitcode 2

expr_main                                            101     110      +9

15 years agostat: make stat -f show filesystem "ID:" as coreutils does
Denis Vlasenko [Tue, 11 Nov 2008 22:25:34 +0000 (22:25 -0000)]
stat: make stat -f show filesystem "ID:" as coreutils does

print_statfs                                         358     370     +12

15 years agoenv: support -uVAR=VAL
Denis Vlasenko [Tue, 11 Nov 2008 21:32:39 +0000 (21:32 -0000)]
env: support -uVAR=VAL

function                                             old     new   delta
env_main                                             245     233     -12

15 years agodu: fix "du /dir /dir" case
Denis Vlasenko [Tue, 11 Nov 2008 21:15:56 +0000 (21:15 -0000)]
du: fix "du /dir /dir" case

reset_ino_dev_hashtable                                -      84     +84
du                                                   388     376     -12
du_main                                              327     301     -26
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 0/2 up/down: 84/-38)             Total: 46 bytes

15 years agorunsvdir: straighten some convoluted code. logic is unchanged
Denis Vlasenko [Tue, 11 Nov 2008 09:33:24 +0000 (09:33 -0000)]
runsvdir: straighten some convoluted code. logic is unchanged

15 years agotelnetd: correctly output 0xff char. ~100 bytes.
Denis Vlasenko [Tue, 11 Nov 2008 02:56:39 +0000 (02:56 -0000)]
telnetd: correctly output 0xff char. ~100 bytes.
telnet: fix some atrocious names and style. no code changes

15 years agolibbb: disable a second md5 implementation which managed to creep in :)
Denis Vlasenko [Tue, 11 Nov 2008 01:38:04 +0000 (01:38 -0000)]
libbb: disable a second md5 implementation which managed to creep in :)

function                                             old     new   delta
sha512_end                                           239     237      -2
sha256_end                                           162     160      -2
sha1_end                                             191     189      -2
md5_end                                              168     166      -2
__md5__magic                                           4       -      -4
md5_crypt                                            627     621      -6
static.S                                              16       -     -16
__md5_Init                                            42       -     -42
static.P                                              64       -     -64
__md5_Final                                          131       -    -131
__md5_Update                                         153       -    -153
static.C                                             268      12    -256
__md5_Transform                                      293       -    -293
------------------------------------------------------------------------------
(add/remove: 0/7 grow/shrink: 0/6 up/down: 0/-973)           Total: -973 bytes

15 years agowebpage: announce 1.13.0 and 1.12.2
Denis Vlasenko [Mon, 10 Nov 2008 22:23:20 +0000 (22:23 -0000)]
webpage: announce 1.13.0 and 1.12.2

15 years agolibbb: add optionl support for SHA256/512 encrypted passwords
Denis Vlasenko [Mon, 10 Nov 2008 18:52:35 +0000 (18:52 -0000)]
libbb: add optionl support for SHA256/512 encrypted passwords

function                                             old     new   delta
sha_crypt                                              -    2423   +2423
cryptpw_main                                         128     183     +55
to64                                                   -      29     +29
pw_encrypt                                           974    1000     +26
str_rounds                                             -      11     +11
login_main                                          1532    1541      +9
packed_usage                                       25215   25200     -15
__md5_to64                                            29       -     -29
------------------------------------------------------------------------------
(add/remove: 3/1 grow/shrink: 3/1 up/down: 2553/-44)         Total: 2509 bytes

15 years agosha256,sha512: new applets. +4.9kb
Denis Vlasenko [Mon, 10 Nov 2008 13:32:50 +0000 (13:32 -0000)]
sha256,sha512: new applets. +4.9kb
 we will require sha256/512 code for new $5$ and $6$ style
 password hashes anyway, they are showing up already
 in people's /etc/passwd...

15 years agoTypo fixes
Denis Vlasenko [Mon, 10 Nov 2008 10:47:47 +0000 (10:47 -0000)]
Typo fixes

15 years agolibbb: constify some data in sha1. gcc is clever enough to do it itself,
Denis Vlasenko [Mon, 10 Nov 2008 09:51:15 +0000 (09:51 -0000)]
libbb: constify some data in sha1. gcc is clever enough to do it itself,
 thus no actual code changes. Also some pointless beautifuing crept in.

15 years agobuild system: reorder less' options in config so that
Denis Vlasenko [Mon, 10 Nov 2008 09:33:42 +0000 (09:33 -0000)]
build system: reorder less' options in config so that
 they are properly indented

15 years agoBump version to 1.14.0.svn
Denis Vlasenko [Sun, 9 Nov 2008 17:32:46 +0000 (17:32 -0000)]
Bump version to 1.14.0.svn

15 years agoBump version to 1.13.0
Denis Vlasenko [Sun, 9 Nov 2008 17:28:41 +0000 (17:28 -0000)]
Bump version to 1.13.0

15 years agoupdate "maximum nommu" config
Denis Vlasenko [Sun, 9 Nov 2008 16:12:38 +0000 (16:12 -0000)]
update "maximum nommu" config

15 years agoupdate random config tester
Denis Vlasenko [Sun, 9 Nov 2008 16:08:31 +0000 (16:08 -0000)]
update random config tester

15 years agorandomconfig fixes
Denis Vlasenko [Sun, 9 Nov 2008 02:23:42 +0000 (02:23 -0000)]
randomconfig fixes

15 years agotelnetd: set SO_KEEPALIVE, users report it's useful. +20 bytes.
Denis Vlasenko [Sun, 9 Nov 2008 00:44:40 +0000 (00:44 -0000)]
telnetd: set SO_KEEPALIVE, users report it's useful. +20 bytes.

15 years ago*: a bit of code shrink
Denis Vlasenko [Sun, 9 Nov 2008 00:15:11 +0000 (00:15 -0000)]
*: a bit of code shrink

function                                             old     new   delta
stop_handler                                          41      38      -3
sulogin_main                                         508     504      -4
got_cont                                               4       -      -4
cont_handler                                          11       -     -11
startservice                                         309     297     -12
processorstart                                       423     409     -14
tcpudpsvd_main                                      1861    1843     -18
------------------------------------------------------------------------------
(add/remove: 0/2 grow/shrink: 0/5 up/down: 0/-66)             Total: -66 bytes

15 years agomove documentation to docs/
Denis Vlasenko [Sat, 8 Nov 2008 22:31:19 +0000 (22:31 -0000)]
move documentation to docs/

15 years agokbd_mode: s/ioctl/xioctl. also saves 12 bytes
Denis Vlasenko [Sat, 8 Nov 2008 21:42:14 +0000 (21:42 -0000)]
kbd_mode: s/ioctl/xioctl. also saves 12 bytes

15 years agokbd_mode: support -C TTY option
Denis Vlasenko [Sat, 8 Nov 2008 21:39:06 +0000 (21:39 -0000)]
kbd_mode: support -C TTY option

function                                             old     new   delta
packed_usage                                       25334   25361     +27
kbd_mode_main                                        146     173     +27

15 years agobuild system: remove '-Wl,' when we pass flags to ld.
Denis Vlasenko [Sat, 8 Nov 2008 20:36:32 +0000 (20:36 -0000)]
build system: remove '-Wl,' when we pass flags to ld.

15 years agolibbb: add a TODO to support new SHA-based encrypted passwords
Denis Vlasenko [Fri, 7 Nov 2008 13:36:46 +0000 (13:36 -0000)]
libbb: add a TODO to support new SHA-based encrypted passwords

15 years agologin: fix /etc/nologin handling (should prohibit non-root LOGINS,
Denis Vlasenko [Fri, 7 Nov 2008 12:59:31 +0000 (12:59 -0000)]
login: fix /etc/nologin handling (should prohibit non-root LOGINS,
 not running login by non-root). minor code shrink.

function                                             old     new   delta
login_main                                          1669    1602     -67

15 years agotelnetd: handle emacs M-DEL and IAC-NOP (putty keepalive)
Denis Vlasenko [Fri, 7 Nov 2008 01:58:21 +0000 (01:58 -0000)]
telnetd: handle emacs M-DEL and IAC-NOP (putty keepalive)
 by Jim Cathey (jcathey AT ciena.com)

function                                             old     new   delta
telnetd_main                                        1314    1364     +50

15 years agodefconfig: explain what we aim it to be
Denis Vlasenko [Fri, 7 Nov 2008 01:32:11 +0000 (01:32 -0000)]
defconfig: explain what we aim it to be

15 years agologin: fix /etc/nologin support
Denis Vlasenko [Fri, 7 Nov 2008 01:12:16 +0000 (01:12 -0000)]
login: fix /etc/nologin support
build system: fix config warnings ("Overlong line")

function                                             old     new   delta
login_main                                          1735    1774     +39
__libc_tcdrain                                         -      23     +23
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 1/0 up/down: 62/0)               Total: 62 bytes

15 years agoadd mailutils/*
Denis Vlasenko [Thu, 6 Nov 2008 23:42:42 +0000 (23:42 -0000)]
add mailutils/*

15 years agototal overhaul of mail applets. again. Vladimir as usual.
Denis Vlasenko [Thu, 6 Nov 2008 23:41:38 +0000 (23:41 -0000)]
total overhaul of mail applets. again. Vladimir as usual.

15 years agocorrection in comment
Denis Vlasenko [Thu, 6 Nov 2008 23:28:42 +0000 (23:28 -0000)]
correction in comment

15 years agosv: make default service dir configurable (Vladimir wants it)
Denis Vlasenko [Thu, 6 Nov 2008 23:07:42 +0000 (23:07 -0000)]
sv: make default service dir configurable (Vladimir wants it)

15 years agorunsvdir: alternative methon of supporting runsvdir-as-init. +66 bytes.
Denis Vlasenko [Thu, 6 Nov 2008 22:39:57 +0000 (22:39 -0000)]
runsvdir: alternative methon of supporting runsvdir-as-init. +66 bytes.
*: s/int/pid_t where appropriate

15 years agobasename: fix error code. again. deja vu feeling...
Denis Vlasenko [Thu, 6 Nov 2008 15:13:33 +0000 (15:13 -0000)]
basename: fix error code. again. deja vu feeling...

15 years ago*: remove superfluous casts. no code changes
Denis Vlasenko [Thu, 6 Nov 2008 02:32:31 +0000 (02:32 -0000)]
*: remove superfluous casts. no code changes

15 years agobuild system: tidying up CONFIG_xxx names (suggested by Rob)
Denis Vlasenko [Thu, 6 Nov 2008 00:49:59 +0000 (00:49 -0000)]
build system: tidying up CONFIG_xxx names (suggested by Rob)

15 years ago*: code shrink by adding a wrapper around very common tcsetattr(0, TCSANOW, xx) op
Denis Vlasenko [Wed, 5 Nov 2008 13:20:58 +0000 (13:20 -0000)]
*: code shrink by adding a wrapper around very common tcsetattr(0, TCSANOW, xx) op

function                                             old     new   delta
tcsetattr_stdin_TCSANOW                                -      14     +14
set_sane_term                                        116     113      -3
top_main                                            1277    1273      -4
make_new_session                                     421     415      -6
rawmode                                              133     126      -7
reset_term                                            18      10      -8
die                                                   43      35      -8
cookmode                                              62      54      -8
vlock_main                                           425     415     -10
read_line_input                                     3165    3155     -10
bb_askpass                                           357     347     -10
fsck_minix_main                                     3079    3065     -14
getty_main                                          2375    2332     -43
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 0/12 up/down: 14/-131)         Total: -117 bytes

15 years agoadd serial HOWTO doc
Denis Vlasenko [Wed, 5 Nov 2008 12:19:39 +0000 (12:19 -0000)]
add serial HOWTO doc

15 years agoinetd: fix a case when we have zero services
Denis Vlasenko [Wed, 5 Nov 2008 11:36:22 +0000 (11:36 -0000)]
inetd: fix a case when we have zero services

15 years ago- commentary typo fix (tito)
Bernhard Reutner-Fischer [Wed, 5 Nov 2008 08:18:16 +0000 (08:18 -0000)]
- commentary typo fix (tito)

15 years ago- fix typo in print_user() (tito)
Bernhard Reutner-Fischer [Wed, 5 Nov 2008 08:15:13 +0000 (08:15 -0000)]
- fix typo in print_user() (tito)

15 years agonslookup: tiny shrink (-5 bytes); add comment about res_init
Denis Vlasenko [Tue, 4 Nov 2008 21:44:28 +0000 (21:44 -0000)]
nslookup: tiny shrink (-5 bytes); add comment about res_init
inet_common: cosmetics, no code changes

15 years agoless: fix pasting into search line ('/' cmd) -
Denis Vlasenko [Sun, 2 Nov 2008 00:55:41 +0000 (00:55 -0000)]
less: fix pasting into search line ('/' cmd) -
 it was mishandled because pasting "types" very fast
 and read_key eats many chars. +30 bytes.

15 years agolineedit: fix bug 5824: Since version 23530 with lineedit.c,
Denis Vlasenko [Sun, 2 Nov 2008 00:41:05 +0000 (00:41 -0000)]
lineedit: fix bug 5824: Since version 23530 with lineedit.c,
 "fdisk" & "ed" can't work any more

15 years agoadd comment, no code changes
Denis Vlasenko [Sat, 1 Nov 2008 13:40:32 +0000 (13:40 -0000)]
add comment, no code changes

15 years agogunzip: restore mtime. approx +80 bytes of code
Denis Vlasenko [Sat, 1 Nov 2008 12:54:56 +0000 (12:54 -0000)]
gunzip: restore mtime. approx +80 bytes of code
rpm: make code more robust
lsmod: small code shrink

15 years agotftpd: show help if stdin is not a socket
Denis Vlasenko [Sat, 1 Nov 2008 00:22:24 +0000 (00:22 -0000)]
tftpd: show help if stdin is not a socket

15 years agoiplink: accept shorthands for "address" keyword here:
Denis Vlasenko [Sat, 1 Nov 2008 00:10:51 +0000 (00:10 -0000)]
iplink: accept shorthands for "address" keyword here:
 "ip link set address 00:11:22:33:44:55"
ifupdown: use "addr" instead of "address"

15 years agoless: fix newly-introduced case of less spinning forever
Denis Vlasenko [Fri, 31 Oct 2008 03:04:55 +0000 (03:04 -0000)]
less: fix newly-introduced case of less spinning forever
 on pty's closed etc

15 years agorunsvdir: if we have PID == 1, SIGHUP should make small pause,
Denis Vlasenko [Fri, 31 Oct 2008 02:37:18 +0000 (02:37 -0000)]
runsvdir: if we have PID == 1, SIGHUP should make small pause,
not 1 minute one

15 years agomodprobe: fix a segfault when modprobe is called with no arguments at all
Denis Vlasenko [Fri, 31 Oct 2008 02:04:28 +0000 (02:04 -0000)]
modprobe: fix a segfault when modprobe is called with no arguments at all

function                                             old     new   delta
modprobe_main                                        559     535     -24

15 years agokill[all[5]]: accept -s SIG too. kill_main: +29 bytes
Denis Vlasenko [Fri, 31 Oct 2008 00:30:48 +0000 (00:30 -0000)]
kill[all[5]]: accept -s SIG too. kill_main: +29 bytes
 by Steve Bennett (steveb AT workware.net.au)

15 years agosetup_environment: cd $HOME regardless of clear_env value.
Denis Vlasenko [Thu, 30 Oct 2008 23:58:19 +0000 (23:58 -0000)]
setup_environment: cd $HOME regardless of clear_env value.

15 years agotftpd: be less cryptic in help text
Denis Vlasenko [Thu, 30 Oct 2008 23:42:37 +0000 (23:42 -0000)]
tftpd: be less cryptic in help text

15 years agodc: support for bases 2 and 8, by Nate Case (ncase AT xes-inc.com)
Denis Vlasenko [Thu, 30 Oct 2008 23:25:50 +0000 (23:25 -0000)]
dc: support for bases 2 and 8, by Nate Case (ncase AT xes-inc.com)

function                                             old     new   delta
print_base                                            87     176     +89
set_output_base                                       81      95     +14
static.bases                                           -       5      +5
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 2/0 up/down: 108/0)             Total: 108 bytes

15 years ago- minor shrinkage (~-60)
Bernhard Reutner-Fischer [Thu, 30 Oct 2008 17:42:49 +0000 (17:42 -0000)]
- minor shrinkage (~-60)

15 years ago- support ip link set eth1 address 00:11:22:33:44:55
Bernhard Reutner-Fischer [Thu, 30 Oct 2008 16:45:55 +0000 (16:45 -0000)]
- support ip link set eth1 address 00:11:22:33:44:55
  and not only the shorthand "addr". Thanks to ncopa for noticing

15 years agorandomconfig fixes
Denis Vlasenko [Wed, 29 Oct 2008 13:16:28 +0000 (13:16 -0000)]
randomconfig fixes

15 years agoanother small defconfig update
Denis Vlasenko [Wed, 29 Oct 2008 12:25:39 +0000 (12:25 -0000)]
another small defconfig update

15 years agoupdate defconfig
Denis Vlasenko [Wed, 29 Oct 2008 12:18:10 +0000 (12:18 -0000)]
update defconfig

15 years agorunsvdir: kill another global
Denis Vlasenko [Wed, 29 Oct 2008 12:07:34 +0000 (12:07 -0000)]
runsvdir: kill another global

15 years agorunsvdir: fx a recent vda's buglet (was pausing even if not signaled).
Denis Vlasenko [Wed, 29 Oct 2008 12:04:45 +0000 (12:04 -0000)]
runsvdir: fx a recent vda's buglet (was pausing even if not signaled).
 stop spawning children immediately if signaled. Kill one global.

15 years agoid: better wording in comments, no code changes
Denis Vlasenko [Wed, 29 Oct 2008 10:30:54 +0000 (10:30 -0000)]
id: better wording in comments, no code changes

15 years agorunsvdir: shrink (by Vladimir)
Denis Vlasenko [Wed, 29 Oct 2008 03:45:33 +0000 (03:45 -0000)]
runsvdir: shrink (by Vladimir)