aboutsummaryrefslogtreecommitdiff
path: root/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
* new config display applet, from bug 46. i've changed the namepgf2005-08-012-0/+8
| | | | | | | | of the applet from "config" to "bbconfig", and renamed the source filenames and symbols to match appropriately. git-svn-id: svn://busybox.net/trunk/busybox@11006 69ca8d6d-28ef-0310-b511-8ec308f3f277
* allow suppression of default client-id. fixes bug 000037. allowspgf2005-08-011-2/+3
| | | | | | | busybox to match kernel and u-boot behavior with respect to client-id. git-svn-id: svn://busybox.net/trunk/busybox@11005 69ca8d6d-28ef-0310-b511-8ec308f3f277
* in order to make sure the INET6 prototypes are exported, we would have to ↵vapier2005-07-301-2/+0
| | | | | | | | include the libbb.h header file ... but then we have to worry about including too early/etc... since simply defining the prototype in an internal header file doesnt hurt anyone, lets not worry about the header file crap and just always prototype the inet6 functions git-svn-id: svn://busybox.net/trunk/busybox@10977 69ca8d6d-28ef-0310-b511-8ec308f3f277
* #ifdef reduction infrastructure, based on an argument between Shaun Jackman,landley2005-07-272-2/+2
| | | | | | | | | | | | | | | | | | | | | | Rob Landley, and others. Currently CONFIG options are defined or undefined, so we chop out code with #ifdefs, ala: #ifdef CONFIG_THING stuff(); #endif This creates a new header file, bb_config.h, which sets the CONFIG entry to 1 or 0, and lets us do: if(CONFIG_THING) stuff(); And let the compiler do dead code elimination to get rid of it. (Note: #ifdef will still work because for the 1 case it's a static const int, not a #define.) git-svn-id: svn://busybox.net/trunk/busybox@10929 69ca8d6d-28ef-0310-b511-8ec308f3f277
* applying fixes from: pgf2005-07-201-0/+1
| | | | | | | | 0000142: unzip enhancements git-svn-id: svn://busybox.net/trunk/busybox@10887 69ca8d6d-28ef-0310-b511-8ec308f3f277
* applying fix from;pgf2005-07-191-1/+1
| | | | | | | | 0000092: looks like the initializer for .need_suid was missing. git-svn-id: svn://busybox.net/trunk/busybox@10865 69ca8d6d-28ef-0310-b511-8ec308f3f277
* a bit more polishandersen2005-07-181-1/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10848 69ca8d6d-28ef-0310-b511-8ec308f3f277
* a bit of polish on makedevsandersen2005-07-181-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10847 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixup device table based makedevs so it actually worksandersen2005-07-181-6/+30
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10845 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rodney Radford submitted ipcs and ipcrm (system V IPC stuff). They could uselandley2005-06-202-2/+46
| | | | | | | some more work to shrink them down. git-svn-id: svn://busybox.net/trunk/busybox@10556 69ca8d6d-28ef-0310-b511-8ec308f3f277
* import initial fat mke2fsvapier2005-06-112-0/+38
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10526 69ca8d6d-28ef-0310-b511-8ec308f3f277
* import tune2fs supportvapier2005-06-112-0/+19
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10525 69ca8d6d-28ef-0310-b511-8ec308f3f277
* About time to just apply this and kill off the patchesandersen2005-06-091-0/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10485 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add readprofile applet support.lethal2005-05-202-0/+18
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10350 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add automatic umount support to eject command. Patch from Tito,landley2005-05-141-7/+1
| | | | | | | | | | | with tweaks from Mike Frysinger and Rob Landley. Note: this will still fail to umount a path that contains an ' or \ character. Is it worth the extra size to filter for that? git-svn-id: svn://busybox.net/trunk/busybox@10325 69ca8d6d-28ef-0310-b511-8ec308f3f277
* update usage to match actual behaviorvapier2005-05-121-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10314 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Small comm implementatin from Rob Sullivan. Needed to build perl.landley2005-05-112-0/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10298 69ca8d6d-28ef-0310-b511-8ec308f3f277
* import ether-wake applet by haveaniceday Bug 252vapier2005-05-112-1/+15
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10294 69ca8d6d-28ef-0310-b511-8ec308f3f277
* change the hardcoded error constant (0x80000000UL) to a nice flexible define ↵vapier2005-05-111-0/+1
| | | | | | (BB_GETOPT_ERROR) git-svn-id: svn://busybox.net/trunk/busybox@10289 69ca8d6d-28ef-0310-b511-8ec308f3f277
* import eject by Peter Willis / Tito Ragusavapier2005-05-112-0/+16
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10288 69ca8d6d-28ef-0310-b511-8ec308f3f277