aboutsummaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2005-07-30in order to make sure the INET6 prototypes are exported, we would have to ↵Mike Frysinger
include the libbb.h header file ... but then we have to worry about including too early/etc... since simply defining the prototype in an internal header file doesnt hurt anyone, lets not worry about the header file crap and just always prototype the inet6 functions
2005-07-27#ifdef reduction infrastructure, based on an argument between Shaun Jackman,Rob Landley
Rob Landley, and others. Currently CONFIG options are defined or undefined, so we chop out code with #ifdefs, ala: #ifdef CONFIG_THING stuff(); #endif This creates a new header file, bb_config.h, which sets the CONFIG entry to 1 or 0, and lets us do: if(CONFIG_THING) stuff(); And let the compiler do dead code elimination to get rid of it. (Note: #ifdef will still work because for the 1 case it's a static const int, not a #define.)
2005-07-20applying fixes from: Paul Fox
0000142: unzip enhancements
2005-07-19applying fix from;Paul Fox
0000092: looks like the initializer for .need_suid was missing.
2005-07-18a bit more polishEric Andersen
2005-07-18a bit of polish on makedevsEric Andersen
2005-07-18Fixup device table based makedevs so it actually worksEric Andersen
2005-06-20Rodney Radford submitted ipcs and ipcrm (system V IPC stuff). They could useRob Landley
some more work to shrink them down.
2005-06-11import initial fat mke2fsMike Frysinger
2005-06-11import tune2fs supportMike Frysinger
2005-06-09About time to just apply this and kill off the patchesEric Andersen
2005-05-20Add readprofile applet support.Paul Mundt
2005-05-14Add automatic umount support to eject command. Patch from Tito,Rob Landley
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?
2005-05-12update usage to match actual behaviorMike Frysinger
2005-05-11Small comm implementatin from Rob Sullivan. Needed to build perl.Rob Landley
2005-05-11import ether-wake applet by haveaniceday Bug 252Mike Frysinger
2005-05-11change the hardcoded error constant (0x80000000UL) to a nice flexible define ↵Mike Frysinger
(BB_GETOPT_ERROR)
2005-05-11import eject by Peter Willis / Tito RagusaMike Frysinger
2005-05-06make the exec (-e) an optional feature of netcatMike Frysinger
2005-05-06In bug 247, haveaniceday writes:Mike Frysinger
The option "-w secs" adds a timeout for writing.
2005-05-03From: Shaun Jackman <sjackman@gmail.com>Rob Landley
To: busybox@mail.codepoet.org Wrap sockaddr_in6 in a ifdef CONFIG_FEATURE_IPV6. Include sys/types.h instead of asm/types.h. Include netinet/if_ether.h instead of linux/if_ether.h The ioctl request argument is an int, not an unsigned short.
2005-05-03A patch from Takeharu KATO to update/fix SE-Linux support.Rob Landley
2005-05-03Revert Tito's patch to zcip. My bad, David Brownell had objected and I missedRob Landley
it...
2005-05-01On Tuesday 19 April 2005 21:10, Tito wrote and today added:Rob Landley
> Hi, > this is a first attempt of size optimization for zcip taking into account all > the hints given so far on the list. > I've applied just the more obvious busyboxifications so maybe it could be > optimized more. BTW: I've ripped out a lot of debug code and changed c++ // comments to /* */ as both were rather confusing for a newbie like me. ;-) Sorry to the author for that. I know that this makes mantaining the code easier, but I'm simple minded....
2005-04-30David Brownell submitted a new applet, zcip, based on RFC 3927. This isRob Landley
version 0418b. It compiled.
2005-04-29New help text for Matthew S. Wood's "ln" update adding -b and -d.Rob Landley
2005-04-23fix whitespace usage, fix un-escaped quotes in a bunch of examples, and ↵Mike Frysinger
standardize a bunch of trivial/full usage statements (no trailing newline in either, and when listing options, dont append a . each time)
2005-04-23fix inconsistent whitespaceMike Frysinger
2005-04-23remove extra whitespaceMike Frysinger
2005-04-23stat implementation based upon coreutilsMike Frysinger
2005-04-22import lsattr and chattr from e2fsprogsMike Frysinger
2005-04-21printenv / sum definesMike Frysinger
2005-04-19fix whitespaceMike Frysinger
2005-04-17import fakeidentd module started by Thomas LundquistMike Frysinger
2005-04-16Add bb_msg_read_errorEric Andersen
2005-04-16In Bug 207, bernhardf writes:Mike Frysinger
proper escape strings in usage.h
2005-04-14fake out support for POSIX -H and -L options since busybox cp dereferences ↵Mike Frysinger
everything by default
2005-04-14add aliases == and [[ for = and [ to support more bash scriptsMike Frysinger
2005-03-04newlib fixe from Shaun JackmanMike Frysinger
2005-02-13Add 'nice' and replace 'renice' with a new implementation.Manuel Novoa III
2005-01-24Sort rewrite to be SUSv3 compliant. New config option, updated help, andRob Landley
a couple of infrastructure bits.
2005-01-07cp: make -P a synonym for -dMike Frysinger
2004-12-08- CONFIG_FEATURE_READLINK_FOLLOW readlink -f patch from Colin Watson ↵Ned Ludd
<cjwatson@debian.org> on busybox mailing list 08/11/04
2004-09-15Tito writes,Glenn L McGrath
"This patch fixes all the bugs in id previously spotted by vodz and me. The binary size increased a bit, but now it should work as expected."
2004-09-14Patch from Felipe Kellermann, adds missing applet usage options, removes usageGlenn L McGrath
for options that are currently not implemented and fixes typos.
2004-09-02Tito writes:Eric Andersen
The second patch contains: 1) a size optimization for adduser.c 2) removes a warning about an unused variable in syslogd.c if CONFIG_FEATURE_REMOTE_LOG is not set 3)cosmetic fixes for addgroup_full_usage and adduser_full_usage Ciao, Tito
2004-09-02Tito writes:Eric Andersen
Hi Erik, Hi to all, This is part five of the my_get*id story. I've tweaked a bit this two functions to make them more flexible, but this changes will not affect existing code. Now they work so: 1) my_getpwuid( char *user, uid_t uid, int bufsize) if bufsize is > 0 char *user cannot be set to NULL on success username is written on static allocated buffer on failure uid as string is written to buffer and NULL is returned if bufsize is = 0 char *user can be set to NULL on success username is returned on failure NULL is returned if bufsize is < 0 char *user can be set to NULL on success username is returned on failure an error message is printed and the program exits 2) 1) my_getgrgid( char *group, uid_t uid, int bufsize) if bufsize is > 0 char *group cannot be set to NULL on success groupname is written on static allocated buffer on failure gid as string is written to buffer and NULL is returned if bufsize is = 0 char *group can be set to NULL on success groupname is returned on failure NULL is returned if bufsize is < 0 char *group can be set to nULL on success groupname is returned on failure an error message is printed and the program exits This changes were needed mainly for my new id applet. It is somewhat bigger then the previous but matches the behaviour of GNU id and is capable to handle usernames of whatever length. BTW: at a first look it seems to me that it will integrate well (with just a few changes) with the pending patch in patches/id_groups_alias.patch. The increase in size is balanced by the removal of my_getpwnamegid.c from libbb as this was used only in previous id applet and by size optimizations made possible in whoami.c and in passwd.c. I know that we are in feature freeze but I think that i've tested it enough (at least I hope so.......).
2004-08-26The login applet should always be setuid rootEric Andersen
2004-08-26Tito writes:Eric Andersen
Hi, I've spent the half night staring at the devilish my_getpwuid and my_getgrgid functions trying to find out a way to avoid actual and future potential buffer overflow problems without breaking existing code. Finally I've found a not intrusive way to do this that surely doesn't break existing code and fixes a couple of problems too. The attached patch: 1) changes the behaviour of my_getpwuid and my_getgrgid to avoid potetntial buffer overflows 2) fixes all occurences of this function calls in tar.c , id.c , ls.c, whoami.c, logger.c, libbb.h. 3) The behaviour of tar, ls and logger is unchanged. 4) The behavior of ps with somewhat longer usernames messing up output is fixed. 5) The only bigger change was the increasing of size of the buffers in id.c to avoid false negatives (unknown user: xxxxxx) with usernames longer than 8 chars. The value i used ( 32 chars ) was taken from the tar header ( see gname and uname). Maybe this buffers can be reduced a bit ( to 16 or whatever ), this is up to you. 6) The increase of size of the binary is not so dramatic: size busybox text data bss dec hex filename 239568 2300 36816 278684 4409c busybox size busybox_fixed text data bss dec hex filename 239616 2300 36816 278732 440cc busybox 7) The behaviour of whoami changed: actually it prints out an username cut down to the size of the buffer. This could be fixed by increasing the size of the buffer as in id.c or avoid the use of my_getpwuid and use getpwuid directly instead. Maybe this colud be also remain unchanged...... Please apply if you think it is ok to do so. The diff applies on today's cvs tarball (2004-08-25). Thanks in advance, Ciao, Tito
2004-08-19Patch from Tito documenting the '-q' optionEric Andersen