diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2018-01-14 14:32:11 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2018-01-14 14:32:11 +0100 |
commit | cbdc37cae079d6b52ca39fb6c1dd6eadab48b617 (patch) | |
tree | 1ebe59878ee213667665e6dcca3c6faa9f65a45b /util-linux | |
parent | 586f1ee7cfcb442caf467a4ea5fb9351ef3c0d11 (diff) | |
download | busybox-w32-cbdc37cae079d6b52ca39fb6c1dd6eadab48b617.tar.gz busybox-w32-cbdc37cae079d6b52ca39fb6c1dd6eadab48b617.tar.bz2 busybox-w32-cbdc37cae079d6b52ca39fb6c1dd6eadab48b617.zip |
cal: make it NOEXEC
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux')
-rw-r--r-- | util-linux/cal.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util-linux/cal.c b/util-linux/cal.c index 10df0ae8b..a4a20d5f0 100644 --- a/util-linux/cal.c +++ b/util-linux/cal.c | |||
@@ -16,7 +16,8 @@ | |||
16 | //config: help | 16 | //config: help |
17 | //config: cal is used to display a monthly calendar. | 17 | //config: cal is used to display a monthly calendar. |
18 | 18 | ||
19 | //applet:IF_CAL(APPLET(cal, BB_DIR_USR_BIN, BB_SUID_DROP)) | 19 | //applet:IF_CAL(APPLET_NOEXEC(cal, cal, BB_DIR_USR_BIN, BB_SUID_DROP, cal)) |
20 | /* NOEXEC despite rare cases when it can be a "runner" (e.g. cal -n12000 takes you into years 30xx) */ | ||
20 | 21 | ||
21 | //kbuild:lib-$(CONFIG_CAL) += cal.o | 22 | //kbuild:lib-$(CONFIG_CAL) += cal.o |
22 | 23 | ||