setconsole: make it NOEXEC

BTW, I failed to make it do what it meant to do.
ioctl appears to succeed, but kernel's output is not coming
to the specified console (tried on VT consoles too).
OTOH, setlogcons does work...

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2017-08-06 18:56:25 +02:00
parent ab23381100
commit 5cb907fffc
2 changed files with 2 additions and 2 deletions

View File

@ -305,7 +305,7 @@ sed - runner
sendmail - runner
seq - noexec. runner
setarch - noexec. spawner
setconsole
setconsole - noexec
setfont
setkeycodes - noexec
setlogcons - noexec

View File

@ -20,7 +20,7 @@
//config: default y
//config: depends on SETCONSOLE && LONG_OPTS
//applet:IF_SETCONSOLE(APPLET(setconsole, BB_DIR_SBIN, BB_SUID_DROP))
//applet:IF_SETCONSOLE(APPLET_NOEXEC(setconsole, setconsole, BB_DIR_SBIN, BB_SUID_DROP, setconsole))
//kbuild:lib-$(CONFIG_SETCONSOLE) += setconsole.o