aboutsummaryrefslogtreecommitdiff
path: root/miscutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
* egor duda writes:andersen2004-10-082-6/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | Hi! I've created a patch to busybox' build system to allow building it in separate tree in a manner similar to kbuild from kernel version 2.6. That is, one runs command like 'make O=/build/some/where/for/specific/target/and/options' and everything is built in this exact directory, provided that it exists. I understand that applyingc such invasive changes during 'release candidates' stage of development is at best unwise. So, i'm currently asking for comments about this patch, starting from whether such thing is needed at all to whether it coded properly. 'make check' should work now, and one make creates Makefile in build directory, so one can run 'make' in build directory after that. One possible caveat is that if we build in some directory other than source one, the source directory should be 'distclean'ed first. egor git-svn-id: svn://busybox.net/trunk/busybox@9320 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Improve the setuid situation a bit, and make it more apparentandersen2004-08-261-0/+3
| | | | | | | | when people really ought to make busybox setuid root. -Erik git-svn-id: svn://busybox.net/trunk/busybox@9170 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix incorrect arguments being passed to mknodandersen2004-07-301-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@9049 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixup getty, login, etc so the utmp and wtmp are updated, allowingandersen2004-07-301-0/+1
| | | | | | | | the 'who' and 'last' applets among other things to work as expected. -Erik git-svn-id: svn://busybox.net/trunk/busybox@9047 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix up brain damage with the way major and minor are used toandersen2004-07-301-1/+1
| | | | | | | create a dev_t git-svn-id: svn://busybox.net/trunk/busybox@9045 69ca8d6d-28ef-0310-b511-8ec308f3f277
* BusyBox has no business hard coding the number of major and minor bits for aandersen2004-07-261-4/+5
| | | | | | | | | | | | dev_t. This is especially important now that the user space concept of a dev_t and the kernel concept of a dev_t are divergant. The only bit of user space allowed to know the number of major and minor bits is include/sys/sysmacros.h (i.e. part of libc). When used with a current C library and a 2.6.x kernel, this fix should allow BusyBox to support wide device major/minor numbers. -Erik git-svn-id: svn://busybox.net/trunk/busybox@9015 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch by Paul Whittaker, make busybox dc compatable with GNU dc. bug12004-07-241-8/+1
| | | | | | | the following example was broken, echo "1 1 +" | dc git-svn-id: svn://busybox.net/trunk/busybox@9012 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Avoid a naming conflict with include/bits/fcntl.handersen2004-07-201-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8988 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Include some documentation posted to the list by vodzandersen2004-07-201-0/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8972 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Woops, the previous commit was an accident, its supplied in the patch,bug12004-06-052-190/+32
| | | | | | | dont commit yet as we are in feature freeze git-svn-id: svn://busybox.net/trunk/busybox@8886 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Device table support for makedevs, the previous behaviour can beenbug12004-06-052-32/+190
| | | | | | | selected at configure time. git-svn-id: svn://busybox.net/trunk/busybox@8885 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bugfixesbug12004-04-301-2/+2
| | | | | | | | | | | | | | 1) a non NULL terminated buffer that can mess up output, spotted by Ian Latter 2) in miscutils/strings.c: get rid of useless pointer dereference in third part of for(;;), spotted by Larry Doolittle 3) bug when reading from a pipe and being invoked as strings "cat Readme | strings" is broken "cat Readme | busybox strings" works spotted by Ian Latter and fixed by Tito. git-svn-id: svn://busybox.net/trunk/busybox@8791 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Larry Doolittle writes:andersen2004-04-144-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | This is a bulk spelling fix patch against busybox-1.00-pre10. If anyone gets a corrupted copy (and cares), let me know and I will make alternate arrangements. Erik - please apply. Authors - please check that I didn't corrupt any meaning. Package importers - see if any of these changes should be passed to the upstream authors. I glossed over lots of sloppy capitalizations, missing apostrophes, mixed American/British spellings, and German-style compound words. What is "pretect redefined for test" in cmdedit.c? Good luck on the 1.00 release! - Larry git-svn-id: svn://busybox.net/trunk/busybox@8759 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Tito, farmatito at tiscali dot it writes:andersen2004-04-051-31/+32
| | | | | | | | | | | | | | | | | | | | | | Hi to all, I discovered a little bug in hdparm.c (really two little bugs...I've made...sigh! Mea culpa). Some vars were modified only locally and this could lead to wrong results to be displayed with the -I switch and maybe with others. Attached is a patch that fix it ( +88b). Also attached is second patch that reduces the size a little bit: text data bss dec hex filename 27984 624 900 29508 7344 hdparm.o (without bug-fix) 28072 624 900 29596 739c hdparm.o (with bug-fix) 28141 624 900 29665 73e1 hdparm.o (original) but maybe this one can wait as we are in a feature freeze. Ciao, Tito git-svn-id: svn://busybox.net/trunk/busybox@8686 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Tito noticed a printf that should have been a bb_error_msg.andersen2004-03-201-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8652 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix broken arg parsing (was not passing pointer to items so p, argc, and argvandersen2004-03-191-132/+117
| | | | | | | | were only modified locally). Fix error reporting to properly describe why ioctls fail. git-svn-id: svn://busybox.net/trunk/busybox@8644 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove trailing whitespace. Update copyright to include 2004.andersen2004-03-1513-32/+32
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8630 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Florian Schirmer. compile fix for debug buildsbug12004-02-221-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8540 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixup braces (patch from Thomas Geulig), run through indent and manuallybug12004-02-221-778/+744
| | | | | | | adjust. git-svn-id: svn://busybox.net/trunk/busybox@8537 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Avoid naming conflict with symbol in newer glibc headersandersen2004-02-141-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8479 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bug fix from Tito.bug12004-02-041-3/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8395 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix compile error, the indenting really needs to be fixed herebug12003-12-231-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8160 69ca8d6d-28ef-0310-b511-8ec308f3f277
* New applet, rx, by Christopher Hooverbug12003-12-203-0/+351
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8148 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Tito writes:andersen2003-12-192-340/+464
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hi to all, here is a new patch for bb's devfsd. The news are: 1) Size reduction for the basic setup with no options compiled in from : text data bss dec hex filename 10591 392 543 11526 2d06 devfsd.o rw-r--r-- 1 root root 18536 Dec 18 21:52 devfsd.o to: text data bss dec hex filename 9303 392 543 10238 27fe devfsd.o rw-r--r-- 1 root root 16528 Dec 18 22:02 devfsd.o With this setup you should not expect much output from devfsd ( just at start or with -v) and if some error occurs it only exits 1. To have more output enable: " Increases logging (and size)" (+1568 b). 2) The option "Adds function names to program output" was removed from config menu and now to enable debug output you can use bb's standard option: "Build BusyBox with Debugging symbols". Be careful as with this option enabled a lot of data are outputted to /dev/log and/or to stderr. 3) A new option: "Enables the -fg and -np option" was added to config menu (+128 b). BTW: option "Adds support for MODLOAD keyword in devsfd.conf" adds 268 b. 4) The following keywords in devsfd.conf are supported: "CLEAR_CONFIG", "INCLUDE", "OPTIONAL_INCLUDE", "RESTORE", "PERMISSIONS", "EXECUTE", "COPY", "IGNORE", "MKOLDCOMPAT", "MKNEWCOMPAT","RMOLDCOMPAT", "RMNEWCOMPAT". But only if they are written UPPERCASE!!!!!!!! 5)Help text in usage.h was modified. 6)Something that I have forgotten.......... I've tested this for the last week on my box and it seems to work as expected. Thanks in advance and please apply. Ciao, Tito git-svn-id: svn://busybox.net/trunk/busybox@8125 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Get vfork_daemon_rexec working under uclinuxruss2003-12-151-6/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8087 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix compile when CONFIG_FEATURE_HDPARM_GET_IDENTITY is disabledandersen2003-12-121-6/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8081 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Tito, size optimisation, cleanup noise when in debuggingbug12003-11-302-167/+174
| | | | | | | | mode, adds support for MODLOAD keyword in devfsd.conf, provides a cleaned up version of example/devfsd.conf git-svn-id: svn://busybox.net/trunk/busybox@8018 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Correct Matteo's email addressbug12003-11-281-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8010 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Steven Scholz to send the output from 'time'andersen2003-11-071-2/+2
| | | | | | | | | | | | | | to stderr, rather than stdout, so that things like ~ # time bunzip2 -c /tmp/test.bz2 > /dev/null real 0m 29.44s user 0m 29.30s sys 0m 0.12s operate as expected. git-svn-id: svn://busybox.net/trunk/busybox@7849 69ca8d6d-28ef-0310-b511-8ec308f3f277
* the dc applet now needs libmandersen2003-10-221-0/+7
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@7706 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Goetz Bock writes:andersen2003-10-221-0/+20
| | | | | | | | | | | | | Dear list, during my quest do pack busybox into an RPM, I've fixed a small bug (missing \n) in dc's usage. And added two additional operations: mod and exp/power. Feel free to drop them. git-svn-id: svn://busybox.net/trunk/busybox@7702 69ca8d6d-28ef-0310-b511-8ec308f3f277
* last_patch116 from vodz:andersen2003-10-221-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | Stephane, >Using busybox+uclibc, crond syslog messages look like: > >Oct 9 09:04:46 soekris cron.notice crond[347]: ^Icrond 2.3.2 dillon, >started, log level 8 Thanks for testing. >The attached patch corrects the problem. Your patch is not correct. Correct patch attached. Also. Last patch have - add "Broken pipe" message to ash.c - busybox ash synced with dash_0.4.18 --w vodz git-svn-id: svn://busybox.net/trunk/busybox@7701 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Tito writes:andersen2003-10-221-3/+2
| | | | | | | | | | | | | | | | Hi to all, I'm sorry but I didn't spot this big fat bug until now, Matteo Croce emailed me about it. Please apply this patch as the devfsd applet is broken and works only on a system booted with a standard devfsd ( the test I mostly did :-( ), but if used at boot time it DOESN'T WORK. Thanks in advance and please apply Tito git-svn-id: svn://busybox.net/trunk/busybox@7693 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Andreas Mohr writes:andersen2003-10-221-4/+4
| | | | | | | | | | | | | | the busybox menuconfig triggered my "inacceptable number of spelling mistakes" upper level, so I decided to make a patch ;-) I also improved some wording to describe some things in a better way. Many thanks for an incredible piece of software! Andreas Mohr, random OSS developer git-svn-id: svn://busybox.net/trunk/busybox@7692 69ca8d6d-28ef-0310-b511-8ec308f3f277
* old gcctimr2003-10-171-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7663 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Do not use kernel headersandersen2003-10-091-13/+50
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7629 69ca8d6d-28ef-0310-b511-8ec308f3f277
* New applet, devfsd, by Matteo Croce and Titobug12003-10-093-0/+2051
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7626 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Steven Scholz, fix some warningsbug12003-10-091-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7625 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Tito, size optimisation and fix error in exit code of -Vbug12003-10-091-1056/+1265
| | | | | | | option git-svn-id: svn://busybox.net/trunk/busybox@7619 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Tito, Reduces the size of busybox's strings applet from 1900 tobug12003-09-151-12/+11
| | | | | | | 1788 bytes (for strings.o). git-svn-id: svn://busybox.net/trunk/busybox@7530 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update Matteo Croce's email addressbug12003-09-151-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7514 69ca8d6d-28ef-0310-b511-8ec308f3f277
* more crond+crontab integrating with loginutil libbb functions and deletedbug12003-09-032-39/+8
| | | | | | | | 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-10/+7
| | | | | | | | constant. Vodz last_patch_107 git-svn-id: svn://busybox.net/trunk/busybox@7365 69ca8d6d-28ef-0310-b511-8ec308f3f277
* save a couple of bytesbug12003-08-301-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7310 69ca8d6d-28ef-0310-b511-8ec308f3f277
* "A little patch for the strings applet of the busybox development treebug12003-08-291-6/+3
| | | | | | | | that substitutes two lines of code with a libbb function saving a couple of bytes." - Tito git-svn-id: svn://busybox.net/trunk/busybox@7291 69ca8d6d-28ef-0310-b511-8ec308f3f277
* "Typo and/or thinko: scanning till the end of NUL terminated stringbug12003-08-281-1/+1
| | | | | | | should check the byte pointed at not the pointer itself." -junkio@ git-svn-id: svn://busybox.net/trunk/busybox@7276 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Implement a minimalist 'last' which allows the LEAF project toandersen2003-08-084-74/+111
| | | | | | | | no longer need dumtp. Remove the 'dumtp' applet. -Erik git-svn-id: svn://busybox.net/trunk/busybox@7188 69ca8d6d-28ef-0310-b511-8ec308f3f277
* quiet some noiseandersen2003-08-081-0/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7187 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Steven Scholz:andersen2003-08-062-1/+13
| | | | | | | | | | | | | | should we rename the define into CONFIG_FEATURE_HDPARM_HDIO_DMA and use it for "set" and "get" ??? Since although CONFIG_FEATURE_HDPARM_HDIO_GET_DMA is _not_ set I still can use "hdparm -d 1 /dev/hda" to switch the DMA on. Is this desireable or meant to be like that? So how about the applied patch? git-svn-id: svn://busybox.net/trunk/busybox@7173 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Sync hdparm -t and -T options with hdparm-5.3, which seemsandersen2003-08-061-66/+69
| | | | | | | to produce sensible results, git-svn-id: svn://busybox.net/trunk/busybox@7171 69ca8d6d-28ef-0310-b511-8ec308f3f277