summaryrefslogtreecommitdiff
path: root/modutils/lsmod.c
diff options
context:
space:
mode:
authorDenys Vlasenko2017-08-04 02:56:39 +0200
committerDenys Vlasenko2017-08-04 02:56:39 +0200
commit3346b4afc5c81d53eae4e7fc7e12ebd6fa573a4e (patch)
treee33011f2b34b79a7c974f0aefc13b9a72378e811 /modutils/lsmod.c
parent4dc86699b57ff35c287ca396d562ec206776694a (diff)
downloadbusybox-3346b4afc5c81d53eae4e7fc7e12ebd6fa573a4e.zip
busybox-3346b4afc5c81d53eae4e7fc7e12ebd6fa573a4e.tar.gz
modutils: make them NOEXEC except depmod
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'modutils/lsmod.c')
-rw-r--r--modutils/lsmod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modutils/lsmod.c b/modutils/lsmod.c
index 4bf8f84..84860cd 100644
--- a/modutils/lsmod.c
+++ b/modutils/lsmod.c
@@ -23,7 +23,7 @@
//config: the format of module-init-tools for Linux kernel 2.6.
//config: Increases size somewhat.
-//applet:IF_LSMOD(IF_NOT_MODPROBE_SMALL(APPLET(lsmod, BB_DIR_SBIN, BB_SUID_DROP)))
+//applet:IF_LSMOD(IF_NOT_MODPROBE_SMALL(APPLET_NOEXEC(lsmod, lsmod, BB_DIR_SBIN, BB_SUID_DROP, lsmod)))
//kbuild:ifneq ($(CONFIG_MODPROBE_SMALL),y)
//kbuild:lib-$(CONFIG_LSMOD) += lsmod.o modutils.o