1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-19 05:58:53 +02:00
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
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
f2fs-tools
fbtest
fritz-tools
fuse
jboot-tools
jsonfilter
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
osafeloader
oseama
otrx
px5g px5g: support EC keys 2019-09-01 00:34:30 +02:00
spidev_test
ugps upgs: update to latest git HEAD 2019-06-26 07:00:20 +02:00
usbmode
usbreset usbreset: Add missing header 2019-07-08 17:01:54 +02:00
usbutils
util-linux util-linux: Disable utils requiring libpam 2019-10-27 14:25:30 +01:00
xfsprogs