aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* remove strange bloat dup2() usage, sync this code with mainstream ↵vodz2005-12-131-3/+2
| | | | | | login-utils, size reduce git-svn-id: svn://busybox.net/trunk/busybox@12857 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Nothing to see here. Move along.landley2005-12-135-2/+180
| | | | | | | | | | | | 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.) git-svn-id: svn://busybox.net/trunk/busybox@12856 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Minor fix: if(CONFIG) breaks the build when that CONFIG is disabled, it haslandley2005-12-131-1/+1
| | | | | | | to be if(ENABLE). (Make allbareconfig is a good testing thing.) git-svn-id: svn://busybox.net/trunk/busybox@12849 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Yann E. Morin, something to do with bugs 276 and 272.landley2005-12-121-232/+273
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12848 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - typo: s/sucess/success/galdot2005-12-122-2/+2
| | | | | | | What's up with loginutils/su.c line 42: "SYSLOG_SUCESS" ? Please have a look.. git-svn-id: svn://busybox.net/trunk/busybox@12847 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - fix zcip for IMA compile mode.aldot2005-12-121-6/+6
| | | | | | | | rename usage() to zcip_usage, make struct arp_packet static. This applet is not ISO C89 compatible due to the use of C99-style comments ("c++ comments). git-svn-id: svn://busybox.net/trunk/busybox@12846 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Flush output to log promptly (bug 389).landley2005-12-121-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12845 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Flush input when prompting for a password (bug 373).landley2005-12-121-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12844 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bug 310: be consistent about stat/lstat and chown/lchown to avoid accidentallylandley2005-12-121-1/+1
| | | | | | | modifying permissions or ownership when twiddling symlinks. git-svn-id: svn://busybox.net/trunk/busybox@12843 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Uninitialized variable causing intermittent syntax errors (bug 449).landley2005-12-121-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12842 69ca8d6d-28ef-0310-b511-8ec308f3f277
* printf() arguments shouldn't be passed straight from user supplied data.landley2005-12-121-1/+1
| | | | | | | (Security thingy.) git-svn-id: svn://busybox.net/trunk/busybox@12841 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Change CONFIG_MODPROBE_MULTIPOLE_OPTIONS tolandley2005-12-121-11/+11
| | | | | | | CONFIG_FEATURE_MODPROBE_MULTIPLE_OPTIONS. git-svn-id: svn://busybox.net/trunk/busybox@12840 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Yann E. Morin to reorganize module config options.landley2005-12-111-36/+43
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12839 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make insmod quiet by default (patch from Yann E. Morin).landley2005-12-111-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12838 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Yann E. Morin's update to modprobe usage.landley2005-12-111-4/+60
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12837 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Yann E. Morin to make rmmod report failure properly.landley2005-12-111-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12836 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add build options to control SuS compatability, allows numeric bug12005-12-115-1/+24
| | | | | | | | option handling to be disabled. Defaults to enabled, so no changes in default behaviour git-svn-id: svn://busybox.net/trunk/busybox@12835 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - remove unused variable have_read_stdinaldot2005-12-101-8/+3
| | | | | | | - use FLAG_WIDTH git-svn-id: svn://busybox.net/trunk/busybox@12829 69ca8d6d-28ef-0310-b511-8ec308f3f277
* avoid mixed declarations, to support older compilers just a little longer.pgf2005-12-081-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12751 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Macro was wrong, name(void) vs name(x), and apparently gcc 2.95 cares aboutlandley2005-12-071-1/+1
| | | | | | | matching up macro arguments even when the macro substitutes to nothing... git-svn-id: svn://busybox.net/trunk/busybox@12715 69ca8d6d-28ef-0310-b511-8ec308f3f277
* uClibc can't handle anonymous MAP_SHARED. Since we're treating it aslandley2005-12-071-1/+1
| | | | | | | read only data anyway, MAP_PRIVATE shouldn't make a major difference. git-svn-id: svn://busybox.net/trunk/busybox@12711 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Tito is using broken kernel headers that pollute the namespace with everylandley2005-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. git-svn-id: svn://busybox.net/trunk/busybox@12707 69ca8d6d-28ef-0310-b511-8ec308f3f277
* reduce 3 warning if compile with -Wvodz2005-12-061-2/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12691 69ca8d6d-28ef-0310-b511-8ec308f3f277
* restore compare_string_array new interface (make broken by landley)vodz2005-12-064-10/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12690 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Install links patch from Yann E. Morin. (Another thing hanging around in mylandley2005-12-023-21/+21
| | | | | | | tree forever. Tweaked the docs a bit.) git-svn-id: svn://busybox.net/trunk/busybox@12647 69ca8d6d-28ef-0310-b511-8ec308f3f277
* If we really _need_ an #ifdef like this, then we should be using the libbblandley2005-12-021-3/+0
| | | | | | | getopt infrastructure instead. git-svn-id: svn://busybox.net/trunk/busybox@12646 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Another cleanup patch that's been in my tree for a while. Again I think it'slandley2005-12-021-40/+14
| | | | | | | originally from Bernhard Fischer... git-svn-id: svn://busybox.net/trunk/busybox@12645 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A cleanup patch I've had lying around in my tree for a while, I think itlandley2005-12-021-35/+10
| | | | | | | was from Bernhard Fischer? git-svn-id: svn://busybox.net/trunk/busybox@12644 69ca8d6d-28ef-0310-b511-8ec308f3f277
* reduce signedness warningvodz2005-12-021-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12641 69ca8d6d-28ef-0310-b511-8ec308f3f277
* reduce signedness warningvodz2005-12-021-7/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12640 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remove warnings if compile with -W, use ENABLE_FEATURE vs CONFIG_FEATUREvodz2005-12-021-62/+64
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12639 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make char default to "unsigned" on all platforms so we have a consistent baselandley2005-12-011-2/+2
| | | | | | | to deal with all the new gcc 4.0.2 warnings from. git-svn-id: svn://busybox.net/trunk/busybox@12615 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix losetup so that it A) actually works again, B) has much better errorlandley2005-11-294-90/+65
| | | | | | | | | | | 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... git-svn-id: svn://busybox.net/trunk/busybox@12582 69ca8d6d-28ef-0310-b511-8ec308f3f277
* getopt -> getopt_ulflags. noticed by Rob Sullivanvodz2005-11-291-13/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12581 69ca8d6d-28ef-0310-b511-8ec308f3f277
* update licensevapier2005-11-291-14/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12567 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ShaneAnderson writes in Bug 565:vapier2005-11-291-5/+5
| | | | | | | | need to include .config file before setting CROSS otherwise TARGET_ARCH isnt set properly git-svn-id: svn://busybox.net/trunk/busybox@12565 69ca8d6d-28ef-0310-b511-8ec308f3f277
* add "-C" format to hexdumppgf2005-11-282-2/+7
| | | | | | | | | | | | | 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.) git-svn-id: svn://busybox.net/trunk/busybox@12560 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix bug #474:pgf2005-11-281-14/+3
| | | | | | | | | | | | | | | | 0000474: vi crashes often problem was that the buffer used for "." command ("last_modifying_cmd") wasn't being maintined correctly -- the recording code was walking back over the front of that buffer when a repeatable insert command included backspacing (e.g. "i\b\b\bfoo"). the fix is to simply record the backspaces along with the rest of the command. also, cleaned up start_new_cmd_q() slightly. git-svn-id: svn://busybox.net/trunk/busybox@12559 69ca8d6d-28ef-0310-b511-8ec308f3f277
* eliminate mixed declaration, to support older compilers a little longer.pgf2005-11-281-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12553 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use libbb/get_kernel_revision(), reduce stack usage, add loses -w -f option ↵vodz2005-11-281-60/+48
| | | | | | for getopt, convert to bb_getopt_ulflags(), reduce memory usage - xmalloc to bb_common_bufsiz1, size reduce over 200 bytes git-svn-id: svn://busybox.net/trunk/busybox@12551 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Cristian Ionescu-Idbohrn to deal with _ vs - better.landley2005-11-271-1/+11
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12546 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remove bug: fsck do not know pathvodz2005-11-264-10/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12536 69ca8d6d-28ef-0310-b511-8ec308f3f277
* change the interface of libbb/compare_string_array (unsigned short to int), ↵vodz2005-11-263-7/+7
| | | | | | 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-263-11/+7
| | | | | | for e2fsprogs/fsck git-svn-id: svn://busybox.net/trunk/busybox@12534 69ca8d6d-28ef-0310-b511-8ec308f3f277
* more use libbb/bb_msg_read_errorvodz2005-11-251-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12521 69ca8d6d-28ef-0310-b511-8ec308f3f277
* reduce bssvodz2005-11-241-1/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12509 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
* Can't store a pointer in an int on 64 bit platforms.landley2005-11-221-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12476 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move interface.c to networking directory since it's only used by ifconfig.landley2005-11-223-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12475 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Support # comments after s/// option list.landley2005-11-201-32/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12441 69ca8d6d-28ef-0310-b511-8ec308f3f277