summaryrefslogtreecommitdiff
path: root/libbb/setup_environment.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* setup_environment: code shrinkDenis Vlasenko2007-09-101-13/+12
| | | | | | | | | | | | | | | | | | | | run_shell: mark as NORETURN setup_environment, run_shell: add usage comments login: add FIXME :( function old new delta UNSPEC_print 64 66 +2 sulogin_main 509 506 -3 mkfs_minix_main 3070 3067 -3 login_main 1615 1612 -3 su_main 461 448 -13 setup_environment 261 206 -55 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/5 up/down: 2/-77) Total: -75 bytes text data bss dec hex filename 772578 1051 10724 784353 bf7e1 busybox_old 772502 1051 10724 784277 bf795 busybox_unstripped
* remove nearly-duplicate PATHs in several placesDenis Vlasenko2007-06-121-1/+1
| | | | | | | | | | | | | | function old new delta bb_PATH_root_path - 35 +35 varunset 60 58 -2 arith 2042 2033 -9 bb_default_root_login_path 30 - -30 .rodata 128794 128762 -32 which_main 152 117 -35 defpathvar 40 - -40 ------------------------------------------------------------------------------ (add/remove: 1/2 grow/shrink: 0/4 up/down: 35/-148) Total: -113 bytes
* A few more string duplicates found & eliminatedDenis Vlasenko2007-06-121-6/+1
| | | | | | | | # size busybox_old busybox_unstripped text data bss dec hex filename 679693 2700 15632 698025 aa6a9 busybox_old 679523 2700 15632 697855 aa5ff busybox_unstripped
* login: remove setpgrp call (makes it work from shell prompt again).Denis Vlasenko2007-04-121-11/+4
| | | | | login: sanitize stdio descriptors (we are suid, need to be careful!) shrink login and set_environment by ~100 bytes.
* runit/chpst: "change process state" utilityDenis Vlasenko2006-10-031-27/+20
| | | | It's "nice" on steroids - can set uid/gid, mem/cpu limits etc. +3.5k
* Implement optional syslog logging using ordinaryDenis Vlasenko2006-09-061-4/+1
| | | | | | bb_xx_msg calls, and convert networking/* to it. The rest of bbox will be converted gradually.
* just whitespaceTim Riker2006-01-251-2/+2
|
* Revert Tito's patch to zcip. My bad, David Brownell had objected and I missedRob Landley2005-05-031-1/+1
| | | | | it...
* On Tuesday 19 April 2005 21:10, Tito wrote and today added:Rob Landley2005-05-011-1/+1
| | | | | | | | | | | | | > Hi, > this is a first attempt of size optimization for zcip taking into account all > the hints given so far on the list. > I've applied just the more obvious busyboxifications so maybe it could be > optimized more. BTW: I've ripped out a lot of debug code and changed c++ // comments to /* */ as both were rather confusing for a newbie like me. ;-) Sorry to the author for that. I know that this makes mantaining the code easier, but I'm simple minded....
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-2/+2
|
* Vodz, last_patch_86Glenn L McGrath2003-05-261-2/+2
|
* Major coreutils update.Manuel Novoa III2003-03-191-2/+2
|
* Port over the last of the tinylogin appletsEric Andersen2002-06-231-0/+93
-Erik