diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-08-06 20:16:28 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-08-06 20:16:28 +0200 |
commit | bf18239e3d6305fc83e5177bd9a27c5114cc4c16 (patch) | |
tree | 5b39259fe80cbfecb81bbfb6ed782620b7c0e656 | |
parent | 86e07f6893cfe94a4a7c4aba4b643752808d4235 (diff) | |
download | busybox-w32-bf18239e3d6305fc83e5177bd9a27c5114cc4c16.tar.gz busybox-w32-bf18239e3d6305fc83e5177bd9a27c5114cc4c16.tar.bz2 busybox-w32-bf18239e3d6305fc83e5177bd9a27c5114cc4c16.zip |
blkid: make it NOEXEC, make FEATURE_BLKID_TYPE=y default
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | NOFORK_NOEXEC.lst | 2 | ||||
-rw-r--r-- | util-linux/blkid.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/NOFORK_NOEXEC.lst b/NOFORK_NOEXEC.lst index dc2828069..9735e756a 100644 --- a/NOFORK_NOEXEC.lst +++ b/NOFORK_NOEXEC.lst | |||
@@ -50,7 +50,7 @@ base64 - runner | |||
50 | basename - NOFORK | 50 | basename - NOFORK |
51 | beep | 51 | beep |
52 | blkdiscard | 52 | blkdiscard |
53 | blkid | 53 | blkid - noexec |
54 | blockdev - noexec. leaks fd | 54 | blockdev - noexec. leaks fd |
55 | bootchartd - daemon | 55 | bootchartd - daemon |
56 | brctl - noexec | 56 | brctl - noexec |
diff --git a/util-linux/blkid.c b/util-linux/blkid.c index 0bd701aae..a56b69661 100644 --- a/util-linux/blkid.c +++ b/util-linux/blkid.c | |||
@@ -16,12 +16,12 @@ | |||
16 | //config: | 16 | //config: |
17 | //config:config FEATURE_BLKID_TYPE | 17 | //config:config FEATURE_BLKID_TYPE |
18 | //config: bool "Print filesystem type" | 18 | //config: bool "Print filesystem type" |
19 | //config: default n | 19 | //config: default y |
20 | //config: depends on BLKID | 20 | //config: depends on BLKID |
21 | //config: help | 21 | //config: help |
22 | //config: Show TYPE="filesystem type" | 22 | //config: Show TYPE="filesystem type" |
23 | 23 | ||
24 | //applet:IF_BLKID(APPLET(blkid, BB_DIR_SBIN, BB_SUID_DROP)) | 24 | //applet:IF_BLKID(APPLET_NOEXEC(blkid, blkid, BB_DIR_SBIN, BB_SUID_DROP, blkid)) |
25 | 25 | ||
26 | //kbuild:lib-$(CONFIG_BLKID) += blkid.o | 26 | //kbuild:lib-$(CONFIG_BLKID) += blkid.o |
27 | 27 | ||