blockdev, fsfreeze, fstrim, mountpoint: make NOEXEC
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
//config: help
|
||||
//config: Performs some ioctls with block devices.
|
||||
|
||||
//applet:IF_BLOCKDEV(APPLET(blockdev, BB_DIR_SBIN, BB_SUID_DROP))
|
||||
//applet:IF_BLOCKDEV(APPLET_NOEXEC(blockdev, blockdev, BB_DIR_SBIN, BB_SUID_DROP, blockdev))
|
||||
|
||||
//kbuild:lib-$(CONFIG_BLOCKDEV) += blockdev.o
|
||||
|
||||
|
@@ -13,7 +13,7 @@
|
||||
//config: help
|
||||
//config: Halt new accesses and flush writes on a mounted filesystem.
|
||||
|
||||
//applet:IF_FSFREEZE(APPLET(fsfreeze, BB_DIR_USR_SBIN, BB_SUID_DROP))
|
||||
//applet:IF_FSFREEZE(APPLET_NOEXEC(fsfreeze, fsfreeze, BB_DIR_USR_SBIN, BB_SUID_DROP, fsfreeze))
|
||||
|
||||
//kbuild:lib-$(CONFIG_FSFREEZE) += fsfreeze.o
|
||||
|
||||
|
@@ -15,7 +15,7 @@
|
||||
//config: help
|
||||
//config: Discard unused blocks on a mounted filesystem.
|
||||
|
||||
//applet:IF_FSTRIM(APPLET(fstrim, BB_DIR_SBIN, BB_SUID_DROP))
|
||||
//applet:IF_FSTRIM(APPLET_NOEXEC(fstrim, fstrim, BB_DIR_SBIN, BB_SUID_DROP, fstrim))
|
||||
|
||||
//kbuild:lib-$(CONFIG_FSTRIM) += fstrim.o
|
||||
|
||||
|
@@ -14,7 +14,7 @@
|
||||
//config: help
|
||||
//config: mountpoint checks if the directory is a mountpoint.
|
||||
|
||||
//applet:IF_MOUNTPOINT(APPLET(mountpoint, BB_DIR_BIN, BB_SUID_DROP))
|
||||
//applet:IF_MOUNTPOINT(APPLET_NOEXEC(mountpoint, mountpoint, BB_DIR_BIN, BB_SUID_DROP, mountpoint))
|
||||
|
||||
//kbuild:lib-$(CONFIG_MOUNTPOINT) += mountpoint.o
|
||||
|
||||
|
Reference in New Issue
Block a user