aboutsummaryrefslogtreecommitdiff
path: root/miscutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
* - add BB_APPLET_RUNLEVEL used by emdebian via /etc/init.d/rc.aldot2005-10-283-0/+53
| | | | | | | 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
* Rob Sullivan sent in some cleanups, which I beat on slightly.landley2005-10-282-62/+16
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11946 69ca8d6d-28ef-0310-b511-8ec308f3f277
* another more constvodz2005-10-201-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11897 69ca8d6d-28ef-0310-b511-8ec308f3f277
* data --> codevodz2005-10-151-51/+52
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11871 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Coprolith polishing time: Tito switched devfsd over from CONFIG_ to ENABLE_.landley2005-10-081-317/+174
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11810 69ca8d6d-28ef-0310-b511-8ec308f3f277
* change interface to bb_xasprintf() - more perfect for me.vodz2005-09-292-7/+4
| | | | | | | 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
* use the shorter license headervapier2005-09-241-15/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11624 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use brief license linevapier2005-09-241-15/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11618 69ca8d6d-28ef-0310-b511-8ec308f3f277
* quick patch - have removed stranges for mevodz2005-09-221-19/+26
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11577 69ca8d6d-28ef-0310-b511-8ec308f3f277
* moved include/bbconfigopts.h from miscutils to to top Makefile before ↵vodz2005-09-211-3/+0
| | | | | | generate .depend. Remove allyesconfig build problem, noticed by Bernhard Fischer git-svn-id: svn://busybox.net/trunk/busybox@11533 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - rename libbb's password helpers as suggested in libbb.haldot2005-09-201-2/+2
| | | | | | | | | | | 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 duplicate depend, its work for bb_mkdependvodz2005-09-191-2/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11507 69ca8d6d-28ef-0310-b511-8ec308f3f277
* correct build bbconfig applet, correct previous changevodz2005-09-191-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11506 69ca8d6d-28ef-0310-b511-8ec308f3f277
* corect build bbconfig applet, Thanks, Bernhard Fischervodz2005-09-191-2/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11505 69ca8d6d-28ef-0310-b511-8ec308f3f277
* 1) read from stdin work nowvodz2005-09-191-34/+21
| | | | | | | | | 2) destroy segfault in number_process 3) removes dead code complex patch my and Tito git-svn-id: svn://busybox.net/trunk/busybox@11503 69ca8d6d-28ef-0310-b511-8ec308f3f277
* quick patchs: drop founded memory leak, more libbb, more C-compatibility, ↵vodz2005-09-191-82/+89
| | | | | | size reduction git-svn-id: svn://busybox.net/trunk/busybox@11500 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bernhard Fischer writes:vapier2005-09-181-7/+7
| | | | | | | | Attached patch moves bbconfig's entry in Config.in in the alphabetically correct place. git-svn-id: svn://busybox.net/trunk/busybox@11495 69ca8d6d-28ef-0310-b511-8ec308f3f277
* First cleanup pass, from Rob Sullivan. More to be done...landley2005-09-181-144/+106
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11493 69ca8d6d-28ef-0310-b511-8ec308f3f277
* more C-compatibily, Thanks Bernhard Fischervodz2005-09-161-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11482 69ca8d6d-28ef-0310-b511-8ec308f3f277
* small change for highlihting flags, more busyboxes: indent, forward ↵vodz2005-09-161-510/+464
| | | | | | declaration, paste BSS git-svn-id: svn://busybox.net/trunk/busybox@11478 69ca8d6d-28ef-0310-b511-8ec308f3f277
* New applet "less", from Rob Sullivan.landley2005-09-153-0/+1310
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11472 69ca8d6d-28ef-0310-b511-8ec308f3f277
* split libbb: moved xregcomp separatelly for speed up recompilevodz2005-09-141-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11464 69ca8d6d-28ef-0310-b511-8ec308f3f277
* removed strange extern void xregcomp(... from some applets, but declared ↵vodz2005-09-141-2/+0
| | | | | | from libbb.h git-svn-id: svn://busybox.net/trunk/busybox@11463 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Tito sent in a few patches converting instances of CONFIG_FEATURE_CLEAN_UP tolandley2005-09-081-3/+3
| | | | | | | ENABLE_FEATURE_CLEAN_UP. git-svn-id: svn://busybox.net/trunk/busybox@11382 69ca8d6d-28ef-0310-b511-8ec308f3f277
* destroy bug [0000381]vodz2005-09-051-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11335 69ca8d6d-28ef-0310-b511-8ec308f3f277
* 1) bb_opt_complementaly -> bb_opt_complementallyvodz2005-09-051-2/+2
| | | | | | | 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
* According to bug #63, crond is unhappy with crontab lines that don't end in alandley2005-09-011-4/+2
| | | | | | | newline, or lines that have trailing spaces. git-svn-id: svn://busybox.net/trunk/busybox@11310 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bernhard Fischer provided a mountpoint(1) applet. This is apparently somethinglandley2005-08-203-0/+77
| | | | | | | 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
* Major rewrite of mount, umount, losetup. Untangled lots of code, shrunklandley2005-08-101-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* commiting:pgf2005-08-013-0/+53
| | | | | | | | 0000028 03-16-05 patch: new setsid applet git-svn-id: svn://busybox.net/trunk/busybox@11015 69ca8d6d-28ef-0310-b511-8ec308f3f277
* new config display applet, from bug 46. i've changed the namepgf2005-08-013-0/+16
| | | | | | | | 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
* eat leading whitespace with preprocessorvapier2005-07-311-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10995 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use toplevel ARFLAGS and update default ARFLAGS to be quietvapier2005-07-271-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10923 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixup makedevs to handle regular files, and also fixandersen2005-07-181-1/+32
| | | | | | | it to properly update file permissions as specified. git-svn-id: svn://busybox.net/trunk/busybox@10854 69ca8d6d-28ef-0310-b511-8ec308f3f277
* a bit more polishandersen2005-07-181-5/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10848 69ca8d6d-28ef-0310-b511-8ec308f3f277
* a bit of polish on makedevsandersen2005-07-181-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10847 69ca8d6d-28ef-0310-b511-8ec308f3f277
* the makedevs config option was pretty much totally brokenandersen2005-07-181-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10846 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixup device table based makedevs so it actually worksandersen2005-07-181-28/+41
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10845 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch by jonlar in Bug 312 to split the U_W_TMP feature into sep UTMP and ↵vapier2005-07-011-1/+1
| | | | | | WTMP options git-svn-id: svn://busybox.net/trunk/busybox@10679 69ca8d6d-28ef-0310-b511-8ec308f3f277
* applets specified as _BB_SUID_ALWAYS in applets.h should also selectandersen2005-06-231-0/+1
| | | | | | | CONFIG_FEATURE_SUID to ensure proper behavior when installed. git-svn-id: svn://busybox.net/trunk/busybox@10565 69ca8d6d-28ef-0310-b511-8ec308f3f277
* About time to just apply this and kill off the patchesandersen2005-06-092-30/+184
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10485 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Tito posted a devfsd error message fix. It's highly deprecated and willlandley2005-06-071-31/+28
| | | | | | | | | | | | | | | | | | | | | presumably be removed eventually (use udev), but as long as it's in there. Tito says: The sense of this patch is to call: read_config_file_err: #ifdef CONFIG_DEVFSD_VERBOSE msg_logger(((optional == 0 ) && (errno == ENOENT))? DIE : NO_DIE, LOG_ERR, "read config file: %s: %m\n", path); #else if(optional == 0 && errno == ENOENT) exit(EXIT_FAILURE); #endif just after the failure of the call that set errno ( stat and fopen) to avoid false error messages. git-svn-id: svn://busybox.net/trunk/busybox@10480 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Clean up strings.c to use busybox's option processing. Bug 006, apparently.landley2005-06-071-71/+54
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10479 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Tito pointed out I'd broken -t (argv[optind] can't be before getulflags),landley2005-05-151-17/+13
| | | | | | | and replaced the use of system() (and resulting security implications). git-svn-id: svn://busybox.net/trunk/busybox@10333 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add automatic umount support to eject command. Patch from Tito,landley2005-05-142-27/+23
| | | | | | | | | | | 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
* import eject by Peter Willis / Tito Ragusavapier2005-05-113-13/+91
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10288 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Bernhard Fischer to make a bunch of symbols staticandersen2005-04-161-2/+2
| | | | | | | which were otherwise cluttering the global namespace. git-svn-id: svn://busybox.net/trunk/busybox@10121 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make certain clients of bb_make_directory default to honoringandersen2004-10-131-1/+1
| | | | | | | the user's umask git-svn-id: svn://busybox.net/trunk/busybox@9413 69ca8d6d-28ef-0310-b511-8ec308f3f277
* egor duda writes:andersen2004-10-082-6/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | Hi! I've created a patch to busybox' build system to allow building it in separate tree in a manner similar to kbuild from kernel version 2.6. That is, one runs command like 'make O=/build/some/where/for/specific/target/and/options' and everything is built in this exact directory, provided that it exists. I understand that applyingc such invasive changes during 'release candidates' stage of development is at best unwise. So, i'm currently asking for comments about this patch, starting from whether such thing is needed at all to whether it coded properly. 'make check' should work now, and one make creates Makefile in build directory, so one can run 'make' in build directory after that. One possible caveat is that if we build in some directory other than source one, the source directory should be 'distclean'ed first. egor git-svn-id: svn://busybox.net/trunk/busybox@9320 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Improve the setuid situation a bit, and make it more apparentandersen2004-08-261-0/+3
| | | | | | | | when people really ought to make busybox setuid root. -Erik git-svn-id: svn://busybox.net/trunk/busybox@9170 69ca8d6d-28ef-0310-b511-8ec308f3f277