aboutsummaryrefslogtreecommitdiff
path: root/libbb (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* getopt32: fix llist_t options ordering. llist_rev is not unused.Denis Vlasenko2007-04-082-13/+14
| | | | | | | | | | | | | | | | function old new delta tar_main 705 695 -10 sort_main 928 918 -10 decode_format_string 886 876 -10 run_parts_main 197 185 -12 ps_main 513 500 -13 wget_main 2764 2750 -14 awk_main 1014 1000 -14 od_main 2886 2866 -20 llist_rev 25 - -25 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/8 up/down: 0/-128) Total: -128 bytes
* find: fix handling of -pruneDenis Vlasenko2007-04-081-7/+7
| | | | recursive_actions: uppercase flag constants
* random small shrinkage and elimination of staticsDenis Vlasenko2007-04-071-1/+1
|
* svn add match_fstype.c :(Denis Vlasenko2007-04-051-0/+44
|
* [u]mount: extend -t option (Roy Marples <uberlord@gentoo.org>)Denis Vlasenko2007-04-051-0/+1
|
* libbb: add xunlink()Denis Vlasenko2007-04-051-0/+6
| | | | patch: do not try to delete same file twice
* nc: port nc 1.10 to busyboxDenis Vlasenko2007-04-053-1/+166
|
* - fix segfault in reset_ino_dev_hashtable() when *hashtable was null.Bernhard Reutner-Fischer2007-04-051-1/+3
| | | | Seen in the testsuite for du -l .../testsuite on exit with CLEAN_UP enabled.
* test: comment out unused codeDenis Vlasenko2007-04-021-6/+22
| | | | | udpsvd: fake it compile tcpsvd: more optimal memorizing of IP's for -C
* tcpsvd: new appletDenis Vlasenko2007-04-012-7/+62
| | | | | | | | | | It's a GPL-ed 'clone' of Dan Bernstein's tcpserver. Author: Gerrit Pape <pape@smarden.org> http://smarden.sunsite.dk/ipsvd/ size tcpsvd.o text data bss dec hex filename 2571 4 16 2591 a1f tcpsvd.o
* - fix bug where we did not reject invalid classes like '[[:alpha'Bernhard Reutner-Fischer2007-03-301-6/+5
| | | | | | | - debloat while at it: text data bss dec hex filename 1554 0 19 1573 625 tr.o.oorig 1357 0 16 1373 55d tr.o
* - 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
|