aboutsummaryrefslogtreecommitdiff
path: root/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* change the interface of libbb/compare_string_array (unsigned short to int), ↵vodz2005-11-261-1/+1
| | | | | | usaging for e2fsprogs/fsck git-svn-id: svn://busybox.net/trunk/busybox@12535 69ca8d6d-28ef-0310-b511-8ec308f3f277
* more use const for interface of libbb/compare_string_array, example usage ↵vodz2005-11-261-1/+1
| | | | | | for e2fsprogs/fsck git-svn-id: svn://busybox.net/trunk/busybox@12534 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update to modprobe usage from Yann E. Morinlandley2005-11-231-4/+60
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12488 69ca8d6d-28ef-0310-b511-8ec308f3f277
* telnetd -b (bind to specific address) support from Iuri Gomes Diniz.landley2005-11-101-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12205 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add BB_APPLET_RUNLEVEL used by emdebian via /etc/init.d/rc.aldot2005-10-282-0/+15
| | | | | | | Note that we leave the buggy CONFIG_* namespace now, so please fix any applet you thouch. git-svn-id: svn://busybox.net/trunk/busybox@11965 69ca8d6d-28ef-0310-b511-8ec308f3f277
* New applet, fuser, from Tony J. White. (Needs some cleanup.)landley2005-10-282-0/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11954 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add a switch_root utility (like kconfig's utils/run_init.c, although notlandley2005-10-272-0/+9
| | | | | | | | actuall using any of that code). This is needed because pivot_root doesn't work right under initramfs. (See the menuconfig help.) git-svn-id: svn://busybox.net/trunk/busybox@11935 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add --no-same-owner and --no-same-permissions options to tar.landley2005-10-271-5/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11933 69ca8d6d-28ef-0310-b511-8ec308f3f277
* common BUFSIZ BSS buffer, small reduce code, data and bssvodz2005-10-151-0/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11867 69ca8d6d-28ef-0310-b511-8ec308f3f277
* bb_dev_nullvodz2005-10-121-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11845 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - pidof(8): make -s optional and optional -o; closes #168aldot2005-10-061-3/+24
| | | | | | | first cut. git-svn-id: svn://busybox.net/trunk/busybox@11793 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add llist_free_one() and llist_free() to libbb; Add a bit of documentation.aldot2005-10-061-1/+13
| | | | | | | | | | - change llist_add_to_end as proposed by vodz in http://busybox.net/lists/busybox/2005-September/016411.html - remove unneeded includes, add short boilerplate and copyright to llist.c - move COMM_LEN from find_pid_by_name to libbb.h and use it in procps_status_t - add reverse_pidlist() to find_pid_by_name. Will be needed for pidof. git-svn-id: svn://busybox.net/trunk/busybox@11785 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add option 'w' to ps (wide output, optional feature defaults to off).aldot2005-10-041-8/+2
| | | | | | | | | | | | | | - move to ENABLE_ and use shorter boilerplate. sizes without selinux-support: text data bss dec hex filename 356 0 0 356 164 procps/ps.o.with-w 300 0 0 300 12c procps/ps.o.no-w 302 0 0 302 12e procps/ps.o.oorig git-svn-id: svn://busybox.net/trunk/busybox@11751 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add prototype for llist_add_to_end to libbb.haldot2005-10-041-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11750 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add find -exec support from Rob Sullivan, and convert CONFIG_ to ENABLE_landley2005-10-041-1/+10
| | | | | | | while we're in the area. git-svn-id: svn://busybox.net/trunk/busybox@11749 69ca8d6d-28ef-0310-b511-8ec308f3f277
* change interface to bb_xasprintf() - more perfect for me.vodz2005-09-291-2/+1
| | | | | | | ln.c: error_msg(str)->error_msg(%s, str) - remove standart "feature" for hackers reduce 100 bytes don't care in sum git-svn-id: svn://busybox.net/trunk/busybox@11694 69ca8d6d-28ef-0310-b511-8ec308f3f277
* reorder include <sys/types.h> and <sys/types.h>.vodz2005-09-291-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11686 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Cristian Ionescu-Idbohrn says: touchup whitespace/displayvapier2005-09-241-6/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11637 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Tito switched option parsing over to switch umount over to bb_getopt_ulflags().landley2005-09-241-2/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11630 69ca8d6d-28ef-0310-b511-8ec308f3f277
* import the very fat e2fsck/fsck appletsvapier2005-09-242-0/+44
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11623 69ca8d6d-28ef-0310-b511-8ec308f3f277
* add a attribute_noreturn macrovapier2005-09-241-0/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11619 69ca8d6d-28ef-0310-b511-8ec308f3f277
* make e2label and findfs optionalvapier2005-09-241-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11616 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add missing descriptions of supported argumentsaldot2005-09-231-4/+26
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11595 69ca8d6d-28ef-0310-b511-8ec308f3f277
* add support for setting the dhcp vendor class option (option 60). pgf2005-09-221-1/+2
| | | | | | | | | udhcpc now has a -V (--vendorclass), which will replace the default "udhcpRELEASE" string in this option. git-svn-id: svn://busybox.net/trunk/busybox@11582 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add applet nohup(1)aldot2005-09-212-0/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11538 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - make sure to include dmalloc.h at the very end of busybox.h or libbb.h.aldot2005-09-212-14/+15
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11535 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - rename libbb's password helpers as suggested in libbb.haldot2005-09-201-9/+7
| | | | | | | | | | | my_getpwnam -> bb_xgetpwnam /* dies on error */ my_getgrnam -> bb_xgetgrnam /* dies on error */ my_getgrgid -> bb_getgrgid my_getpwuid -> bb_getpwuid my_getug -> bb_getug git-svn-id: svn://busybox.net/trunk/busybox@11515 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - Remove unnecessary warning from libbb and move bb_wfopen_input near bb_wfopenaldot2005-09-201-4/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11514 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This is strange typically modern mistake. Learn please: stat(2) used ↵vodz2005-09-201-1/+1
| | | | | | sys/types.h and not reverse git-svn-id: svn://busybox.net/trunk/busybox@11509 69ca8d6d-28ef-0310-b511-8ec308f3f277
* First cleanup pass, from Rob Sullivan. More to be done...landley2005-09-181-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11493 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ENABLE_FEATURE_TOP_CPU_USAGE_PERCENTAGE->CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGEvodz2005-09-161-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11480 69ca8d6d-28ef-0310-b511-8ec308f3f277
* New applet "less", from Rob Sullivan.landley2005-09-152-0/+19
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11472 69ca8d6d-28ef-0310-b511-8ec308f3f277
* split libbb: moved xregcomp separatelly for speed up recompilevodz2005-09-142-2/+31
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11464 69ca8d6d-28ef-0310-b511-8ec308f3f277
* FEATURE->ENABLE_FEATURE loses one for 'top' appletvodz2005-09-141-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11462 69ca8d6d-28ef-0310-b511-8ec308f3f277
* touch up usage for swap utilsvapier2005-09-131-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11441 69ca8d6d-28ef-0310-b511-8ec308f3f277
* sysctl was seriously broken. And since in some cases 'CONFIG_SYSCTL'andersen2005-09-122-6/+4
| | | | | | | | could be included into application space via the kernel config option of the same name, nasty compilation problems could result. git-svn-id: svn://busybox.net/trunk/busybox@11433 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Don't comment warnings. Don't put #warnings about warnings. _FIX_ warnings.landley2005-09-071-1/+1
| | | | | | | | | | | | This fixes the warning, and makes the binary smaller out of sheer pique. (Yes, since Manuel did this one it's nice tight code that took several attempts to shrink, but I was ticked.) Add the start of a test for uniq; this is about the first 1/3 of the tests we need for full susv3 coverage of uniq. git-svn-id: svn://busybox.net/trunk/busybox@11347 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - sync traceroute with Slackware-10.1vodz2005-09-061-4/+9
| | | | | | | (support -FIl -g gw -i if -z pt now). - libbb/getopt_ulflags.c support bb_opt_complementally="x-x" as trigger now git-svn-id: svn://busybox.net/trunk/busybox@11345 69ca8d6d-28ef-0310-b511-8ec308f3f277
* 1) bb_opt_complementaly -> bb_opt_complementallyvodz2005-09-051-1/+1
| | | | | | | 2) better support long options 3) new flag '!' for bb_opt_complementally: produce bb_show_usage() if BB_GETOPT_ERROR internally git-svn-id: svn://busybox.net/trunk/busybox@11332 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch -i support from Berhnard Fischer.landley2005-09-011-3/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11307 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bernhard Fischer suggested that get_terminal_width_height() should returnlandley2005-09-011-1/+1
| | | | | | | | | the result of the ioctl so callers can tell if we have a tty. (0 means we have a tty, nonzero means the ioctl couldn't find size info and we fake 80x24. Really we should fake 80x25, but oh well...) git-svn-id: svn://busybox.net/trunk/busybox@11306 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bernhard Fischer provided a mountpoint(1) applet. This is apparently somethinglandley2005-08-202-0/+17
| | | | | | | sysvinit provides, and which is used by the debian init scripts. git-svn-id: svn://busybox.net/trunk/busybox@11219 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Tito (among others) writes: previous patch was wrong, please stop screwing ↵vapier2005-08-171-2/+2
| | | | | | things up git-svn-id: svn://busybox.net/trunk/busybox@11178 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bernhard Fischer writes: fix devfsd usagevapier2005-08-151-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11164 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major rewrite of mount, umount, losetup. Untangled lots of code, shrunklandley2005-08-101-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | things down a bit, fixed a number of funky corner cases, added support for several new features (things like mount --move, mount --bind, lazy unounts, automatic detection of loop mounts, and so on). Probably broke several other things, but it's fixable. (Bang on it, tell me what doesn't work for you...) Note: you no longer need to say "-o loop". It does that for you when necessary. Still need to add "user mount" support, which involves making mount suid. Not too hard to do under the new infrastructure, just haven't done it yet... The previous code had the following notes, that belong in the version control comments: - * 3/21/1999 Charles P. Wright <cpwright@cpwright.com> - * searches through fstab when -a is passed - * will try mounting stuff with all fses when passed -t auto - * - * 1999-04-17 Dave Cinege...Rewrote -t auto. Fixed ro mtab. - * - * 1999-10-07 Erik Andersen <andersen@codepoet.org>. - * Rewrite of a lot of code. Removed mtab usage (I plan on - * putting it back as a compile-time option some time), - * major adjustments to option parsing, and some serious - * dieting all around. - * - * 1999-11-06 mtab support is back - andersee - * - * 2000-01-12 Ben Collins <bcollins@debian.org>, Borrowed utils-linux's - * mount to add loop support. - * - * 2000-04-30 Dave Cinege <dcinege@psychosis.com> - * Rewrote fstab while loop and lower mount section. Can now do - * single mounts from fstab. Can override fstab options for single - * mount. Common mount_one call for single mounts and 'all'. Fixed - * mtab updating and stale entries. Removed 'remount' default. - * git-svn-id: svn://busybox.net/trunk/busybox@11099 69ca8d6d-28ef-0310-b511-8ec308f3f277
* implemented a builtin echo command in ash. moved the guts of thepgf2005-08-091-0/+2
| | | | | | | | | echo applet into libbb, and now call bb_echo() from both echo.c and ash.c git-svn-id: svn://busybox.net/trunk/busybox@11083 69ca8d6d-28ef-0310-b511-8ec308f3f277
* commiting:pgf2005-08-012-0/+9
| | | | | | | | 0000028 03-16-05 patch: new setsid applet git-svn-id: svn://busybox.net/trunk/busybox@11015 69ca8d6d-28ef-0310-b511-8ec308f3f277
* commiting:pgf2005-08-011-1/+2
| | | | | | | | | 0000073: Add option to inetd applet to run in foreground this option was already there for uclinux -- this just exposes it in the normal case as well. git-svn-id: svn://busybox.net/trunk/busybox@11010 69ca8d6d-28ef-0310-b511-8ec308f3f277
* commiting patch from bug 71:pgf2005-08-011-0/+6
| | | | | | | | 0000071: patch: implement "--color" option for ls coloring control git-svn-id: svn://busybox.net/trunk/busybox@11009 69ca8d6d-28ef-0310-b511-8ec308f3f277
* applying patch for bug 72:pgf2005-08-012-0/+10
| | | | | | | | | 0000072: Add applet to redirect console output via ioctl(..., TIOCCONS) applet name changed to setconsole, since suse has a very similar utility. better to treat differences as bugs than invent a new command. git-svn-id: svn://busybox.net/trunk/busybox@11008 69ca8d6d-28ef-0310-b511-8ec308f3f277