You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
5 years ago
..
adb adb: fix build breakage on recent musl 5 years ago
bsdiff bsdiff: Also pass down TARGET_CPPFLAGS 7 years ago
busybox busybox: fix missing install with suid bit set if FEATURE_SUID=y 5 years ago
bzip2 bzip2: add linker option LDFLAGS 5 years ago
ct-bugcheck ct-bugcheck: report to https://openwrt.org by default 5 years ago
e2fsprogs e2fsprogs: Update to 1.44.5 5 years ago
f2fs-tools f2fs-tools: fixup SPDX license 5 years ago
fbtest utils/fbtest: drop Build/Prepare rule in favor of default one 8 years ago
fritz-tools fritz-tools: add support for IPQ40xx platform 5 years ago
fuse treewide: revise library packaging 5 years ago
jboot-tools firmware: add JBOOT based devices config extractor 6 years ago
jsonfilter jsonfilter: update to latest git HEAD 6 years ago
lua lua: install luac symlink on host 5 years ago
lua5.3 lua5.3: include hpp header 5 years ago
mdadm mdadm: Use upstream fix for musl 1.1.23 compile 5 years ago
mtd-utils mtd-utils: update to 2.1.1 5 years ago
nvram treewide: fix syntax errors exposed after kconfig update 5 years ago
osafeloader packages: mark packages depending on a target as nonshared 7 years ago
oseama utils/oseama: drop Build/Prepare rule in favor of default one 8 years ago
otrx treewide: fix syntax errors exposed after kconfig update 5 years ago
px5g px5g: support EC keys 5 years ago
spidev_test utils/spidev_test: build package directly from Linux 5 years ago
ugps upgs: update to latest git HEAD 5 years ago
usbmode package/: fix $(PROJECT_GIT) usage 6 years ago
usbreset usbreset: Add missing header 5 years ago
usbutils usbutils: Update usb.ids to 0.321 5 years ago
util-linux util-linux: Disable utils requiring libpam 5 years ago
xfsprogs xfsprogs: Replace valloc with posix_memalign 5 years ago