aboutsummaryrefslogtreecommitdiff
path: root/console-tools/chvt.c
diff options
context:
space:
mode:
authorGravatar Denys Vlasenko <vda.linux@googlemail.com>2017-08-05 02:02:31 +0200
committerGravatar Denys Vlasenko <vda.linux@googlemail.com>2017-08-05 02:02:31 +0200
commitff53bee72300ba97c645404a64c7091991ffa110 (patch)
tree9d02bf1799875859ab4d4ad3928f08fdbb7162d4 /console-tools/chvt.c
parentfdb92359e47eee8ccd57092928cedccb28ce2f11 (diff)
downloadbusybox-ff53bee72300ba97c645404a64c7091991ffa110.tar.gz
busybox-ff53bee72300ba97c645404a64c7091991ffa110.tar.bz2
chvt, deallocvt, dumpkmap, fgconsole, loadkmap: make them NOEXEC
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'console-tools/chvt.c')
-rw-r--r--console-tools/chvt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/console-tools/chvt.c b/console-tools/chvt.c
index d8152de6b..75380a90b 100644
--- a/console-tools/chvt.c
+++ b/console-tools/chvt.c
@@ -14,7 +14,7 @@
//config: This program is used to change to another terminal.
//config: Example: chvt 4 (change to terminal /dev/tty4)
-//applet:IF_CHVT(APPLET(chvt, BB_DIR_USR_BIN, BB_SUID_DROP))
+//applet:IF_CHVT(APPLET_NOEXEC(chvt, chvt, BB_DIR_USR_BIN, BB_SUID_DROP, chvt))
//kbuild:lib-$(CONFIG_CHVT) += chvt.o