aboutsummaryrefslogtreecommitdiff
path: root/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* eat extraneous newlines at the end of applet full usageMike Frysinger2006-02-211-12/+13
|
* add setarch/linux32/linux64 appletMike Frysinger2006-02-212-0/+14
|
* Patch from Giuseppe Ciotta to specify retry count.Rob Landley2006-02-201-1/+2
|
* remove #undef strlen, use #define strlen always but without ↵"Vladimir N. Oleynik"2006-02-201-0/+2
| | | | xfunc/BB_STRLEN_IMPLEMENTATION
* moved BB_BANNER to applets/version.c file: make kernel like version, "Vladimir N. Oleynik"2006-02-161-5/+1
| | | | removed depend loop: busybox.h depend with BB_BT, and all sources depend with busybox.h
* full removed config.h, use bb_config.h only"Vladimir N. Oleynik"2006-02-151-1/+2
|
* New USE() macrosRob Landley2006-02-131-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For each CONFIG_SYMBOL, include/bb_config.h now has both ENABLE_SYMBOL and USE_SYMBOL(x). ENABLE_SYMBOL is still always defined (1 or 0) so that if(ENABLE) should optimize out when it's zero. The USE_SYMBOL(X) will only splice in X if the symbol is defined, otherwise it'll be empty. Thus we can convert this: #ifdef CONFIG_ARGS opt = bb_getopt_ulflags(argc, argv, "ab:c" #ifdef CONFIG_THINGY "d:" #endif , &bvalue #ifdef CONFIG_THINGY , &thingy #endif ); #endif into this: if (ENABLE_ARGS) { opt = bb_getopt_ulflags(argc, argv, "ab:c" USE_THINGY("d:"), &bvalue USE_THINGY(, &thingy)); } And it should produce the same code. Unlike the old versions in include/_usage.h, the new USE_SYMBOL(x) can handle commas in its arguments (as shown above). (The _usage.h file is obsolete and no longer generated.) Nobody should need to include config.h directly anymore, bb_config.h should define all the configuration stuff we need. Someday, the CONFIG_SYMBOL versions should go away in favor of ENABLE_SYMBOL and USE_SYMBOL(). Thanks to vodz for the new version of bb_mkdep.c that works with function macros.
* fixup whitespace in awk help outputMike Frysinger2006-02-061-2/+2
|
* fix mdev help outputMike Frysinger2006-02-021-1/+1
|
* - add and use ATTRIBUTE_ALIGNED(num_bytes)Bernhard Reutner-Fischer2006-01-311-0/+4
| | | | - remove unused parameter pindex from fdisk.c, xbsd_initlabel()
* Re-add initrd support, unify halt/reboot/poweroff, add -n and -f options.Rob Landley2006-01-302-11/+17
|
* new applet. Thanks Roberto A. Foglietta"Vladimir N. Oleynik"2006-01-252-0/+14
|
* just whitespaceTim Riker2006-01-251-3/+3
|
* Testing CONFIG_SORT_BIG to display the help for the big version of sort isn'tRob Landley2006-01-231-1/+4
| | | | much use when the symbol is CONFIG_FEATURE_SORT_BIG.
* - add platform.h.Bernhard Reutner-Fischer2006-01-223-55/+93
| | | | - use shorter boilerplate while at it.
* Patch from Aurelien Jacobs to add unlzma. (A new decompression type,Rob Landley2006-01-203-1/+28
| | | | see www.7-zip.org)
* - Document -m, -c, -s and provide a default shell for standalone build.Bernhard Reutner-Fischer2006-01-191-1/+3
| | | | | - Wrap overlong lines plus a few whitespace fixes. - add GPL header.
* - shared libbusybox.Bernhard Reutner-Fischer2006-01-151-1/+1
| | | | | - IMA compilation option (aka IPO, IPA,..) Please holler if i broke something..
* add find's "-mmin" option. configurable.Paul Fox2006-01-131-1/+8
|
* Tito writes:Mike Frysinger2006-01-081-1/+1
| | | | | | | | | | | | | | | Somehow while applying the bb_do_delay patch a change slipped in libbb.h that broke compilation. libbb.h Line 355 extern char bb_path_mtab_file[]; This conflicts with mtab_file.c #if defined(CONFIG_FEATURE_MTAB_SUPPORT) const char bb_path_mtab_file[] = "/etc/mtab"; #else const char bb_path_mtab_file[] = "/proc/mounts"; #endif
* patch from tito: consolidate delay functions as bb_do_delay()Rob Landley2006-01-061-1/+2
|
* make mount usage a bit more terseMike Frysinger2006-01-041-2/+1
|
* When you went "losetup -d /dev/loop0 /dev/loop1" the error message was strange.Rob Landley2005-12-211-1/+1
|
* Nothing to see here. Move along.Rob Landley2005-12-132-2/+27
| | | | | | | | | Not buying it, eh? I know I said new features before 1.1, but, well... (I was weak!) The config file and hotplug modes aren't implemented yet. Might take a stab at those tomorrow. (I _should_ go back to focusing on the bug triage list.)
* Yann E. Morin's update to modprobe usage.Rob Landley2005-12-111-4/+60
|
* Add build options to control SuS compatability, allows numeric Glenn L McGrath2005-12-111-1/+1
| | | | | option handling to be disabled. Defaults to enabled, so no changes in default behaviour
* Tito is using broken kernel headers that pollute the namespace with everyRob Landley2005-12-061-2/+2
| | | | | | | | | | CONFIG_ symbol in the kernel, and this clashes with busybox's CONFIG_TR and CONFIG_WATCHDOG, causing applets.h to barf if they're not switched on (since the broken headers don't affect kconfig or the makefiles). Since such broken kernel headers are common enough to crop up every few months, a simple work around is to move TR and WATCHDOG from CONFIG_ to ENABLE_ early.
* restore compare_string_array new interface (make broken by landley)"Vladimir N. Oleynik"2005-12-061-1/+1
|
* Fix losetup so that it A) actually works again, B) has much better errorRob Landley2005-11-292-68/+19
| | | | | | | | messages, C) can show the current association (if any) when called with only one argument. Update the documentation a lot too. Remind me to add a test suite for this thing. I think I've figured out how to handle root-only testsuites...
* add "-C" format to hexdumpPaul Fox2005-11-281-1/+2
| | | | | | | | | | fixes bug #113 and satisfies a personal need at the same time. output compares identically to util-linux version. (with exception of whitespace differences on last lines of output with non-uniform length, which are neither fixed nor worsened by this change.)
* change the interface of libbb/compare_string_array (unsigned short to int), ↵"Vladimir N. Oleynik"2005-11-261-1/+1
| | | | usaging for e2fsprogs/fsck
* more use const for interface of libbb/compare_string_array, example usage ↵"Vladimir N. Oleynik"2005-11-261-1/+1
| | | | for e2fsprogs/fsck
* Update to modprobe usage from Yann E. MorinRob Landley2005-11-231-4/+60
|
* telnetd -b (bind to specific address) support from Iuri Gomes Diniz.Rob Landley2005-11-101-0/+1
|
* - add BB_APPLET_RUNLEVEL used by emdebian via /etc/init.d/rc.Bernhard Reutner-Fischer2005-10-282-0/+15
| | | | Note that we leave the buggy CONFIG_* namespace now, so please fix any applet you thouch.
* New applet, fuser, from Tony J. White. (Needs some cleanup.)Rob Landley2005-10-282-0/+13
|
* Add a switch_root utility (like kconfig's utils/run_init.c, although notRob Landley2005-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.)
* Add --no-same-owner and --no-same-permissions options to tar.Rob Landley2005-10-271-5/+7
|
* common BUFSIZ BSS buffer, small reduce code, data and bss"Vladimir N. Oleynik"2005-10-151-0/+6
|
* bb_dev_null"Vladimir N. Oleynik"2005-10-121-1/+1
|
* - pidof(8): make -s optional and optional -o; closes #168Bernhard Reutner-Fischer2005-10-061-3/+24
| | | | first cut.
* - add llist_free_one() and llist_free() to libbb; Add a bit of documentation.Bernhard Reutner-Fischer2005-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.
* - add option 'w' to ps (wide output, optional feature defaults to off).Bernhard Reutner-Fischer2005-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
* - add prototype for llist_add_to_end to libbb.hBernhard Reutner-Fischer2005-10-041-0/+1
|
* Add find -exec support from Rob Sullivan, and convert CONFIG_ to ENABLE_Rob Landley2005-10-041-1/+10
| | | | while we're in the area.
* change interface to bb_xasprintf() - more perfect for me."Vladimir N. Oleynik"2005-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
* reorder include <sys/types.h> and <sys/types.h>."Vladimir N. Oleynik"2005-09-291-1/+1
|
* Cristian Ionescu-Idbohrn says: touchup whitespace/displayMike Frysinger2005-09-241-6/+6
|
* Tito switched option parsing over to switch umount over to bb_getopt_ulflags().Rob Landley2005-09-241-2/+3
|
* import the very fat e2fsck/fsck appletsMike Frysinger2005-09-242-0/+44
|