cal: make it NOEXEC
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
586f1ee7cf
commit
cbdc37cae0
@ -72,7 +72,7 @@ brctl - noexec
|
|||||||
bunzip2 - runner
|
bunzip2 - runner
|
||||||
bzcat - runner
|
bzcat - runner
|
||||||
bzip2 - runner
|
bzip2 - runner
|
||||||
cal - runner: cal -n9999
|
cal - noexec. can be runner: cal -n9999
|
||||||
cat - runner: cat HUGEFILE
|
cat - runner: cat HUGEFILE
|
||||||
chat - longterm (when used as intended - talking to modem over stdin/out)
|
chat - longterm (when used as intended - talking to modem over stdin/out)
|
||||||
chattr - noexec. runner
|
chattr - noexec. runner
|
||||||
|
@ -16,7 +16,8 @@
|
|||||||
//config: help
|
//config: help
|
||||||
//config: cal is used to display a monthly calendar.
|
//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
|
//kbuild:lib-$(CONFIG_CAL) += cal.o
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user