mirror of
https://github.com/topjohnwu/ndk-busybox.git
synced 2024-12-03 17:31:50 +00:00
sysctl: make it NOEXEC
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
50db1f29bf
commit
caf26b36f3
@ -341,7 +341,7 @@ swapoff - rare
|
||||
swapon - rare
|
||||
switch_root - spawner, rare, changes state (oh yes), execing may be important to free binary's inode
|
||||
sync - NOFORK
|
||||
sysctl - noexec candidate, leaks: xstrdup+xmalloc_read
|
||||
sysctl - noexec. leaks: xstrdup+xmalloc_read
|
||||
syslogd - daemon
|
||||
tac - noexec. runner
|
||||
tail - runner
|
||||
|
@ -16,7 +16,7 @@
|
||||
//config: help
|
||||
//config: Configure kernel parameters at runtime.
|
||||
|
||||
//applet:IF_BB_SYSCTL(APPLET(sysctl, BB_DIR_SBIN, BB_SUID_DROP))
|
||||
//applet:IF_BB_SYSCTL(APPLET_NOEXEC(sysctl, sysctl, BB_DIR_SBIN, BB_SUID_DROP, sysctl))
|
||||
|
||||
//kbuild:lib-$(CONFIG_BB_SYSCTL) += sysctl.o
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user