aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NOFORK_NOEXEC.lst2
-rw-r--r--util-linux/blkid.c4
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
basename - NOFORK
beep
blkdiscard
-blkid
+blkid - noexec
blockdev - noexec. leaks fd
bootchartd - daemon
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 @@
//config:
//config:config FEATURE_BLKID_TYPE
//config: bool "Print filesystem type"
-//config: default n
+//config: default y
//config: depends on BLKID
//config: help
//config: Show TYPE="filesystem type"
-//applet:IF_BLKID(APPLET(blkid, BB_DIR_SBIN, BB_SUID_DROP))
+//applet:IF_BLKID(APPLET_NOEXEC(blkid, blkid, BB_DIR_SBIN, BB_SUID_DROP, blkid))
//kbuild:lib-$(CONFIG_BLKID) += blkid.o