aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* ifupdown: support 'link' address familyKaarle Ritvanen2014-02-031-0/+13
| | | | | | | | | | | | | | | | | | | | | | Does not configure anything. L2 configuration hook scripts should do their job on receiving ADDRFAM=link. Configuration will be done only once, irrespective of L3 protocols used. Using the 'link' family in the interfaces file conforms to the Debian implementation: http://sources.debian.net/src/ifupdown/0.7.47.1/link.defn function old new delta link_methods - 12 +12 addr_link - 12 +12 link_up_down - 6 +6 static.addr_fams 12 16 +4 ------------------------------------------------------------------------------ (add/remove: 3/0 grow/shrink: 1/0 up/down: 34/0) Total: 34 bytes Signed-off-by: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* wget: fix use-after-free of ->user. Closes 6836Denys Vlasenko2014-02-031-7/+9
| | | | | | | | function old new delta wget_main 2207 2223 +16 parse_url 339 353 +14 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* catv: suppress compiler warningDenys Vlasenko2014-02-031-7/+9
| | | | | | | The warning was: warning: typedef 'BUG_const_mismatch' locally defined but not used [-Wunused-local-typedefs] Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* zcat: complain if input is not compressedDenys Vlasenko2014-02-029-25/+17
| | | | | | | | | | | | | | | | | | function old new delta buffer_fill_and_print 178 191 +13 varvalue 735 743 +8 bbunpack 747 755 +8 open_zipped 85 89 +4 xmalloc_open_zipped_read_close 61 63 +2 get_addr_1 240 242 +2 fbsplash_main 1228 1230 +2 pstree_main 322 321 -1 builtin_type 121 119 -2 do_load 954 926 -28 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 7/3 up/down: 39/-31) Total: 8 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* appletlib: fix set-but-unused warningMike Frysinger2014-01-311-1/+5
| | | | | | | | | | | | | When you build with FEATURE_INSTALLER disabled, you get a build warning like so: libbb/appletlib.c: In function 'busybox_main': libbb/appletlib.c:691:7: warning: variable 'use_symbolic_links' set but not used [-Wunused-but-set-variable] int use_symbolic_links; ^ Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* uname: fix up usage documentationMike Frysinger2014-01-311-4/+6
| | | | | | | The -i/-o options were missing, and the -r/-s/-v options were incorrectly labeled as "OS" instead of "kernel". Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* init: do not fail build if SIGPWR is not definedMichael Tokarev2014-01-301-0/+2
| | | | | | | | | Apparently, some *BSD variants (and maybe some other OSes) does not define SIGPWR signal. So since commit 760fc6debcba8c, busybox fails to build on such platforms. Fix this. Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb: open_zipped() should not fail on non-compressed filesDenys Vlasenko2014-01-271-1/+10
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* testsuite: fix last "which" changeMichael Tokarev2014-01-231-1/+1
| | | | | | | | | | | | | In commit afa63b2dcdc9b9 I replaced `type -p' with `command -pv'. But actually it is wrong, the right substitution is `command -v'. We need to find our busybox which is in the first directory in $PATH, so `command -p' should not be used because it uses default PATH, not current value of PATH where our busybox binary resides. Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* less: accept and ignore -sDenys Vlasenko2014-01-221-6/+11
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* man: parse "DEFINE pager" in configJohn Spencer2014-01-221-7/+15
| | | | | | | | function old new delta man_main 789 844 +55 Signed-off-by: John Spencer <maillist-busybox@barfooze.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* iplink: fix build with kernel versions prior to 2.6.23Eugene Rudoy2014-01-221-0/+10
| | | | | Signed-off-by: Eugene Rudoy <gene.devel@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb: if opening /dev/loopN returns ENXIO, don't try N++.Denys Vlasenko2014-01-211-6/+12
| | | | | | | function old new delta set_loop 639 635 -4 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb: fix parsing of "10101010" date/time formDenys Vlasenko2014-01-211-4/+12
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* top.c: fix compilation warningsBartosz Golaszewski2014-01-201-5/+0
| | | | | | | pfd[1] is unused Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ntpd: remove now unnecessary check for IP_PKTINFO definitionDenys Vlasenko2014-01-202-6/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ntpd: fix compilation warningsBartosz Golaszewski2014-01-201-0/+4
| | | | | | | GCC complained about since_last_update being set but not used. Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sort: check global flags on fallback sortBartosz Golaszewski2014-01-192-5/+6
| | | | | | | | | | | Sort now performs global reverse on fallback sort if -r is set. Before only key local flags were checked. function old new delta compare_keys 712 738 +26 Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sort.c: remove a magic number from compare_keys()Bartosz Golaszewski2014-01-191-1/+1
| | | | | | | Use bitwise OR of proper flags instead. Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* gitignore: ignore files generated by 'make test'Bartosz Golaszewski2014-01-191-0/+6
| | | | | Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* adduser,addgroup: introduce and use CONFIG_LAST_IDTito Ragusa2014-01-173-21/+27
| | | | | | | | | | | Changes adduser.c, addgroup.c and Config.src to set and use CONFIG_LAST_ID. function old new delta adduser_main 841 865 +24 addgroup_main 407 425 +18 Signed-off-by: Tito Ragusa <farmatito@tiscali.it> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* examples/udhcp: do not rewrite resolv.conf if no DNS servers. Closes 6788Denys Vlasenko2014-01-132-14/+22
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* docs: tweak keep_data_small.txtDenys Vlasenko2014-01-131-1/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tar: tighten up pax header validity checkDenys Vlasenko2014-01-101-1/+3
| | | | | | | function old new delta get_header_tar 1785 1795 +10 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fakeidentd: simplify ndelay manipulationsDenys Vlasenko2014-01-101-10/+9
| | | | | | | | function old new delta new_peer 91 79 -12 do_rd 197 152 -45 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tail: adjust help/usage textsCristian Ionescu-Idbohrn2014-01-102-5/+5
| | | | | Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* lineedit: fix trivial build failureDenys Vlasenko2014-01-101-0/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libarchive: open_zipped() does not need to check extensions for e.g. gzipDenys Vlasenko2014-01-101-12/+11
| | | | | | | | | We only need to check for signature-less extensions, currently only .lzma. The rest can be happily autodetected. This fixes "zcat FILE_WITHOUT_GZ_EXT" case, among others. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* build system: fix non-portable sed constructs.Matthias Andree2014-01-101-2/+12
| | | | | | | | This includes proper line breaks for labels and closing braces, and removing non-portable \n and \t in s/// functions. Signed-off-by: Matthias Andree <matthias.andree@gmx.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fixlet for the previous commit #2Denys Vlasenko2014-01-091-4/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fixlet for the previous commitDenys Vlasenko2014-01-091-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* networking: explain isrv_run() APIDenys Vlasenko2014-01-091-1/+26
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fakeidentd: fix use-after-freeRyan Mallon2014-01-091-13/+12
| | | | | | | | function old new delta do_rd 199 197 -2 Signed-off-by: Ryan Mallon <rmallon@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* chown: fix help textDenys Vlasenko2014-01-091-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* find: fix a regression introduced with -HLP supportDenys Vlasenko2014-01-092-1/+42
| | | | | | | function old new delta find_main 294 342 +48 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ping: revert "try SOCK_DGRAM if no root privileges"Denys Vlasenko2014-01-091-16/+3
| | | | | | | It wasn't working, and fixes on top of it would make ping noticeably larger. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* build system: "make hosttools" doesn't exist, remove it from "make help"Denys Vlasenko2014-01-091-4/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* build system: stop including alloca.h, stdlib.h provides itDenys Vlasenko2014-01-092-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ntpd: adjust last packet's recv time after a stepDenys Vlasenko2014-01-081-0/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb: FreeBSD fix for B<num> baud rate constants not fitting into a short.Denys Vlasenko2014-01-081-0/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Another FreeBSD fix from Matthias AndreeDenys Vlasenko2014-01-081-3/+12
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: in bash compat mode, always export $SHLVLDenys Vlasenko2014-01-071-1/+1
| | | | | | | function old new delta ash_main 1437 1442 +5 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* grep: fix two bugs with -wDenys Vlasenko2014-01-072-3/+37
| | | | | | | | | Unfortunately, with !EXTRA_COMPAT, "grep -w ^str" still erroneously matches "strstr". function old new delta grep_file 1499 1510 +11 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* platform.h: undef HAVE_STRCHRNUL only on correct versions of FreeBSDDenys Vlasenko2014-01-071-5/+12
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* 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>