From cbdc37cae079d6b52ca39fb6c1dd6eadab48b617 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 14 Jan 2018 14:32:11 +0100 Subject: cal: make it NOEXEC Signed-off-by: Denys Vlasenko --- util-linux/cal.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'util-linux') diff --git a/util-linux/cal.c b/util-linux/cal.c index 10df0ae..a4a20d5 100644 --- a/util-linux/cal.c +++ b/util-linux/cal.c @@ -16,7 +16,8 @@ //config: help //config: cal is used to display a monthly calendar. -//applet:IF_CAL(APPLET(cal, BB_DIR_USR_BIN, BB_SUID_DROP)) +//applet:IF_CAL(APPLET_NOEXEC(cal, cal, BB_DIR_USR_BIN, BB_SUID_DROP, cal)) +/* NOEXEC despite rare cases when it can be a "runner" (e.g. cal -n12000 takes you into years 30xx) */ //kbuild:lib-$(CONFIG_CAL) += cal.o -- cgit v1.1