aboutsummaryrefslogtreecommitdiff
path: root/runit/chpst.c
Commit message (Collapse)AuthorAgeFilesLines
* add -fvisibility=hidden to CC flags, mark XXX_main functionsGravatar Denis Vlasenko2007-10-111-1/+1
| | | | | EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
* chpst: fix whitespace damageGravatar Denis Vlasenko2007-10-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svlogd: fix bug (two different "line" variables); stop using data/bss function old new delta processorstop 419 432 +13 rotate 514 525 +11 buffer_pwrite 493 499 +6 sig_term_handler 68 70 +2 sig_hangup_handler 34 36 +2 sig_alarm_handler 34 36 +2 rmoldest 305 307 +2 processorstart 401 403 +2 logdir_close 188 190 +2 tmaxflag 1 - -1 rotateasap 1 - -1 repl 1 - -1 reopenasap 1 - -1 linecomplete 1 - -1 exitasap 1 - -1 wstat 4 - -4 verbose 9 5 -4 replace 4 - -4 nearest_rotate 4 - -4 linemax 4 - -4 linelen 4 - -4 line 4 - -4 fndir 4 - -4 fl_flag_0 4 - -4 fdwdir 4 - -4 dirn 4 - -4 dir 4 - -4 blocked_sigset 4 - -4 sig_child_handler 248 239 -9 logdirs_reopen 1263 1240 -23 buffer_pread 532 473 -59 svlogd_main 1466 1367 -99 ------------------------------------------------------------------------------ (add/remove: 0/18 grow/shrink: 9/5 up/down: 42/-248) Total: -206 bytes text data bss dec hex filename 770916 989 9496 781401 bec59 busybox_old 770768 980 9448 781196 beb8c busybox_unstripped
* chpst: stop using data/bssGravatar Denis Vlasenko2007-10-051-46/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta chpst_main 1066 1089 +23 set_user 4 - -4 root 4 - -4 nicelvl 4 - -4 limitt 4 - -4 limits 196 192 -4 limitr 4 - -4 limitp 4 - -4 limito 4 - -4 limitl 4 - -4 limitf 4 - -4 limitd 4 - -4 limitc 4 - -4 limita 4 - -4 env_user 4 - -4 env_dir 4 - -4 ------------------------------------------------------------------------------ (add/remove: 0/14 grow/shrink: 1/1 up/down: 23/-60) Total: -37 bytes text data bss dec hex filename 770892 1029 9520 781441 bec81 busybox_old 770916 989 9496 781401 bec59 busybox_unstripped
* don't pass argc in getopt32, it's superfluousGravatar Denis Vlasenko2007-08-181-2/+2
| | | | | | | | (add/remove: 0/0 grow/shrink: 12/131 up/down: 91/-727) Total: -636 bytes text data bss dec hex filename 773469 1058 11092 785619 bfcd3 busybox_old 772644 1058 11092 784794 bf99a busybox_unstripped
* usage.c: remove reference to busybox.hGravatar Denis Vlasenko2007-05-261-1/+1
| | | | | *: s/include "busybox.h"/include "libbb.h"
* EXEC_PREFER_APPLETS support by Gabriel L. Somlo <somlo@cmu.edu>Gravatar Denis Vlasenko2007-02-061-5/+5
|
* suppress warnings about easch <applet>_main() havingGravatar Denis Vlasenko2007-02-031-0/+1
| | | | no preceding prototype
* Trailing whitespace removal over entire treeGravatar Denis Vlasenko2007-01-111-1/+1
|
* bb_xget[pw/gr]nam were horribly misnamed - fixed.Gravatar Denis Vlasenko2006-12-281-2/+2
| | | | | | | uidgid_get -> get_uidgid, add additional param (numeric_ok). Make chown use it. chown: fix "chown user: ...." install: fix incorrect use of bb_xget[pw/gr]nam
* tar: sanitize option handlingGravatar Denis Vlasenko2006-11-241-1/+1
|
* svlogd: new applet. +9k. Still too big, but it was 12k yesterday.Gravatar Denis Vlasenko2006-11-161-17/+30
|
* chpst: add overlooked copyright statementGravatar Denis Vlasenko2006-10-201-0/+29
|
* fixes from Vladimir Dronnikov <dronnikov@gmail.ru>Gravatar Denis Vlasenko2006-10-101-2/+2
|
* attempt to regularize atoi mess.Gravatar Denis Vlasenko2006-10-081-21/+21
|
* dnsd fix; option_mask32 added. dnsd needs more love.Gravatar Denis Vlasenko2006-10-061-37/+36
|
* chpst: fix vda's silly mistakesGravatar Denis Vlasenko2006-10-061-1/+2
| | | | Patch by Vladimir Dronnikov <dronnikov@gmail.ru>
* httpd: add -u user[:grp] supportGravatar Denis Vlasenko2006-10-051-30/+16
|
* bb_applet_name -> applet_nameGravatar Denis Vlasenko2006-10-031-4/+4
|
* getopt_ulflags -> getopt32.Gravatar Denis Vlasenko2006-10-031-2/+2
| | | | | | | | It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit.
* Yeah, yeah... I forgot about 'svn add'... fixing thatGravatar Denis Vlasenko2006-10-031-0/+345