aboutsummaryrefslogtreecommitdiff
path: root/console-tools
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-08-06 18:56:25 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2017-08-06 18:56:25 +0200
commit5cb907fffc25ce26d7388b485e64261f7ee42450 (patch)
tree7008bb87f4ef6389381d7a0a6a796142c62dc757 /console-tools
parentab2338110094fe371f44657b17e6980afd37c535 (diff)
downloadbusybox-5cb907fffc25ce26d7388b485e64261f7ee42450.tar.gz
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>
Diffstat (limited to 'console-tools')
-rw-r--r--console-tools/setconsole.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/console-tools/setconsole.c b/console-tools/setconsole.c
index fa5269ebb..9a8ca3821 100644
--- a/console-tools/setconsole.c
+++ b/console-tools/setconsole.c
@@ -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