fli4l
  1. fli4l

busybox

Public
  1. fli4l
  2. busybox

All Branches Graph

        
AuthorCommitMessageCommit dateBuilds
John BeppuJohn Beppu
5bca0afb319- split busybox.pod into a header and footer. the body will be generated by docs/autodocifier.pl
John BeppuJohn Beppu
9a1395b9fd8- documentation updates and a minor tweak to POD generation
Eric AndersenEric Andersen
4e2439ad27bIt seems all the stdout munging was useless anyways, since deb_extract and all its called functions do nothing with s...
Eric AndersenEric Andersen
911af57ff82Be more generic for libc5. We don't need to know struct definitions to make the syscall finction -- use a generic po...
Eric AndersenEric Andersen
64c8b1762c2Another iteration -- adjust the init_module syscall a bit. -Erik
Eric AndersenEric Andersen
acc7757312f*** empty log message ***
Eric AndersenEric Andersen
a2a978ae23eSome further syscall adjustments. Split the module syscalls out of insmod and into libbb. Only enable them for libc5...
Eric AndersenEric Andersen
fdefbbbe85bdpkg_deb had not been updated for the new gunzip interface. Fix it. -Erik
Eric AndersenEric Andersen
e76c3b08e10A number of cleanups. Now compiles with libc5, glibc, and uClibc. Fix a few shadowed variables. Move (almost) all ...
Eric AndersenEric Andersen
3c0364f3911Patch from Larry Doolittle to eliminate needless thrashing about when trimming long strings with lots of trailing whi...
Eric AndersenEric Andersen
4fd382ea29cRemove unused optarg variable
Eric AndersenEric Andersen
06070532baaFailed to name "Electric-fence" explicitly
Eric AndersenEric Andersen
d402edfd635Some cleanups for libc5 support
Eric AndersenEric Andersen
14fe392ddedFix a warning with libc5. -Erik
Eric AndersenEric Andersen
b2e3e9b0c91Seems that stupid libc5 doesn't implement daemon(), so conditionally inclde that here. -Erik
Matt KraaiMatt Kraai
2129f97cd95Avoid segfault when export is invoked with no arguments. Thanks to Gennady Feldman.
Eric AndersenEric Andersen
3f980405543I said no new features till after the 0.51 release. Well, I lied. This is a vi editor for busybox, contributed by S...
Eric AndersenEric Andersen
91c93887151Place a temporary bandaid on the ls/du/df human-readable issue. This method is not going to scale up as well as I wo...
Eric AndersenEric Andersen
24073c76658Add in easy-to-use electric-fence support. -Erik
Eric AndersenEric Andersen
60b2d8d2c8bif strlen(s) was 0, it would then end up using s[-1] as an array index. Bad, bad, bad. This was crashing the shell ...
Eric AndersenEric Andersen
c97ec34370fA patch from Matt Kraai that adds a new 'shutdown' action to busybox init. Now you can specify an arbitrary behavior...
Eric AndersenEric Andersen
0f0c0b41cedMake 'busybox --help' work as expected, closing bug #1139 -Erik
Eric AndersenEric Andersen
c0c502e1728Fix for bug 1143 from Larry Doolittle -Erik
Eric AndersenEric Andersen
c4cef5ab063Move the mtab support stuff into libbb -Erik
Eric AndersenEric Andersen
f77d88641d9Formatting change
Glenn L McGrathGlenn L McGrath
1e117b47523Dont try and automount devfs, rename some variables
Eric AndersenEric Andersen
84e229cfbe0Add in a new standalone env applet for fixing up app's environments -Erik
Eric AndersenEric Andersen
e5c24dfd010Use daemon() to spawn syslogd and klogd daemons. -Erik
Eric AndersenEric Andersen
3a6da8c1831gz_open and gz_close were left in, even when BB_FEATURE_TAR_GZIP was disabled. Fix that.
Glenn L McGrathGlenn L McGrath
5f2ef46d6ddFix zcat
Glenn L McGrathGlenn L McGrath
ed7a7765384gunzip -c works again
Glenn L McGrathGlenn L McGrath
ae8ad35590aFixes from Robert Kaiser
Mark WhitleyMark Whitley
e0a7f917c29Applied patch from David Douthitt to re-add -print option to find. Closes bug #1144.
Eric AndersenEric Andersen
c8355679143Fix ls so it uses make_human_readable_str() the same way already used by 'du' and 'df'. Now we just need to fix make...
Matt KraaiMatt Kraai
d98e574d412Patch bass ackwards behavior of hr flag.
Matt KraaiMatt Kraai
7cd0cfeab69Rewrite to fix bug #1140 and make it slightly smaller.
Glenn L McGrathGlenn L McGrath
f957c779104Enable tar -z support again by default
Glenn L McGrathGlenn L McGrath
02cebebc3b3Remove cruft
Glenn L McGrathGlenn L McGrath
92339599409Remove tar_unzip_init() not needed any more, uses gz_open instead
Glenn L McGrathGlenn L McGrath
018e9e6799eFix tar -z, calls gz_open now
Glenn L McGrathGlenn L McGrath
ee79ca1ba69Disable tar -z for now
Glenn L McGrathGlenn L McGrath
0cbc8cf4c9bGunzip changes broke tar -z support (woops)
Glenn L McGrathGlenn L McGrath
58e42d5356bMajor cleanup to better adhere to style guide and use standard busybox functions
Glenn L McGrathGlenn L McGrath
f58efb57d1cAdd functions that were shared with gunzip.c, gunzip about to change.
Matt KraaiMatt Kraai
a2e68fc2331Change BB_FEATURE_TRIVIAL_HELP to BB_FEATURE_VERBOSE_USAGE (per bug #1130).
Mark WhitleyMark Whitley
5b8939b1472Some more words on sending patches to the bug-tracker.
Mark WhitleyMark Whitley
9a2144663a9Applied patch from David Douthitt to fix problem where ls reports half the file size. Should close bug #1140.
Mark WhitleyMark Whitley
cc7b4f39fcaSome more tests for cut. Craig Matsuura said he saw some problems along these lines. "Works for me", but we'll keep t...
Mark WhitleyMark Whitley
bff6b18bf90Applied patch from Gennady Feldman to fix a single-threaded syslogd bug that turned up. This code needs to be tested ...
Mark WhitleyMark Whitley
2b549c3be0cFixed the Makefile so busybox can link against libc5 again. Putting libbb.a at the end broke it.
Mark WhitleyMark Whitley
5cd2a2d53e5In fact, socklen_t *is* defined by libc5.
Mark WhitleyMark Whitley
a82a00397fcFix to last patch: locale code should be 9, not 7.
Mark WhitleyMark Whitley
1c6581a8659Applied patch from Vladimir N. Oleynik to add locale support to the shell per bug report from Ralph Jones.
Mark WhitleyMark Whitley
af633757d3aApplied patch from Anthony Towns that he posted to Debian bug tracking.
Manuel Novoa IIIManuel Novoa III
049dc25fe77Fix in_ether bug regarding hex digits reported by Jonas Holmberg <jonas.holmberg@axis.com>.
Eric AndersenEric Andersen
36eff9ac554Bump version number to 0.51pre
Eric AndersenEric Andersen
6f3240abf94xstrdup xargs cleanup from Jeff Garzik
Eric AndersenEric Andersen
6b2c23d847axstrdup tftp cleanup from Jeff Garzik
Eric AndersenEric Andersen
21af752b04fPatch to use xfopen from Jeff Garzik
Eric AndersenEric Andersen
f6aa13d4030-Wshadow tr fix from Jeff Garzik
Eric AndersenEric Andersen
82ab8da2459-Wshadow sh fix from Jeff Garzik
Eric AndersenEric Andersen
8ffaf8d139a-Wshadow logread fix from Jeff Garzik
Eric AndersenEric Andersen
c54f9530eee-Wshadow loadacm fix from Jeff Garzik
Eric AndersenEric Andersen
08ff8a49ba1includes cleanup from Jeff Garzik
Mark WhitleyMark Whitley
0b4d73a53cdSome minor wordsmithing, an extra item in the list of "things Busybox doesn't need", example of a testcase, more jani...
Eric AndersenEric Andersen
82bb8a2bf82Patch from Dirk Behme <dirk.behme@de.bosch.com> to add EM_MIPS_RS3_LE for mips -Erik
Eric AndersenEric Andersen
851895ab803Clean up more local vars which shadow globals -Erik
Eric AndersenEric Andersen
1ca20a77476A nice patch from Larry Doolittle that adds -Wshadow and cleans up most of the now-revealed problems.
Mark WhitleyMark Whitley
7447642a47cAdded a section on the available Busybox boot-floppy image. Also provided some linkes to a Wired article on Midori Li...
Mark WhitleyMark Whitley
6f93277f56fAdded adjtimex applet from Larry Doolittle.
Eric AndersenEric Andersen
ba372620c25Force applet_name to be "sh" when command prefaced by "-"
Eric AndersenEric Andersen
7ef1a5beb27Fix up command line munging in init. Postpone the askfirst thing till a bit later in run().
Eric AndersenEric Andersen
4ef37d0c176chown was missing a ] in its usage msg
Eric AndersenEric Andersen
92d23245c93Another cleanup patch from Jeff Garzik <jgarzik@mandrakesoft.com>
Eric AndersenEric Andersen
40eaa9f0bb2Size optimization for rdate from Vladimir
Eric AndersenEric Andersen
82693964919Simpify detection of no options.
Eric AndersenEric Andersen
2ccfef20046Patch from Vladimir to move struct applet from busybox.c to applets.c, which looks like the right place for such thin...
Eric AndersenEric Andersen
23c1a18126aPer suggestion from Vladimir, no need to initialize these -- let the bss do it. -Erik
Eric AndersenEric Andersen
7ef54de6726locale correction patch from Vladimir
Eric AndersenEric Andersen
b183dfad2daSplit error messages into separate files. Update libbb.h, per suggestion from Vladimir, to include __attribute__((fo...
Eric AndersenEric Andersen
cc165b9083eShould exclude "i" option when not enabled.
Eric AndersenEric Andersen
00b0496e697Doesn't need a "-" option -- getopt does that for us.
Eric AndersenEric Andersen
16f7015722fPatch from Vladimir to force interactiveFlag=FALSE when forceFlag=TRUE
Eric AndersenEric Andersen
7c25441792agetopt-ify rm so that BB_FEATURE_RM_INTERACTIVE will work
Eric AndersenEric Andersen
c75586e06d7Split libbb/pwd_grp_wrappers.c into 5 different libbb/my_* files. -Erik
Eric AndersenEric Andersen
61173a53714Fix to cmdedit.c from Vladimir
Eric AndersenEric Andersen
fa513aab48eSome configuration adjustments from Vladimir
Eric AndersenEric Andersen
8b960321393Fix a bug pointed out by Rob Landley <rlandley@austin.rr.com>, where setup_sockaddr_in was zeroing the sizeof a point...
Eric AndersenEric Andersen
341744781a3Patch from Larry and Vladimir to clean up sh.c and fix shell expansion to work in non POSIX locales.
Eric AndersenEric Andersen
1a6f8cfadf9update .cvsignore files to note new location of loop.h
Eric AndersenEric Andersen
8a6dbf6709ePatch from Pierre PEIFFER <pierre.peiffer@sxb.bsf.alcatel.fr> that copes with the fact that processes may have been s...
Eric AndersenEric Andersen
e2a3cd15a85Stupid thinko. egrep tried to call init. Sigh. Fix from Christophe Boyanique
Eric AndersenEric Andersen
aad1a88c76fConvert utility.c into libbb.a. It is now a whole pile of .c files. Clean up the resulting damage and fix up the ma...
Eric AndersenEric Andersen
dfba13d199bA few minor touchups.
Eric AndersenEric Andersen
704b2c21225There was an unwanted extra newline, which prevented building uudecode. How did this sneak through the testing until...
Eric AndersenEric Andersen
53b55ac08d5Fix the make release target.
Eric AndersenEric Andersen
c36c2ba598aUpdate webpage noting 0.50 release.
Eric AndersenEric Andersen
7f1978570fbA patch from Andreas Neuhaus to be especially careful to not dup any env variables when spawning child processes.
Eric AndersenEric Andersen
4aaefc2a506Fix from Larry for glob problems. -Erik
Eric AndersenEric Andersen
c5b3242d3d0Remove the "GPL2" bit, since it hung over the end of the line.
Mark WhitleyMark Whitley
056960d8dc3Applied patch from Larry Doolittle to fix problem where multibuild.pl would build the wrong files. Made the same chan...
Eric AndersenEric Andersen
0d5051def02Update files and version number prepratory to cutting a release. -Erik
Eric AndersenEric Andersen
3a0057e2c5bFix egrep
Mark WhitleyMark Whitley
f71378c4adcOne tiny little missing newline that confused pod.
Mark WhitleyMark Whitley
0a6f1d31e77One tinly, little, missing newline that confused Pod.
John BeppuJohn Beppu
e708cb5f9a7- generated middle section of busybox.pod w/ autodocifier.pl - updated autodocifier.pl to use tab to indent example s...
Eric AndersenEric Andersen
a4edd0e946fA better fix. Read nextPtr before mem gets freed. -Erik
Eric AndersenEric Andersen
f9ff8a7d908cmdedit.c bugfix patch from Vladimir. -Erik
John BeppuJohn Beppu
af9e533a541- properly indent Examples section in pod generator
Eric AndersenEric Andersen
48dcc16548bDon't confuse people. If the run 'ifconfig' and they didn't compile with BB_FEATURE_IFCONFIG_STATUS turned on, it wi...
Mark WhitleyMark Whitley
730cdb19047Reversed previous patch. The right way is to fix uClibc.
Eric AndersenEric Andersen
0d4e51d390bPrevent init from potentially using already freed memory when deleting an initAction, fixing a bug pointed out by And...
Mark WhitleyMark Whitley
0b57e283735Applied patch from Andreas Neuhaus to fix namespace conflict that made busybox not compile with uClibc.
Mark WhitleyMark Whitley
b0c2b7dfe32dos2unix logread.c
Eric AndersenEric Andersen
2825ee8c2c3Fix linuxrc define
Eric AndersenEric Andersen
a8035a51be6Move the warning msg after features.h gets pulled in. -Erik
Mark WhitleyMark Whitley
7384d7dce0fAdded some tests for some recently found / fixed bugs in the shell.
Eric AndersenEric Andersen
0d3a02eba76Update the documentation so examples are autoincluded in the output text. Fix up docs/busybox.pod with the latest aut...
Eric AndersenEric Andersen
670bea210e9Update the changelog, in preparation for making the 0.50 release
Eric AndersenEric Andersen
d8adaa279efUpdate the olympus sections
Mark WhitleyMark Whitley
3bf60aa7239If only BB_DPKG was enabled in Config.h, busybox would not build; it'd say: dpkg.c:18: #error It looks like you are...
Mark WhitleyMark Whitley
e110ccb672fRemoved leftover BB_FEATURE_KLOGD per report from Giulio Orsero
Manuel Novoa IIIManuel Novoa III
0e0883e0e90Fix stupid cut-and-paste bug... output RX/TX bytes instead of RX/RX bytes.
Mark WhitleyMark Whitley
038c8eb5a99Applied patch from Erik Habbinga to fix a problem with an uninitialized substitution delimiter.
Mark WhitleyMark Whitley
7ddaf7caaebAdded a section to describe how to convert variables to K&R style using the mk2knr.pl script. Also some minor cleanups.
Mark WhitleyMark Whitley
bac75ac2d5fScript that generates a script that will convert oddball variable names to K&R style.
Eric AndersenEric Andersen
1ef92685cf5Yesterday I make strsep_space include post-token whitespace, so we should not be adding another " " between tokens. ...
Eric AndersenEric Andersen
ce4a586edb6I forgot to malloc space for the NULL. -Erik
Mark WhitleyMark Whitley
40e5e7c7eaaApplied patch from Christophe Boyanique to add an egrep alias for grep.
Mark WhitleyMark Whitley
20f61d35de0The patch I previously applied from Brian Webb was 2 lines off. Oops.
Mark WhitleyMark Whitley
44a99147095Applied patch from Larry Doolittle to fix '>\na\n' bug. Should close bug #1132
Mark WhitleyMark Whitley
2892c35bdbfApplied patch from Giulio Orsero to fix some preprocessor bugs.
Eric AndersenEric Andersen
82d85024093Fix from Manuel for a silly thinko on my part.
Eric AndersenEric Andersen
53f5061c7e8Fix init so that checking for terminal devices is delayed until the devices are actually used, thereby allowing devfs...
Eric AndersenEric Andersen
bdc8db96853Use the system passwd and group stuff by default
Eric AndersenEric Andersen
741f2c9898dFix mtab so it works on libc5
Eric AndersenEric Andersen
b9a1e56a80cNo reason to include fstab. It breaks libc5, does nothing for glibc. -Erik
Eric AndersenEric Andersen
2b1c367a985Amazing the difference between an "and" and an "or".
Eric AndersenEric Andersen
3c0b425cdeedpkg used tfind, which doesn't work with libc5. Print a friendy error should someone try to use it... -Erik
Eric AndersenEric Andersen
14e9e9d1cabFix socklen_t for libc5
Eric AndersenEric Andersen
9c09e0eeaa3The IPC_SYSLOG stuff should be off by default. -Erik
Eric AndersenEric Andersen
c319601db52Some updates for libc5
Eric AndersenEric Andersen
4e7244e6b2blibc5 glob is pretty stupid and doesn't do GLOB_BRACE or GLOB_TILDE -Erik
Mark WhitleyMark Whitley
8658816f719Added a dependency on BB_MKFS_MINIX to xfopen().
Mark WhitleyMark Whitley
f594986b374- Changed name of BB_FEATURE_SIMPLE_PROMPT to BB_FEATURE_SH_SIMPLE_PROMPT - Set BB_FEATURE_SH_STANDALONE_SHELL and B...
Mark WhitleyMark Whitley
c75f83d8740Some new testcases, some improvements to the tester.sh script.
Eric AndersenEric Andersen
b3d6e2df95aUpdate the lash shell (hopefully the last time...) so things like echo "foo bar" and echo -n "foo\t\\\\\tbar" work ...
Mark WhitleyMark Whitley
798ab301c77Added Midori Linux to the list of known projects that use Busybox.
Mark WhitleyMark Whitley
f6ba2da29f8Credited Christophe Boyaniqu for interactive patch to rm.
Mark WhitleyMark Whitley
e0bf91d7c61Applied patch from Christophe Boyanique to add -i support to rm.
Mark WhitleyMark Whitley
53737c5421bSome fixlets that didn't get added in the last 'syslogd split' patch: - BB_LOGREAD should not be in the applet secti...
Mark WhitleyMark Whitley
6bff9cc487cAdded some comment lines in the header indicating that Gennady Feldman is the maintainer of these three applets.
Mark WhitleyMark Whitley
bd2e42f162dApplied a patch from Brian Webb to fix a problem with mount on the Agenda PDA. Apparently, the mount() call does not ...
Mark WhitleyMark Whitley
94fd480babdApplied patch from John Lombardo to fix OOM in insmod.
Mark WhitleyMark Whitley
6317c4baf79Applied patch from Gennady Feldman to split up syslogd.c into syslogd and klogd (as it should be).
Eric AndersenEric Andersen
4987bbf9792A fix from Larry Doolittle for some nasty segfaults when sh.c tried to free a corrupted cmd pointer, and where it wou...
Mark WhitleyMark Whitley
5ec5415402eProgram for testing concurrent access to syslogd.
Mark WhitleyMark Whitley
1a49fc5e92eApplied patch from Gennady Feldman to use single-thread instead of forking.
Manuel Novoa IIIManuel Novoa III
fe4e13fb972Add missing dependency -- interface.c needs get_kernel_revision.
Manuel Novoa IIIManuel Novoa III
22b889a9988Adjust ifconfig usage message for selected options and current functionality.
Manuel Novoa IIIManuel Novoa III
68ea1d03256Reduced code size of interface. Support ifconfig -a and ifconfig interface display. Change %llu to %Lu in ifconfig ...
Eric AndersenEric Andersen
1365bb78615When using wordexp, only try to use the expand command when something actually got expanded. Skip it otherwise. -Erik
Manuel Novoa IIIManuel Novoa III
78f57460f27Quick mod to enable option -a for ifconfig.
Mark WhitleyMark Whitley
d2117e9c828Created new regression testing framework with a number of testcases (many more can be added). Also changed 'test' tar...
Mark WhitleyMark Whitley
09f4af5afd1/* getopt not needed */
Mark WhitleyMark Whitley
827e45c518fAdded some more '/* getopt not needed */' lines.
Manuel Novoa IIIManuel Novoa III
fa45f22e509Use perror_msg_and_die function where appropriate.
Eric AndersenEric Andersen
d92168486bdFixed df.c so that nfs volumes will display properly (fixing bug #1113). Problem was 512/1024 = 0 if you use longs, s...
Eric AndersenEric Andersen
4aaf89f49f7Silence a silly warning
Mark WhitleyMark Whitley
f90c28dd1eeApplied patch from Jeff Garzik to getopt-ify rmmod.
Eric AndersenEric Andersen
8d4c397d9d5Patch from Jeff Garzik marking a few 'getopt not needed' apps.
Eric AndersenEric Andersen
3e6ff9017f5A cleanup patch from Jeff Garzik to static-ify a number of namespace polluting things that really should be static.
Eric AndersenEric Andersen
dd91724aa08patch from Larry to fix pristine source builds
Eric AndersenEric Andersen
74e056bfc8eFixed a couple more cases. $FOO/bar ${FOO} and such now work without wordexp. Of course for stuff like ${1:-foo} yo...
Eric AndersenEric Andersen
3c7361f53aaAllow wordexp to be used if available
Eric AndersenEric Andersen
ce89871ff72Urg. Remove the debug noise
Eric AndersenEric Andersen
195743f195aOk, sh.c should be working now. Many thanks to Larry Doolittle for his timely help -- nearly all of the work in this...
Eric AndersenEric Andersen
eba8ed71f08Patchs from Jeff Garzik <jgarzik@mandrakesoft.com> to cleanup warnings with glibc 2.2 and use always use xfopen -Erik
Mark WhitleyMark Whitley
9ba5bce06f7Added script that tests turning on features in busybox one at a time and compiling to see if things break. Initial re...
Eric AndersenEric Andersen
01658a3eec8Fix sh.c for the glab case. I was messing things up for single argument commands. It should now work as expected......
Eric AndersenEric Andersen
3dbf1e877afA '.' is a legal seperator.
Mark WhitleyMark Whitley
afffbfe8c47Fix to trim to make it trim properly.
Eric AndersenEric Andersen
b180dd9e50eCleanup patch from Larry
Eric AndersenEric Andersen
13d1fa1d01eAdd in 'trim' routine. Fix up sh.c so it works when wordexp is not available. -Erik
Manuel Novoa IIIManuel Novoa III
df351d6109fImproved port of ifconfig... smaller and with more features.
Eric AndersenEric Andersen
39eea898c4fPer Vladimir's suggestion, force the locale to POSIX for all the scripts so busybox will install properly.
Mark WhitleyMark Whitley
7e5291f1117Whitespace / formatting / bracket cleanup.
Eric AndersenEric Andersen
32f8c170b09Remember to delete un-expandable variables, and do a better job of expanding shell-specific things in case the wordex...