ps: make it NOEXEC
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
1fd8e66203
commit
9a6f62fd51
@ -283,8 +283,8 @@ poweroff - rare
|
|||||||
powertop - interactive, longterm
|
powertop - interactive, longterm
|
||||||
printenv - NOFORK
|
printenv - NOFORK
|
||||||
printf - NOFORK
|
printf - NOFORK
|
||||||
ps - looks for AT_CLKTCK elf aux vector, therefore can't be noexec
|
ps - noexec
|
||||||
pscan - longterm
|
pscan - talks to network
|
||||||
pstree - noexec
|
pstree - noexec
|
||||||
pwd - NOFORK
|
pwd - NOFORK
|
||||||
pwdx - NOFORK
|
pwdx - NOFORK
|
||||||
|
@ -50,8 +50,7 @@
|
|||||||
//config: Include support for measuring HZ on old kernels and non-ELF systems
|
//config: Include support for measuring HZ on old kernels and non-ELF systems
|
||||||
//config: (if you are on Linux 2.4.0+ and use ELF, you don't need this)
|
//config: (if you are on Linux 2.4.0+ and use ELF, you don't need this)
|
||||||
|
|
||||||
//applet:IF_PS(APPLET(ps, BB_DIR_BIN, BB_SUID_DROP))
|
//applet:IF_PS(APPLET_NOEXEC(ps, ps, BB_DIR_BIN, BB_SUID_DROP, ps))
|
||||||
/* can't be NOEXEC: uses ELF aux vector. To have it, we must be a normal, execed process */
|
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_PS) += ps.o
|
//kbuild:lib-$(CONFIG_PS) += ps.o
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user