aboutsummaryrefslogtreecommitdiff
path: root/include/libbb.h
AgeCommit message (Collapse)Author
2003-08-01Remove code that too agressively disabled inlinesEric Andersen
2003-07-29Bruno Randolf writes:Eric Andersen
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
2003-07-28last_patch95 from vodz:Eric Andersen
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
2003-07-22Remove remaining libc5 support codeEric Andersen
2003-07-22Patch from Paul Mundt:Eric Andersen
The current SC_x references automatically assume that everyone uses ttyS/tts as their naming scheme for their serial ports. This isn't the case for quite a few architectures, including sh, sh64, h8, arm, etc.
2003-07-07This declaration no longer needs to hide when using dmallocEric Andersen
2003-07-03Patch from Russell Coker:Eric Andersen
I've attached my latest SE Linux patch for busybox against the latest CVS version of busybox.
2003-06-26Geir Thomassen wrote, regarding networking/httpd.c line 1358Eric Andersen
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 ;-)
2003-06-20Add prototype update missing from last_patch89. Fix screwyEric Andersen
formatting in cut.
2003-06-20last_patch89 from vodz:Eric Andersen
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
2003-05-26Make all syscall declarations use the syscall() functionEric Andersen
2003-05-26Vodz, last_patch_86Glenn L McGrath
2003-03-19Major coreutils update.Manuel Novoa III
2003-03-07Define bb_xgetlarg as a standard interface for extractingEric Andersen
numbers from getopt which includes careful error checking. -Erik
2003-02-08Patch from mathuria, compatability with solarisGlenn L McGrath
2003-01-21run telnet from inetd, present login prompt if login is configured,Glenn L McGrath
patch from Bastian Blank
2003-01-20New test mode that allows run_parts to fail silently if the directoryGlenn L McGrath
is not found. Patch from Bastian Blank
2003-01-13Correct some init issues, update email address, last_patch78 by VladimirGlenn L McGrath
N. Oleynik
2002-12-14rmmod -a removed modules recursivelyTim Riker
2002-12-13Merge copyfd and copy_file_chunkGlenn L McGrath
2002-12-08Move add_to_list from libunarchive to libbb so it can be of more general use ↵Glenn L McGrath
(eg ifupdown). Changed the name to llist_add_to as i plan on adding more llist_ functions as needed (e.g. llist_free).
2002-12-02Move compare_string_array to libbbGlenn L McGrath
2002-11-11Move awk from textutils to editors. Cleanup run-parts, saves 200 bytes, ↵Glenn L McGrath
moves the guts of run_parts to libbb to be used by ifupdown.
2002-11-03Abstract read and seek in unarchiving code, convert bunzip to file ↵Glenn L McGrath
descriptors, support tar -j
2002-10-22Patch last_pach62 from vodz. This patch moves all the /proc parsingEric Andersen
code into libbb so it can be shared by ps, top, etc, saving over 1.5k.
2002-09-30Vodz' last_patch57:Eric Andersen
Hi, Erik. my_getpw(uid/gid) and applets used it have problem: if username for uid not found, applets can`t detect it (but code pessent). Also "%8ld " format is bad: spaces not required (applets have self format or spec format (tar applet) and overflow for "id" applet...) This problem also pressent in stable version. Patch for unstable in attach. --w vodz
2002-09-27Fix compress support and prevent a segfaultGlenn L McGrath
2002-09-25Reverse some minor changes that got caught up in my big unarchive patchGlenn L McGrath
2002-09-25New common unarchive code.Glenn L McGrath
2002-09-16Apply vodz' last_patch52Eric Andersen
2002-08-22define inline if needed for ANSI C compatabilityGlenn L McGrath
2002-08-22Remove definition of is_octal and is_decimal, they arent usedGlenn L McGrath
2002-07-19Applied vodz' patches #49 and #50 (with a small correction in runshell.c)Robert Griebl
#49: I found one memory overflow and memory leak in "ln" applet. Last patch reduced also 54 bytes. ;) #50: I found bug in loginutils/Makefile.in. New patch have also new function to libbb and aplied this to applets and other cosmetic changes.
2002-07-03Scrub pwd.h and grp.h handling so we don't have to play anyEric Andersen
silly games. -Erik
2002-07-03This patch from Bart Visscher <magick@linux-fan.com> addsEric Andersen
IPV6 support to busybox. This patch does the following: * Add IPv6 support to libbb * Enable IPv6 interface address display * Add IPv6 config option * Adds ping6, an adaptation of the ping applet for IPv6 * Adds support routines for ping6: - xgethostbyname2 - create_icmp6_socket * Adds ifconfig support for IPv6 * Add support IPv6 to netstat * Add IPv6 support to route Thanks Bart!
2002-06-23Port over the last of the tinylogin appletsEric Andersen
-Erik
2002-06-04Implement two types of suid/sgid support for BusyBox:Robert Griebl
1) tinylogin like with compile time selection and a chown root.root 2) Runtime configurable via /etc/busybox.conf (docu is in the works) [Parts of this patch may overlap with my other two patches]
2002-04-13Stupid gcc always includes its own builtin strlen()...Eric Andersen
2002-03-20Fix devfs loop device supportEric Andersen
2002-01-02unzip applet by Laurence AndersonGlenn L McGrath
----------------------------------------------------------------------
2001-12-17Make cp and mv optionally preserve hard links.Matt Kraai
2001-12-06If find_pid_by_name() had an error, it was returning -1, but storingEric Andersen
that into a pid_t, which is unsigned on a number archs. Furthermore, find_pid_by_name() would _never_ return an error if the intended proces was "init", but instead would return 1, meaning we would fail to work on 2.4.x kernels running an initrd... -Erik
2001-10-25libunarchive, and recovery from my previous commitGlenn L McGrath
2001-10-25Modify applets to use libunarchiveGlenn L McGrath
2001-10-24Major rework of the directory structure and the entire build system.Eric Andersen
-Erik
2001-10-13unarchive function changed to support both exclude and include lists, ↵Glenn L McGrath
applets that use unarchive changed to match.
2001-10-05Invert FILEUTILS_PRESERVE_SYMLINKS into FILEUTILS_DEREFERENCE.Matt Kraai
2001-08-24Eliminate improper consts and allow standard version to override.Matt Kraai
2001-08-10Commit Vladimir's simplify_path.Matt Kraai
2001-08-02More libc5 fixupsEric Andersen
-Erik