diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-08-04 02:56:39 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-08-04 02:56:39 +0200 |
commit | 3346b4afc5c81d53eae4e7fc7e12ebd6fa573a4e (patch) | |
tree | e33011f2b34b79a7c974f0aefc13b9a72378e811 /modutils/lsmod.c | |
parent | 4dc86699b57ff35c287ca396d562ec206776694a (diff) | |
download | busybox-w32-3346b4afc5c81d53eae4e7fc7e12ebd6fa573a4e.tar.gz busybox-w32-3346b4afc5c81d53eae4e7fc7e12ebd6fa573a4e.tar.bz2 busybox-w32-3346b4afc5c81d53eae4e7fc7e12ebd6fa573a4e.zip |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modutils/lsmod.c b/modutils/lsmod.c index 4bf8f8481..84860cd79 100644 --- a/modutils/lsmod.c +++ b/modutils/lsmod.c | |||
@@ -23,7 +23,7 @@ | |||
23 | //config: the format of module-init-tools for Linux kernel 2.6. | 23 | //config: the format of module-init-tools for Linux kernel 2.6. |
24 | //config: Increases size somewhat. | 24 | //config: Increases size somewhat. |
25 | 25 | ||
26 | //applet:IF_LSMOD(IF_NOT_MODPROBE_SMALL(APPLET(lsmod, BB_DIR_SBIN, BB_SUID_DROP))) | 26 | //applet:IF_LSMOD(IF_NOT_MODPROBE_SMALL(APPLET_NOEXEC(lsmod, lsmod, BB_DIR_SBIN, BB_SUID_DROP, lsmod))) |
27 | 27 | ||
28 | //kbuild:ifneq ($(CONFIG_MODPROBE_SMALL),y) | 28 | //kbuild:ifneq ($(CONFIG_MODPROBE_SMALL),y) |
29 | //kbuild:lib-$(CONFIG_LSMOD) += lsmod.o modutils.o | 29 | //kbuild:lib-$(CONFIG_LSMOD) += lsmod.o modutils.o |