tn3399_openwrt/package/utils
Henrique de Moraes Holschuh ad7c6102f2 busybox: fix missing install with suid bit set if FEATURE_SUID=y
With FEATURE_SUID=y one can install busybox binary belonging to root
with the suid bit set, enabling some applets to perform root-level
operations even when run by ordinary users. Busybox then drops
privileges for applets that don't need root access, before entering
their main() function.

Currently we don't install busybox binary with suid bit set, rendering
this feature unusable.

Note that we can't just "chmod u+s /bin/busybox" at runtime as a
"cheaper" solution: it would waste approximately 200KiB of FLASH (the
whole /bin/busybox binary gets copied into the overlay).

Ref: PR#2502
Signed-off-by: Henrique de Moraes Holschuh <henrique@nic.br>
[commit title/description facelift, use INSTALL_SUID variable]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-11-07 22:50:16 +01:00
..
adb adb: fix build breakage on recent musl 2019-08-06 00:09:48 +02:00
bsdiff bsdiff: Also pass down TARGET_CPPFLAGS 2017-03-01 17:19:50 -08:00
busybox busybox: fix missing install with suid bit set if FEATURE_SUID=y 2019-11-07 22:50:16 +01:00
bzip2 bzip2: add linker option LDFLAGS 2019-10-19 12:49:11 +02:00
ct-bugcheck ct-bugcheck: report to https://openwrt.org by default 2019-08-18 15:23:25 +00:00
e2fsprogs e2fsprogs: Update to 1.44.5 2019-01-26 23:11:49 +01:00
f2fs-tools f2fs-tools: fixup SPDX license 2019-06-12 23:55:53 +02:00
fbtest utils/fbtest: drop Build/Prepare rule in favor of default one 2016-10-15 11:36:51 +02:00
fritz-tools fritz-tools: add support for IPQ40xx platform 2019-03-13 16:25:34 +01:00
fuse treewide: revise library packaging 2019-01-24 10:39:30 +01:00
jboot-tools firmware: add JBOOT based devices config extractor 2018-03-18 22:22:38 +01:00
jsonfilter jsonfilter: update to latest git HEAD 2018-03-14 18:48:23 +01:00
lua lua: install luac symlink on host 2019-10-18 19:23:07 +02:00
lua5.3 lua5.3: include hpp header 2019-08-16 22:53:06 +02:00
mdadm mdadm: Use upstream fix for musl 1.1.23 compile 2019-08-17 00:30:52 +02:00
mtd-utils mtd-utils: update to 2.1.1 2019-08-27 10:32:44 +02:00
nvram treewide: fix syntax errors exposed after kconfig update 2019-06-20 14:16:08 +02:00
osafeloader packages: mark packages depending on a target as nonshared 2017-01-24 09:45:05 +01:00
oseama utils/oseama: drop Build/Prepare rule in favor of default one 2016-10-15 11:36:52 +02:00
otrx treewide: fix syntax errors exposed after kconfig update 2019-06-20 14:16:08 +02:00
px5g px5g: support EC keys 2019-09-01 00:34:30 +02:00
spidev_test utils/spidev_test: build package directly from Linux 2019-05-11 16:37:11 +02:00
ugps upgs: update to latest git HEAD 2019-06-26 07:00:20 +02:00
usbmode package/: fix $(PROJECT_GIT) usage 2018-10-11 08:42:52 +02:00
usbreset usbreset: Add missing header 2019-07-08 17:01:54 +02:00
usbutils usbutils: Update usb.ids to 0.321 2019-03-18 20:43:09 +01:00
util-linux util-linux: Disable utils requiring libpam 2019-10-27 14:25:30 +01:00
xfsprogs xfsprogs: Replace valloc with posix_memalign 2019-05-11 23:10:10 +02:00