aboutsummaryrefslogtreecommitdiff
path: root/libbb (follow)
Commit message (Collapse)AuthorAgeFilesLines
* more crond+crontab integrating with loginutil libbb functions and deletedbug12003-09-031-4/+12
| | | | | | | | patch from Thomas Gleixner to init. Viodz last_patch_108 git-svn-id: svn://busybox.net/trunk/busybox@7377 69ca8d6d-28ef-0310-b511-8ec308f3f277
* move all "-/bin/sh" "/bin/sh" and "sh" to libbb/messages.c file as onebug12003-09-022-1/+5
| | | | | | | | constant. Vodz last_patch_107 git-svn-id: svn://busybox.net/trunk/busybox@7365 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix compile error and reducing size for libbb/get_console.c to previous size.bug12003-09-011-45/+27
| | | | | | | Vodz last_patch106 git-svn-id: svn://busybox.net/trunk/busybox@7345 69ca8d6d-28ef-0310-b511-8ec308f3f277
* The default behaviour for run-parts is corrected to continue if an errorbug12003-08-301-2/+3
| | | | | | | | is encountered in a script. Patch by Philip Blundell git-svn-id: svn://busybox.net/trunk/busybox@7309 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove some unwanted code, patch from Holger Schurig, confirmed by vodzbug12003-08-291-4/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7293 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix for compiling with ipv6bug12003-08-291-8/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7283 69ca8d6d-28ef-0310-b511-8ec308f3f277
* "staywithu" writes:andersen2003-08-221-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | In BusyBox v1.00-pre2, commands like ls, df with -h option report a wrong file size for files larger than 4GBtye!! For example, when I execute 'ls -l', it reports -rw-r--r-- 1 root root 5368709120 Aug 17 2003 large_stream.tp when I execute 'ls -lh', I expect that -rw-r--r-- 1 root root 5.0G Aug 17 2003 large_stream.tp but it reports -rw-r--r-- 1 root root 1.0G Aug 17 2003 large_stream.tp I fixed this bug that... Line 31 in libbb/human_readable.c and line 275 include/libbb.h const char *make_human_readable_str(unsigned long size => const char *make_human_readable_str(unsigned long long size It's OK! git-svn-id: svn://busybox.net/trunk/busybox@7253 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a bug reported by junkio@cox.net involving the mode_chars index.mjn32003-08-141-1/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7207 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Latest dash update from vodzandersen2003-08-062-376/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7177 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from vodz to cleanup libbb/obscure.c:password_check()andersen2003-08-061-3/+3
| | | | | | | to not copy too much data. git-svn-id: svn://busybox.net/trunk/busybox@7170 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Joe.C writes:andersen2003-08-061-1/+5
| | | | | | | | | | | | | | | | | | I've reported this bug in April and it still exists in 1.00-pre2. So I made patches for both 0.60.x and 1.00-pre2. The patch is very simple, just use strncmp instead of strcmp. Please apply if it is OK. Here's the procedure to test this problem: Create a executable with very long name, say 'test_1234567890123456' and execute it. Try using 'killall' or 'pidof' to find/kill this program. Without this patch, you can't find the program. git-svn-id: svn://busybox.net/trunk/busybox@7169 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Save 0.5K.mjn32003-08-021-129/+154
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7154 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Vladimir N. Oleynik writes:andersen2003-07-301-2/+5
| | | | | | | | | | | | | | | | | | | This moment have algoritmicaly problem, not overflow: strcat(wrapped, wrapped) - may be looped. Hand patch: - else if (strstr(strcat(wrapped, wrapped), newmono)) + else { + safe_strncpy(wrapped + lenwrap, wrapped, lenwrap + 1); + if (strstr(wrapped, newmono)) +} --w vodz git-svn-id: svn://busybox.net/trunk/busybox@7137 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bruno Randolf writes:andersen2003-07-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | this patch fixes run_parts when it's called by ifupdown. 1) argv has to be a NULL terminated char* array, not just a string. 2) run_parts now explicitly sets the environment. this environment is populated from the /etc/network/interfaces config file and is needed by the scripts in /etc/network/if-pre-up.d/. when run-parts is called from the command line the environment is taken from the current process. Vladimir Oleynik then wrote: You can simplify this if use: + bb_xasprintf(&buf[0], "/etc/network/if-%s.d", opt); + buf[1] = NULL; + + run_parts(&buf, 2, environ); + free(buf[0]); --w vodz git-svn-id: svn://busybox.net/trunk/busybox@7130 69ca8d6d-28ef-0310-b511-8ec308f3f277
* last_patch95 from vodz:andersen2003-07-282-1/+28
| | | | | | | | | | | | | | | | | | | | Hi. Last patch have new libbb function vfork_rexec() for can use daemon() to uClinux system. This patched daemons: syslog, klogd, inetd, crond. This not tested! I havn`t this systems. Also. Previous patch for feature request MD5 crypt password for httpd don`t sended to this mailist on 07/15/03 (mailist have Pytom module problem?). The previous patch included, and have testing. --w vodz git-svn-id: svn://busybox.net/trunk/busybox@7119 69ca8d6d-28ef-0310-b511-8ec308f3f277
* James Petterson writes:andersen2003-07-281-2/+2
| | | | | | | | | | | | | | | | | | | | | I've found a possible bug in libbb/interface.c, in function if_readlist_proc(). This function calls get_name(), and passes as an argument 'name', a buffer of 16 bytes (IFNAMSIZ). The function get_name(), however, may use more than 16 bytes, when it is searching for aliases. Even if you don't have an alias interface, you can run into trouble if the interface has received more than 99999999 bytes, in which case the space between the interface name and the rx stats disappears, as in the /proc/net/dev example below: wan0.200:264573315 462080 ... In this case get_name() correctly identifies the interface name as "wan0.200", but to do that it uses 18 bytes of the 'name' buffer, which could lead to an unpredictable error. A simple solution would be to increase the size of the buffer: git-svn-id: svn://busybox.net/trunk/busybox@7117 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove remaining libc5 support codeandersen2003-07-226-274/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7090 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update a bunch of docs. Run a script to update my email addr.andersen2003-07-1454-80/+73
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7061 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixup compile problem with dmallocandersen2003-07-051-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7044 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Russell Coker:andersen2003-07-033-3/+30
| | | | | | | | I've attached my latest SE Linux patch for busybox against the latest CVS version of busybox. git-svn-id: svn://busybox.net/trunk/busybox@7031 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Using safe_read seems, well, safer...andersen2003-07-031-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7028 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Geir Thomassen wrote, regarding networking/httpd.c line 1358andersen2003-06-262-2/+2
| | | | | | | | | | | | | | | | | Hello, I think the test for an unconfigured httpd is wrong in the CVS (busybox-unstable-20030620.tar.bz2) flg_deny_all is default 0 vodz then wrote: Oops. You are right. Also, this mistake haved from two place. Last patch rewroted to my new get_ularg() function for overcompensate size from this error found ;-) git-svn-id: svn://busybox.net/trunk/busybox@6981 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Don't shadow a paramaterandersen2003-06-201-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6945 69ca8d6d-28ef-0310-b511-8ec308f3f277
* last_patch89 from vodz:andersen2003-06-202-8/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Manuel, I rewrite bb_getopt_ulflags() function for more universal usage. My version support now: - options with arguments (optional arg as GNU extension also) - complementaly and/or incomplementaly and/or incongruously and/or list options - long_opt (all applets may have long option, add supporting is trivial) This realisation full compatibile from your version. Code size grow 480 bytes, but only coreutils/* over compensate this size after using new function. Last patch reduced over 800 bytes and not full applied to all. "mkdir" and "mv" applets have long_opt now for demonstrate trivial addition support long_opt with usage new bb_getopt_ulflags(). Complementaly and/or incomplementaly and/or incongruously and/or list options logic is not trivial, but new "cut" and "grep" applets using this logic for examples with full demostrating. New "grep" applet reduced over 300 bytes. Mark, Also. I removed bug from "grep" applet. $ echo a b | busybox grep -e a b a b a b But right is printing one only. --w vodz git-svn-id: svn://busybox.net/trunk/busybox@6939 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Vodz, last_patch_88bug12003-06-101-4/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6906 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Put this back the way it was. I misunderstood what vodz was doing.andersen2003-05-271-23/+17
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6862 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make all syscall declarations use the syscall() functionandersen2003-05-262-63/+64
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6859 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This was doing some silly stuff that is not necessary when usingandersen2003-05-261-17/+23
| | | | | | | vfork(), so I have simplified it. git-svn-id: svn://busybox.net/trunk/busybox@6858 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Skip printing "/proc/%d/cmdline" stuff when it is not relevantandersen2003-05-261-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6856 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove cruftandersen2003-05-261-2/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6855 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Vodz, last_patch_86bug12003-05-2612-61/+79
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6853 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix \l so it doesnt print the character as well as the tty, from oldbug12003-05-131-1/+2
| | | | | | | patch by Nick Fedchik git-svn-id: svn://busybox.net/trunk/busybox@6834 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Dmitry V. Levin to fix a fd leakandersen2003-05-021-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6830 69ca8d6d-28ef-0310-b511-8ec308f3f277
* sync with waldibug12003-04-211-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6804 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from David Updegraff to use calloc so that forward pointers start outandersen2003-04-191-7/+29
| | | | | | | | NULL, and so it can handle format strings that have stuff _after_ the last %? specification git-svn-id: svn://busybox.net/trunk/busybox@6798 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Minor .o file naming changeandersen2003-04-162-5/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6796 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Restrict octal perms to <= 07777. Cosmetic error message change.mjn32003-03-191-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6754 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Obligatory forgotten item.mjn32003-03-191-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6753 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major coreutils update.mjn32003-03-1978-1049/+1823
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6751 69ca8d6d-28ef-0310-b511-8ec308f3f277
* With nightmares of libbb ending up with 100 .c files startingandersen2003-03-072-1/+1
| | | | | | | | with "bb_" it seems best to rename this now and avoid starting an evil KDE style naming trend. git-svn-id: svn://busybox.net/trunk/busybox@6715 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Define bb_xgetlarg as a standard interface for extractingandersen2003-03-072-1/+29
| | | | | | | | numbers from getopt which includes careful error checking. -Erik git-svn-id: svn://busybox.net/trunk/busybox@6713 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Write all the help text for the util-linux utilities. Allowandersen2003-02-271-1/+1
| | | | | | | | | people to locate the mtab file somewhere other that /etc to accomodate read only root filesystems. -Erik git-svn-id: svn://busybox.net/trunk/busybox@6643 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix compiler warnings, patch by Steven Scholzbug12003-02-092-5/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6549 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Login prompt function, part of waldi's telnetd from inetd patchbug12003-01-211-0/+124
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6408 69ca8d6d-28ef-0310-b511-8ec308f3f277
* run telnet from inetd, present login prompt if login is configured,bug12003-01-211-1/+1
| | | | | | | patch from Bastian Blank git-svn-id: svn://busybox.net/trunk/busybox@6407 69ca8d6d-28ef-0310-b511-8ec308f3f277
* New test mode that allows run_parts to fail silently if the directorybug12003-01-201-4/+9
| | | | | | | is not found. Patch from Bastian Blank git-svn-id: svn://busybox.net/trunk/busybox@6395 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make test mode output same as official versionbug12003-01-201-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6394 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Eliminate most instances where we use linux kernel headersandersen2003-01-141-2/+7
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@6329 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Correct some init issues, update email address, last_patch78 by Vladimirbug12003-01-132-2/+2
| | | | | | | N. Oleynik git-svn-id: svn://busybox.net/trunk/busybox@6323 69ca8d6d-28ef-0310-b511-8ec308f3f277
* rmmod -a removed modules recursivelytimr2002-12-142-1/+30
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6214 69ca8d6d-28ef-0310-b511-8ec308f3f277