aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove feature that allows stat -f to be disabledRon Yorston2014-01-063-27/+4
|
* Extend WIN32 statfs to include type, fsid and namelenRon Yorston2014-01-064-21/+57
|
* Use the preprocessor to fake st_blocksRon Yorston2014-01-055-18/+8
|
* Make dummy paths.hRon Yorston2014-01-052-2/+0
|
* Initialise SHLVL when shell is first startedRon Yorston2014-01-021-0/+4
|
* Define bb_got_signal for use in tar on mingw32Ron Yorston2014-01-021-0/+4
|
* Provide dummy implementations of seteuid/setegidRon Yorston2014-01-021-0/+2
|
* Move mingw32 poll.h from sysRon Yorston2014-01-022-1/+1
|
* Update mingw32 default configurationRon Yorston2014-01-021-30/+34
|
* Merge branch 'busybox' into mergeRon Yorston2014-01-02141-1162/+1724
|\ | | | | | | | | | | Conflicts: archival/Config.src shell/ash.c
| * Start 1.23.0 development cycleDenys Vlasenko2014-01-011-2/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * Bump version to 1.22.01_22_0Denys Vlasenko2014-01-011-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * testsuite: remove forgotten debug hackDenys Vlasenko2013-12-311-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * fix failures found by randomconfig buildsDenys Vlasenko2013-12-317-13/+34
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * testsuite: disable tests for no longer supported bbox-specific date formatsDenys Vlasenko2013-12-312-6/+8
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * adduser: check whether run with no USERNAME. Closes 6728Denys Vlasenko2013-12-201-2/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * testsuite: fix false positives for duDenys Vlasenko2013-12-202-0/+3
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * build system: fix make gconfigDaniel Borca2013-12-191-1/+1
| | | | | | | | | | | | | | Was getting "undefined reference to symbol 'dlsym@@GLIBC_2.2.5'". Signed-off-by: Daniel Borca <dborca@yahoo.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * sed: accept s///i as a synonym for s///I ("ignore case")David A. Wheeler2013-12-181-1/+2
| | | | | | | | | | Signed-off-by: David A. Wheeler <dwheeler@dwheeler.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * hostname: do not use gethostbyname() for "hostname -s"Michael Tokarev2013-12-171-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There's no reason to call gethostbyname() on the value returned by uname() when asked just for a short name of a host. This may also be wrong, when uname is set to one value, but in /etc/hosts (or elsewhere) the "canonical" name is different. This is often the case for localhost entry in /etc/hosts: 127.0.0.1 localhost myname With this content of /etc/hosts, and uname being set to myname, busybox hostname -s will return localhost, while regular hostname utility returns myname. Fix this by not calling gethostbyname() for the simple 'hostname -s' use. Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * wget: user-friendly fallback to httpLauri Kasanen2013-12-171-5/+12
| | | | | | | | | | | | | | | | | | | | | | GNU wget: wget google.com // ok bb before: wget google.com // wget: not an http or ftp url function old new delta parse_url 317 339 +22 Signed-off-by: Lauri Kasanen <curaga@operamail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * kill[all[5]]: code shrinkDenys Vlasenko2013-12-161-20/+18
| | | | | | | | | | | | | | function old new delta kill_main 992 947 -45 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * killall5: return 2 if no processes got killedUros Vampl2013-12-161-1/+4
| | | | | | | | | | | | | | function old new delta kill_main 943 992 +49 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * do not fail build if MAXSYMLINKS isn't definedMichael Tokarev2013-12-161-0/+6
| | | | | | | | | | | | | | This is needed for, eg, hurd, which is known to have no constraints. Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * expand: use printable_string instead of hard-coding implementationMichael Tokarev2013-12-161-10/+3
| | | | | | | | | | | | | | | | function old new delta expand_main 709 690 -19 Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ntpd: speed up resyncing if our clock is seriously offDenys Vlasenko2013-12-081-7/+39
| | | | | | | | | | | | | | function old new delta recv_and_process_peer_pkt 892 922 +30 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ntpd: do not invalidate datapoints after stepDenys Vlasenko2013-12-071-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Used to set p->filter_datapoint[i].d_dispersion = MAXDISP and clear reachable bits, but this proved to be too agressive: after step (tested with suspinding laptop for ~30 secs), this caused all previous data to be considered invalid, making us needing to collect full ~8 datapoins per peer after step in order to start trusting them. In turn, this was making poll interval decrease even after step was done. (Poll interval decreases already before step in this scenario, because we see large offsets and end up with no good peer to select). function old new delta reset_peer_stats 157 139 -18 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ntpd: comment out "spike detection" codeDenys Vlasenko2013-12-041-4/+9
| | | | | | | | | | | | | | function old new delta update_local_clock 982 835 -147 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ntpd: promote log level 3 to productionDenys Vlasenko2013-12-041-45/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without it, peer selection logic is hard to debug function old new delta update_local_clock 861 982 +121 select_and_cluster 962 1065 +103 common_ping_main 1788 1821 +33 huft_build 1287 1296 +9 chpst_main 708 704 -4 INET6_resolve 127 119 -8 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/2 up/down: 266/-12) Total: 254 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ntpd: let user know if spike was detectedDenys Vlasenko2013-12-041-4/+7
| | | | | | | | | | | | | | function old new delta update_local_clock 861 943 +82 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * Use unsigned printf/scanf conversion where more appropriateDenys Vlasenko2013-11-2918-37/+37
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * fix assorted unused code and wrong format specs found by cppchekc (bug 6716)Denys Vlasenko2013-11-2920-39/+25
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * chpst: fix a bug where -U USER was using wrong USER (one from -u USER)Denys Vlasenko2013-11-292-5/+3
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ping: try SOCK_DGRAM if no root privilegesDaniel Borca2013-11-281-3/+16
| | | | | | | | | | Signed-off-by: Daniel Borca <dborca@yahoo.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * dpkg-deb: cosmetic correction to usage textDaniel Borca2013-11-281-1/+1
| | | | | | | | | | Signed-off-by: Daniel Borca <dborca@yahoo.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * sed: code shrinkDenys Vlasenko2013-11-281-28/+21
| | | | | | | | | | | | | | | | | | | | | | function old new delta get_next_line 246 250 +4 sed_main 671 662 -9 add_input_file 47 - -47 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 1/1 up/down: 4/-56) Total: -52 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * sed: open input files sequentially to avoid EMFILEDenys Vlasenko2013-11-282-27/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, sed pre-opens all files, which may cause EMFILE errors on systems with low ulimit -n. Change sed to open one file at a time. function old new delta get_next_line 177 235 +58 sed_main 682 652 -30 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 58/-30) Total: 28 bytes Based on the patch by Daniel Borca <dborca@yahoo.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * hush: typo fixes in commentsDenys Vlasenko2013-11-281-2/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * platform: strchrnul is missing if __APPLE__Daniel Borca2013-11-271-1/+1
| | | | | | | | | | Signed-off-by: Daniel Borca <dborca@yahoo.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * build system: use od -b instead of od -t x1Denys Vlasenko2013-11-262-8/+8
| | | | | | | | | | | | od -t is not available in non-CONFIG_DESKTOPed busybox od Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * init: halt on SIGPWR tooBogdan Purcareata2013-11-261-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | Most init processes implement a handler for SIGPWR that gracefully stops all child processes when shutting down a machine. Some other technologies rely on this signal - e.g. Busybox powered LXC containers. This patch makes busybox init halt when receiving SIGPWR. Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * libbb: add sketch of tentative 'better' passwd/group APIDenys Vlasenko2013-11-261-0/+48
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * devfsd: remove static variableDenys Vlasenko2013-11-261-9/+11
| | | | | | | | | | | | | | | | | | | | function old new delta static.msg 4 - -4 get_uid_gid 114 107 -7 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/1 up/down: 0/-11) Total: -11 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * build system: do not generate MAX_APPLET_NAME_LEN (unused)Denys Vlasenko2013-11-261-5/+5
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * logread: don't call shmdt() before exit, kernel does it for us.Denys Vlasenko2013-11-261-4/+9
| | | | | | | | | | | | | | | | | | | | | | function old new delta logread_main 472 466 -6 interrupted 20 9 -11 error_exit 20 - -20 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/2 up/down: 0/-37) Total: -37 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * logread: flush output. closes 6710Denys Vlasenko2013-11-261-0/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * awk: fix a bug in argc counting in recent changeDenys Vlasenko2013-11-212-9/+21
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * rfkill: use new-style config/kbuild/appletDenys Vlasenko2013-11-204-14/+17
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * tar: prevent empty file to be treated as valid tarballDenys Vlasenko2013-11-192-3/+35
| | | | | | | | | | | | | | function old new delta tar_main 879 895 +16 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * fix a copy/paste error in last tar testcase nameDenys Vlasenko2013-11-191-2/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>