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/busybox
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
..
config busybox: update to 1.31.0 5 years ago
files procd: Add wrapper for uci_validate_section() 5 years ago
patches busybox: update to 1.31.0 5 years ago
Config-defaults.in busybox: enable swapon/off by default to make it consistent with mkswap 5 years ago
Config.in librpc: remove package 5 years ago
Makefile busybox: fix missing install with suid bit set if FEATURE_SUID=y 5 years ago
convert_defaults.pl busybox: add a reworked implementation of menuconfig support, this time with a guard option that keeps all symbols at default values until an extra option is activated 10 years ago
convert_menuconfig.pl busybox: adjust convert_menuconfig.pl to emit relative path references for Config.in files and refresh generated files 9 years ago