aboutsummaryrefslogtreecommitdiff
path: root/libbb (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Save 0.5K.Manuel Novoa III2003-08-021-129/+154
|
* Vladimir N. Oleynik writes:Eric 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
* Bruno Randolf writes:Eric 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
* last_patch95 from vodz:Eric 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
* James Petterson writes:Eric 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:
* Remove remaining libc5 support codeEric Andersen2003-07-226-274/+10
|
* Update a bunch of docs. Run a script to update my email addr.Eric Andersen2003-07-1454-80/+73
|
* Fixup compile problem with dmallocEric Andersen2003-07-051-1/+1
|
* Patch from Russell Coker:Eric Andersen2003-07-033-3/+30
| | | | | I've attached my latest SE Linux patch for busybox against the latest CVS version of busybox.
* Using safe_read seems, well, safer...Eric Andersen2003-07-031-1/+1
|
* Geir Thomassen wrote, regarding networking/httpd.c line 1358Eric Andersen2003-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 ;-)
* Don't shadow a paramaterEric Andersen2003-06-201-3/+3
|
* last_patch89 from vodz:Eric 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
* Vodz, last_patch_88Glenn L McGrath2003-06-101-4/+7
|
* Put this back the way it was. I misunderstood what vodz was doing.Eric Andersen2003-05-271-23/+17
|
* Make all syscall declarations use the syscall() functionEric Andersen2003-05-262-63/+64
|
* This was doing some silly stuff that is not necessary when usingEric Andersen2003-05-261-17/+23
| | | | vfork(), so I have simplified it.
* Skip printing "/proc/%d/cmdline" stuff when it is not relevantEric Andersen2003-05-261-1/+1
|
* Remove cruftEric Andersen2003-05-261-2/+0
|
* Vodz, last_patch_86Glenn L McGrath2003-05-2612-61/+79
|
* Fix \l so it doesnt print the character as well as the tty, from oldGlenn L McGrath2003-05-131-1/+2
| | | | patch by Nick Fedchik
* Patch from Dmitry V. Levin to fix a fd leakEric Andersen2003-05-021-0/+1
|
* sync with waldiGlenn L McGrath2003-04-211-1/+1
|
* Patch from David Updegraff to use calloc so that forward pointers start outEric Andersen2003-04-191-7/+29
| | | | | NULL, and so it can handle format strings that have stuff _after_ the last %? specification
* Minor .o file naming changeEric Andersen2003-04-162-5/+5
|
* Restrict octal perms to <= 07777. Cosmetic error message change.Manuel Novoa III2003-03-191-1/+1
|
* Obligatory forgotten item.Manuel Novoa III2003-03-191-2/+2
|
* Major coreutils update.Manuel Novoa III2003-03-1978-1049/+1823
|
* With nightmares of libbb ending up with 100 .c files startingEric Andersen2003-03-072-1/+1
| | | | | with "bb_" it seems best to rename this now and avoid starting an evil KDE style naming trend.
* Define bb_xgetlarg as a standard interface for extractingEric Andersen2003-03-072-1/+29
| | | | | numbers from getopt which includes careful error checking. -Erik
* Write all the help text for the util-linux utilities. AllowEric Andersen2003-02-271-1/+1
| | | | | | people to locate the mtab file somewhere other that /etc to accomodate read only root filesystems. -Erik
* Fix compiler warnings, patch by Steven ScholzGlenn L McGrath2003-02-092-5/+4
|
* Login prompt function, part of waldi's telnetd from inetd patchGlenn L McGrath2003-01-211-0/+124
|
* run telnet from inetd, present login prompt if login is configured,Glenn L McGrath2003-01-211-1/+1
| | | | patch from Bastian Blank
* New test mode that allows run_parts to fail silently if the directoryGlenn L McGrath2003-01-201-4/+9
| | | | is not found. Patch from Bastian Blank
* Make test mode output same as official versionGlenn L McGrath2003-01-201-3/+3
|
* Eliminate most instances where we use linux kernel headersEric Andersen2003-01-141-2/+7
| | | | -Erik
* Correct some init issues, update email address, last_patch78 by VladimirGlenn L McGrath2003-01-132-2/+2
| | | | N. Oleynik
* rmmod -a removed modules recursivelyTim Riker2002-12-142-1/+30
|
* Merge copyfd and copy_file_chunkGlenn L McGrath2002-12-133-17/+47
|
* Move add_to_list from libunarchive to libbb so it can be of more general use ↵Glenn L McGrath2002-12-082-1/+16
| | | | (eg ifupdown). Changed the name to llist_add_to as i plan on adding more llist_ functions as needed (e.g. llist_free).
* Re-sort filenames to alphebetical order.Glenn L McGrath2002-12-071-21/+21
|
* Commit to reverse my previous commit, isnt cvs supposed to have some undo ↵Glenn L McGrath2002-12-071-2/+2
| | | | command ?
* include "busybox" after the libc includes tofix compile errorsGlenn L McGrath2002-12-071-2/+2
|
* Kill CONFIG_FEATURE_USE_DEVPS_PATCH and the devps patch. I'm notEric Andersen2002-12-053-92/+2
| | | | | maintaining it anymore, and it is now terribly out of date. -Erik
* Save 10 bytes or so, last_patch_70 from Vladimir N. OleynikGlenn L McGrath2002-12-031-8/+6
|
* last_patch_69, 8 bit clean and other fixes from Vladimir N. OleynikGlenn L McGrath2002-12-021-1/+1
|
* Move compare_string_array to libbbGlenn L McGrath2002-12-022-2/+32
|
* Use error_msg instead of fprintf(stderrGlenn L McGrath2002-11-281-4/+4
|
* Use error_msg instead of fprintf(stderrGlenn L McGrath2002-11-281-2/+1
|