aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* README_distro_proposal.txt: typo fixesTito Ragusa2017-01-031-7/+7
| | | | | Signed-off-by: Tito Ragusa <farmatito@tiscali.it> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* appletlib: avoid warning on unused function ingroupCristian Ionescu-Idbohrn2017-01-031-0/+2
| | | | | | | | | | | | libbb/appletlib.c:558:12: warning: 'ingroup' defined but not used [-Wunused-function] static int ingroup(uid_t u, gid_t g) ^~~~~~~ That function is used only if FEATURE_SUID_CONFIG is also enabled. Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: correct exitcode for unterminated ')' - exitcode2.tests testcaseDenys Vlasenko2017-01-031-2/+7
| | | | | | | function old new delta parse_stream 2595 2609 +14 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: fix error code regressionRon Yorston2017-01-035-2/+38
| | | | | | | | | | | | | | | | | | | | | | The commit 'ash,hush: set exit code 127 in "sh /does/not/exist" case' only partly implemented the dash commit '[ERROR] Allow the originator of EXERROR to set the exit status'. This resulted in incorrect error codes for a syntax error: $ ) $ echo $? 0 or a redirection error for a special builtin: $ rm -f xxx $ eval cat <xxx $ echo $? 0 Signed-off-by: Ron Yorston <rmy@pobox.com> Reported-by: Martijn Dekker <martijn@inlv.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* qemu_multiarch_testing: small improvementsDenys Vlasenko2017-01-022-1/+19
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tcpudp: define SO_ORIGINAL_DST directly, not via includeDenys Vlasenko2017-01-021-3/+3
| | | | | | | | musl does not like including linux/netfilter_ipv4.h (enum / #define collision in two headers, resulting in "3 = 3" type situation in enum definition). Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* depmod: don't build it if MODPROBE_SMALL=yDenys Vlasenko2017-01-011-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Update to examples/var_service/README_distro_proposal.txtDenys Vlasenko2016-12-251-14/+21
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* make_single_applets.sh: SH_IS_HUSH needs special handling tooDenys Vlasenko2016-12-231-4/+4
| | | | | | | Well, in fact it works (make oldconfig throws only a warning when it sees both SH_IS_HUSH=y and SH_IS_NONE=y), but let's be nice. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Make it possible to select "sh" and "bash" aliases without selecting ash or hushDenys Vlasenko2016-12-239-118/+120
| | | | | | | The same can be done for msh, but we are probably better off just deleting it in a next versio or two. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Make RMMOD=y by defaultDenys Vlasenko2016-12-231-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Make INSMOD=y by defaultDenys Vlasenko2016-12-231-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Remove FEATURE_IFUPDOWN_IP_BUILTIN and FEATURE_IFUPDOWN_IFCONFIG_BUILTINDenys Vlasenko2016-12-231-29/+7
| | | | | | | They merely enable ip or ifconfig/route. There is already a way to do this on the same menuconfig page. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* modprobe-small: make applets individually selectableDenys Vlasenko2016-12-238-32/+41
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Make DPKG=y and DPKG_DEB=y by defaultDenys Vlasenko2016-12-232-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Selinux complains about deprecated selinux/flask.h, stop including itDenys Vlasenko2016-12-232-2/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Make FEATURE_USERNAME_COMPLETION=y by defaultDenys Vlasenko2016-12-231-1/+1
| | | | | | This matches bash behavior on Fedora Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* make_single_applets.sh: a tool to check single-applet buildsDenys Vlasenko2016-12-231-0/+57
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix breakage found by mass one-applet buildsDenys Vlasenko2016-12-238-20/+29
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ip: make ip aliases individually selectableDenys Vlasenko2016-12-221-77/+85
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Make POST upload example script easier to useDenys Vlasenko2016-12-221-13/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* shell: move "config" blocks above their use in coditional includesDenys Vlasenko2016-12-222-111/+110
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Update information on building httpd and wget helpersDenys Vlasenko2016-12-223-12/+33
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Tweak some config defaults; fix MODPROBE_SMALL ordering in "make config"Denys Vlasenko2016-12-225-39/+41
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: clarify uclibc glob() bug in commentDenys Vlasenko2016-12-211-0/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: error out if ASH_INTERNAL_GLOB is not selected on uClibcDenys Vlasenko2016-12-211-0/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Start 1.27.0 development cycleDenys Vlasenko2016-12-211-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Bump version to 1.26.01_26_0Denys Vlasenko2016-12-201-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libiproute: handle table ids larger than 255Lukasz Nowak2016-12-182-6/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Linux kernel, starting from 2.6.19 allows ip table ids to have 32-bit values. In order to preserve compatibility, the old 8-bit field: rtm_table is still in use when table id is lower than 256. Add support for the 32-bit table id (RTA_TABLE attribute) in: - ip route print - ip route modify - ip rule print - ip rule modify Add printing of table ids to ip route. Changes are compatible with the mainline iproute2 utilities. These changes are required for compatibility with ConnMan, which by default uses table ids greater than 255. function old new delta print_route 1588 1637 +49 do_iproute 2187 2222 +35 do_iprule 955 987 +32 print_rule 617 630 +13 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/0 up/down: 129/0) Total: 129 bytes Signed-off-by: Lukasz Nowak <lnowak@tycoint.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* df: implement -B n<suff> and -B <suff> formats of -B optionDenys Vlasenko2016-12-124-24/+41
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* randomconfig fixesDenys Vlasenko2016-12-121-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: fix signed char expansion bugDenys Vlasenko2016-12-121-9/+21
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* shell: suppress "unused var/func" warnings on some configsDenys Vlasenko2016-12-122-10/+10
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* suppress glibc "use sysmacros.h for major" warningDenys Vlasenko2016-12-121-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* randomconfig fixesDenys Vlasenko2016-12-121-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* randomconfig fixesDenys Vlasenko2016-12-122-1/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* randomconfig fixesDenys Vlasenko2016-12-123-1/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* randomconfig fixesDenys Vlasenko2016-12-101-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* selinux: drop deprecated headersMike Frysinger2016-12-092-3/+12
| | | | | | | | | | | The selinux guys want you to get class values at runtime by converting textual names into constants. Drop the deprecated headers and switch to the new format. This API has been around for years, so there shouldn't be an issue with backwards compatibility. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* setfiles: fix build failure after common_bufsiz changeMike Frysinger2016-12-091-0/+1
| | | | | | | | | | | | Commit 47cfbf32fd66563f8c4e09ad6cced6abfbe2fad5 ("*: add most of the required setup_common_bufsiz() calls") switched this tool over to use the common_bufsiz logic but missed including the header leading to a build failure when enabled: selinux/setfiles.c:80:30: error: 'bb_common_bufsiz1' undeclared (first use in this function) URL: https://bugs.gentoo.org/600106 Reported-by: Jonas Jelten <jj@stusta.net> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* mdev.conf: rename hw_random to hwrngMike Frysinger2016-12-091-0/+2
| | | | | | | | | | The kernel broke the name years ago, but didn't notice until it was much too late. Rename the node to match expectations of userland software, and what the kernel itself documents in its Kconfig help: This provides a device that's usually called /dev/hwrng, ... URL: https://marc.info/?l=linux-crypto-vger&m=144249767024990&w=2 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* randomconfig fixesDenys Vlasenko2016-12-085-5/+30
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* svc: new applet (daemontools-compatible version of "sv")Denys Vlasenko2016-12-051-18/+94
| | | | | | | | | | | | | | | function old new delta sv - 1199 +1199 svc_main - 145 +145 packed_usage 30255 30364 +109 applet_names 2437 2441 +4 applet_main 1420 1424 +4 find_applet_by_name 125 126 +1 sv_main 1201 9 -1192 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 4/1 up/down: 1462/-1192) Total: 270 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix musl problem with dirname, now for all users of bb_make_directory()Denys Vlasenko2016-12-042-11/+16
| | | | | | | | | | function old new delta bb_make_directory 412 419 +7 install_main 793 769 -24 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 7/-24) Total: -17 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* README_distro_proposal.txt: writeup about runit adoptionDenys Vlasenko2016-12-031-0/+291
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* top: fix help text: with !TERMIOS, no keys are affected top outputDenys Vlasenko2016-12-031-1/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* install: fix musl problem with dirnameDenys Vlasenko2016-12-031-3/+10
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Do not print useless empty line after list of appletsDenys Vlasenko2016-11-281-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Code style fixes, no code changesDenys Vlasenko2016-11-2813-28/+32
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* lineedit: simplify code a bitDenys Vlasenko2016-11-281-16/+14
| | | | | | | | | | | | function old new delta lineedit_read_key 155 162 +7 put_prompt 51 46 -5 read_line_input 3722 3715 -7 cmdedit_setwidth 81 50 -31 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/3 up/down: 7/-43) Total: -36 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>