aboutsummaryrefslogtreecommitdiff
path: root/libbb (follow)
Commit message (Collapse)AuthorAgeFilesLines
* - fold recurse, depthFirst and dereference params into one param flags.Bernhard Reutner-Fischer2007-03-291-21/+20
| | | | Minor size improvement (-16b for size, -24b according to bloat-o-meter).
* ps: work around libc bug: printf("%.*s\n", MAX_INT, buffer)Denis Vlasenko2007-03-281-3/+3
|
* pidfile creation mode set to 0666 (umask affects it as usual)Denis Vlasenko2007-03-271-1/+1
|
* forgotten svn add...Denis Vlasenko2007-03-271-0/+29
|
* make pidfile writing configurable.Denis Vlasenko2007-03-272-6/+7
| | | | [ui]toa_to_buf: change API. No users yet.
* remove_file: cosmetic code improvement, a few bytes savedDenis Vlasenko2007-03-261-34/+21
|
* zcip: make it work on NOMMU (+ improve NOMMU support machinery)Denis Vlasenko2007-03-262-6/+16
| | | | fsck: fix bad English in a comment
* Attempt to get more applets compile for NOMMU.Denis Vlasenko2007-03-261-4/+6
| | | | | | | TODO_config_nommu documents what I managed to compile so far (yay! msh works! cool). inetd, telnetd, httpd still do not compile. TODO Also make fork(), daemon() produce warnings on compile stage (in addition to erros on link stage).
* libbb: rework NOMMU helper API so that it makes more senseDenis Vlasenko2007-03-262-79/+133
| | | | and easier to use. Doesn't compile - need two more commits.
* add NOMMU fixme's; move move_fd from runit_lib to libbb; nuke fd_copyDenis Vlasenko2007-03-251-0/+10
|
* random style fixes (extra spaces deleted)Denis Vlasenko2007-03-242-3/+3
|
* NOMMU re-exec trick shuld not depend on existence of "don't daemonize"Denis Vlasenko2007-03-241-14/+9
| | | | | option for every affected applet (and dnsd, for example, don't have one). Thus rework re-exec support to not require it. Code got smaller too.
* applets.c, xfunc.c: style cleanupDenis Vlasenko2007-03-241-8/+8
|
* fix accumulated whitespace and indentation damageDenis Vlasenko2007-03-202-3/+3
|
* fix inadvertently leaked PWD_BUFFER_SIZEDenis Vlasenko2007-03-181-1/+1
|
* gzip: Improve ptr_to_globals trick, allowing gccDenis Vlasenko2007-03-151-1/+2
| | | | to optimize better. -480 bytes.
* copy_file: comment out one condition which is always false.Denis Vlasenko2007-03-151-28/+50
| | | | | | | Add comment explaining POSIX rules for cp - and why these rules are dangerous. Provide conditionally compiled code for both POSIX and safe behaviors, select safe for now. Code shrunk by ~80 bytes.
* fix TODO: getopt32 should reset optind to 1 itselfDenis Vlasenko2007-03-151-2/+6
|
* modify ptr_to_globals trick so that we do not violateDenis Vlasenko2007-03-151-1/+2
| | | | type safety (well, sort of ;))
* swapon: reinstate hole check but reduce it to warningDenis Vlasenko2007-03-141-1/+0
| | | | inode_hash: remove unused variable
* stop using big static buffer for inode hashDenis Vlasenko2007-03-142-42/+44
|
* stop using (yet another) static bufferDenis Vlasenko2007-03-141-3/+1
|
* gzip: reduce global data footprint, part 3Denis Vlasenko2007-03-141-1/+1
|
* gzip: reduce global data footprint, part 2Denis Vlasenko2007-03-141-0/+2
|
* Do not fail password check if shadow password does not exist -Denis Vlasenko2007-03-132-16/+24
| | | | | | | | | | | | | | | | | | | | | | fall back to ordinary one Reduced usage of functions returning datain static buffers. (mostly passwd/group/shadow related): function old new delta correct_password 143 193 +50 sulogin_main 490 533 +43 adduser_main 732 774 +42 passwd_main 1875 1915 +40 addgroup_main 330 365 +35 bb_internal_getspnam 38 - -38 bb_internal_fgetpwent 38 - -38 bb_internal_fgetgrent 38 - -38 static.resultbuf 168 88 -80 static.buffer 1872 1104 -768 ------------------------------------------------------------------------------ (add/remove: 0/3 grow/shrink: 5/2 up/down: 210/-962) Total: -752 bytes
* introduce and use setfscreatecon_or_dieDenis Vlasenko2007-03-122-1/+11
| | | | | (patch by Yuichi Nakamura <ynakam@hitachisoft.jp>) runcon: *yet another* fix for vda's brainfart :(
* next portion of selinux updates: chcon, runcon. FromDenis Vlasenko2007-03-112-0/+31
| | | | | Yuichi Nakamura <himainu-ynakam@miomio.jp> KaiGai Kohei <busybox@kaigai.gr.jp>
* selinux support by Yuichi Nakamura <ynakam@hitachisoft.jp> (HitachiSoft)Denis Vlasenko2007-03-101-0/+40
|
* clean up accumulated whitespace damageDenis Vlasenko2007-03-074-6/+6
|
* ifupdown: code to deconstruct the state_list gracefullyDenis Vlasenko2007-03-061-8/+27
| | | | (patch by Gabriel L. Somlo <somlo@cmu.edu>)
* ping: don't measure times if ping payload is less than 8 bytes;Denis Vlasenko2007-03-032-12/+8
| | | | commonalize some ping code.
* sort: fix multiple -k (was ignoring all except last)Denis Vlasenko2007-02-171-1/+1
|
* init: code readability enhancements; very small code changesDenis Vlasenko2007-02-171-10/+5
|
* httpd: a little bit more correct handling of CGI "HTTP/xxx" outputDenis Vlasenko2007-02-131-2/+0
|
* syslogd: fix "readpath bug" by using readlink insteadDenis Vlasenko2007-02-115-6/+6
| | | | libbb: rename xgetcwd and xreadlink
* ping: support -I addr in family neutral manner; reuse a bit of common codeDenis Vlasenko2007-02-091-1/+1
|
* make sure ps/top output what they claim: vsz, not rss ... down the line we ↵Mike Frysinger2007-02-081-11/+5
| | | | should make the output controllable either at runtime or buildtime as both statistics are quite useful
* tftp: fix IPv6 falloutDenis Vlasenko2007-02-071-1/+1
|
* fix #ifdef ENABLE_xxx -> #ifDenis Vlasenko2007-02-071-1/+1
|
* new applets: selinux utils by KaiGai Kohei <kaigai@kaigai.gr.jp>Denis Vlasenko2007-02-061-0/+15
|
* EXEC_PREFER_APPLETS support by Gabriel L. Somlo <somlo@cmu.edu>Denis Vlasenko2007-02-061-0/+10
|
* - indentBernhard Reutner-Fischer2007-02-041-9/+20
|
* udhcp: use improved gethostbyname replacement from IPv6 codeDenis Vlasenko2007-02-041-0/+5
|
* mount: (try to) support cifs with IPv6Denis Vlasenko2007-02-041-1/+7
|
* add x to IPv6 functions which can dieDenis Vlasenko2007-02-041-20/+21
|
* suppress warnings about easch <applet>_main() havingDenis Vlasenko2007-02-031-2/+2
| | | | no preceding prototype
* lineedit: add missing #if/#endifDenis Vlasenko2007-02-031-0/+2
| | | | init: fix warnings
* Add BB_EXEC[LV]P() which encapsulate FEATURE_EXEC_PREFER_APPLETSDenis Vlasenko2007-02-031-5/+1
| | | | (patch from Gabriel L. Somlo <somlo@cmu.edu>)
* preparatory patch for -Wwrite-strings #4Denis Vlasenko2007-01-291-4/+4
|
* preparatory patch for -Wwrite-strings #2Denis Vlasenko2007-01-293-4/+4
|