diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-08-06 20:14:02 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-08-06 20:14:02 +0200 |
commit | 86e07f6893cfe94a4a7c4aba4b643752808d4235 (patch) | |
tree | c927223ecdabd088789772d38fe394a73a465381 | |
parent | 0f14f41e72d48836a5287d00f05cea236b25be40 (diff) | |
download | busybox-w32-86e07f6893cfe94a4a7c4aba4b643752808d4235.tar.gz busybox-w32-86e07f6893cfe94a4a7c4aba4b643752808d4235.tar.bz2 busybox-w32-86e07f6893cfe94a4a7c4aba4b643752808d4235.zip |
brctl: make it NOEXEC
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | NOFORK_NOEXEC.lst | 2 | ||||
-rw-r--r-- | networking/brctl.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/NOFORK_NOEXEC.lst b/NOFORK_NOEXEC.lst index 97b7d8b20..dc2828069 100644 --- a/NOFORK_NOEXEC.lst +++ b/NOFORK_NOEXEC.lst | |||
@@ -53,7 +53,7 @@ blkdiscard | |||
53 | blkid | 53 | blkid |
54 | blockdev - noexec. leaks fd | 54 | blockdev - noexec. leaks fd |
55 | bootchartd - daemon | 55 | bootchartd - daemon |
56 | brctl | 56 | brctl - noexec |
57 | bunzip2 - runner | 57 | bunzip2 - runner |
58 | busybox | 58 | busybox |
59 | bzcat - runner | 59 | bzcat - runner |
diff --git a/networking/brctl.c b/networking/brctl.c index 690791e4c..5d5f0af30 100644 --- a/networking/brctl.c +++ b/networking/brctl.c | |||
@@ -39,7 +39,7 @@ | |||
39 | //config: Add support for option which prints the current config: | 39 | //config: Add support for option which prints the current config: |
40 | //config: show | 40 | //config: show |
41 | 41 | ||
42 | //applet:IF_BRCTL(APPLET(brctl, BB_DIR_USR_SBIN, BB_SUID_DROP)) | 42 | //applet:IF_BRCTL(APPLET_NOEXEC(brctl, brctl, BB_DIR_USR_SBIN, BB_SUID_DROP, brctl)) |
43 | 43 | ||
44 | //kbuild:lib-$(CONFIG_BRCTL) += brctl.o | 44 | //kbuild:lib-$(CONFIG_BRCTL) += brctl.o |
45 | 45 | ||