aboutsummaryrefslogtreecommitdiff
path: root/debianutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
* start_stop_daemon: add -chuid supportvda2007-02-261-22/+29
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17977 69ca8d6d-28ef-0310-b511-8ec308f3f277
* syslogd: fix "readpath bug" by using readlink insteadvda2007-02-111-1/+1
| | | | | | | libbb: rename xgetcwd and xreadlink git-svn-id: svn://busybox.net/trunk/busybox@17854 69ca8d6d-28ef-0310-b511-8ec308f3f277
* suppress warnings about easch <applet>_main() havingvda2007-02-036-0/+6
| | | | | | | no preceding prototype git-svn-id: svn://busybox.net/trunk/busybox@17740 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix which-uses-default-pathvda2007-01-281-0/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17600 69ca8d6d-28ef-0310-b511-8ec308f3f277
* openvt,getty,vfork_daemon_rexec,mount: tighten up fd cleanup codevda2007-01-191-1/+1
| | | | | | | | | | | | (will close all fd's > 2 on daemonization now) getty: fix "getty -" support, and also do not try to chown/chmod "-" telnetd: fix "lost ctty" bug Yet another attempt on saner function names: bb_sanitize_server_stdio(0/1) -> bb_sanitize_stdio() + bb_daemonize(); git-svn-id: svn://busybox.net/trunk/busybox@17390 69ca8d6d-28ef-0310-b511-8ec308f3f277
* bb_xget[pw/gr]nam were horribly misnamed - fixed.vda2006-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 git-svn-id: svn://busybox.net/trunk/busybox@17095 69ca8d6d-28ef-0310-b511-8ec308f3f277
* start_stop_daemon: make code a bit more readablevda2006-12-171-23/+19
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16985 69ca8d6d-28ef-0310-b511-8ec308f3f277
* start_stop_daemon: fix bug where any program name was "matching"vda2006-12-171-28/+35
| | | | | | | processes for which readlink(/proc/N/exe) fails git-svn-id: svn://busybox.net/trunk/busybox@16982 69ca8d6d-28ef-0310-b511-8ec308f3f277
* style cleanup: return(a) -> return a, part 1vda2006-11-271-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16690 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Closing bug 730. libbb run_parts is using scandir (a GNUism),vda2006-11-261-8/+99
| | | | | | | | and it is used only by run_parts applet, so move it there. Also saved ~30 bytes (prolly gcc autoinlining...). git-svn-id: svn://busybox.net/trunk/busybox@16677 69ca8d6d-28ef-0310-b511-8ec308f3f277
* rodata cleanup. "unable to" == "cannot". -300 bytesvda2006-11-181-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16580 69ca8d6d-28ef-0310-b511-8ec308f3f277
* small fixes: using fd-based io instead of FILE*-based,vda2006-11-181-14/+14
| | | | | | | missed O_TRUNC, etc git-svn-id: svn://busybox.net/trunk/busybox@16579 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remove bb_printf and the likevda2006-10-262-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16446 69ca8d6d-28ef-0310-b511-8ec308f3f277
* readlink: do not emit errors if file doesnt not exist / not a linkvda2006-10-201-13/+24
| | | | | | | getopt32: add =N support git-svn-id: svn://busybox.net/trunk/busybox@16414 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ifupdown: stop emitting annoying/misleading error messages.vda2006-10-111-54/+14
| | | | | | | Patch by Gabriel Somlo <somlo at cmu.edu> git-svn-id: svn://busybox.net/trunk/busybox@16367 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add option -taldot2006-10-101-6/+16
| | | | | | | mkinitrd and mkinitramfs both require -t. git-svn-id: svn://busybox.net/trunk/busybox@16355 69ca8d6d-28ef-0310-b511-8ec308f3f277
* start_stop_daemon: add -N <nice> compatvda2006-10-081-30/+43
| | | | | | | | [re]nice: add support for -nNNN w/o spaces, -NNN (nice only), simplified code git-svn-id: svn://busybox.net/trunk/busybox@16344 69ca8d6d-28ef-0310-b511-8ec308f3f277
* attempt to regularize atoi mess.vda2006-10-082-23/+23
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16342 69ca8d6d-28ef-0310-b511-8ec308f3f277
* which: -84 bytesvda2006-10-051-46/+23
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16312 69ca8d6d-28ef-0310-b511-8ec308f3f277
* build system overhaulvda2006-10-054-70/+27
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16307 69ca8d6d-28ef-0310-b511-8ec308f3f277
* getopt_ulflags -> getopt32.vda2006-10-033-7/+7
| | | | | | | | | | | 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. git-svn-id: svn://busybox.net/trunk/busybox@16305 69ca8d6d-28ef-0310-b511-8ec308f3f277
* whitespace cleanupvda2006-09-171-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16142 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - fix copy'n paste errors that got introduced when switching to the shorter ↵aldot2006-09-133-3/+3
| | | | | | | | | boilerplate. No object code changes. git-svn-id: svn://busybox.net/trunk/busybox@16113 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Natanael Copa to make start-stop-daemon just use readlink andlandley2006-09-041-8/+9
| | | | | | | strcmp to check if a program is already running. git-svn-id: svn://busybox.net/trunk/busybox@16047 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bugfix from Jason Schoon: send the right signal with -s.landley2006-08-281-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16006 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidatelandley2006-08-031-20/+11
| | | | | | | | | | | | | things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.) git-svn-id: svn://busybox.net/trunk/busybox@15767 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove unnecessary consts.landley2006-07-191-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15729 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rearrange order of type qualifiers.rpjday2006-07-181-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15716 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Thaddeus Ternes, adding chuid to start-stop-daemon.landley2006-07-171-2/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15708 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - minor shrinkagealdot2006-06-141-8/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15383 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - fix stupid typo from last checkinaldot2006-06-121-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15364 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add fancy mode to start-stop-daemon to support --oknodo and --verbosealdot2006-06-112-47/+68
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15360 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - move #include busybox.h to the very top so we pull in the configaldot2006-06-026-43/+16
| | | | | | | and eventual platform specific includes in early. git-svn-id: svn://busybox.net/trunk/busybox@15267 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add central knob to turn off getopt_long everywhere. EXPERIMENTAL!aldot2006-05-262-1/+18
| | | | | | | | | Adds "Enable getopt long" under "General options", default y. Send patches to fix getopt_ulflags and run_parts.c if you turn this off.. See http://busybox.net/lists/busybox/2006-May/021828.html for a start to run-parts git-svn-id: svn://busybox.net/trunk/busybox@15195 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - remove emacs layout block as suggested by Robert P.J. Dayaldot2006-05-191-8/+0
| | | | | | | - use shorter boilerplate while at it git-svn-id: svn://busybox.net/trunk/busybox@15141 69ca8d6d-28ef-0310-b511-8ec308f3f277
* The gnu extension to have realpath() malloc its buffer when handed a NULLlandley2006-05-171-2/+2
| | | | | | | isn't implemented in uClibc, so we can't use it. git-svn-id: svn://busybox.net/trunk/busybox@15092 69ca8d6d-28ef-0310-b511-8ec308f3f277
* pull Rules.mak from top_srcdir as pointed out by Robert P. J. Day on the ↵vapier2006-05-131-1/+1
| | | | | | mailing list git-svn-id: svn://busybox.net/trunk/busybox@15079 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove bb_strlen() in favor of -fno-builtin-strlen. Saves as many byteslandley2006-05-071-2/+2
| | | | | | | | as the old optimization did (actually does slightly better under gcc 4.0), and simplifies the code. git-svn-id: svn://busybox.net/trunk/busybox@15023 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Robert P Day: let menuconfig indent stuff for us, we don't havelandley2006-04-131-1/+1
| | | | | | | to do it in Config.in. git-svn-id: svn://busybox.net/trunk/busybox@14850 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - patch from Denis Vlasenko to add and use bb_xdaemon()aldot2006-04-121-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14834 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add and use bb_opendir(), bb_xopendir().aldot2006-04-121-3/+1
| | | | | | | | | | | text data bss dec hex filename 889445 9392 1035784 1934621 1d851d busybox.gcc-4.2.orig 889297 9392 1035784 1934473 1d8489 busybox.gcc-4.2 889009 9820 1037860 1936689 1d8d31 busybox.gcc-4.1.orig 888817 9820 1037860 1936497 1d8c71 busybox.gcc-4.1 git-svn-id: svn://busybox.net/trunk/busybox@14830 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - revert back to r14406aldot2006-03-131-7/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14531 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Denis Vlasenko to add xstat() and use it.landley2006-03-131-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14530 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - backout using features which are not available with the previous stablealdot2006-03-091-2/+6
| | | | | | | version of make (3.71.1). git-svn-id: svn://busybox.net/trunk/busybox@14477 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionlandley2006-03-063-3/+3
| | | | | | | definitions. (That should only be on prototypes.) git-svn-id: svn://busybox.net/trunk/busybox@14457 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - use absolute path for top_builddir and top_srcdir.aldot2006-03-021-0/+4
| | | | | | | Fixes make trying to include the very same file in an endless loop. git-svn-id: svn://busybox.net/trunk/busybox@14429 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - fixes parallel builds (make -j)aldot2006-03-011-12/+2
| | | | | | | - use less resources for the buildsystem itself git-svn-id: svn://busybox.net/trunk/busybox@14407 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Don't build directory libraries unless we're building an applet that needs it.landley2006-02-211-0/+2
| | | | | | | Cherry-picked from Devin Bayer's big MacOS X patch. git-svn-id: svn://busybox.net/trunk/busybox@14165 69ca8d6d-28ef-0310-b511-8ec308f3f277
* make the build system puuuuuuuuuuurtyvapier2006-02-021-3/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13793 69ca8d6d-28ef-0310-b511-8ec308f3f277
* just whitespacetimr2006-01-253-6/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13584 69ca8d6d-28ef-0310-b511-8ec308f3f277