diff options
author | Denys Vlasenko | 2017-08-05 01:29:12 +0200 |
---|---|---|
committer | Denys Vlasenko | 2017-08-05 01:29:12 +0200 |
commit | 9f59849daab488b5a46926a2979e8b957021e844 (patch) | |
tree | 874c7feabc9c931ee2c2be0dddc02414562a0c58 /util-linux | |
parent | b182e9ad6011909fdb76358431d23d195febaf54 (diff) | |
download | busybox-9f59849daab488b5a46926a2979e8b957021e844.zip busybox-9f59849daab488b5a46926a2979e8b957021e844.tar.gz |
blockdev, fsfreeze, fstrim, mountpoint: make NOEXEC
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux')
-rw-r--r-- | util-linux/blockdev.c | 2 | ||||
-rw-r--r-- | util-linux/fsfreeze.c | 2 | ||||
-rw-r--r-- | util-linux/fstrim.c | 2 | ||||
-rw-r--r-- | util-linux/mountpoint.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/util-linux/blockdev.c b/util-linux/blockdev.c index 9e1fef2..e53ade99 100644 --- a/util-linux/blockdev.c +++ b/util-linux/blockdev.c @@ -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 diff --git a/util-linux/fsfreeze.c b/util-linux/fsfreeze.c index 5c10c80..c1f3156 100644 --- a/util-linux/fsfreeze.c +++ b/util-linux/fsfreeze.c @@ -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 diff --git a/util-linux/fstrim.c b/util-linux/fstrim.c index 6d0d61d..49b3ceb 100644 --- a/util-linux/fstrim.c +++ b/util-linux/fstrim.c @@ -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 diff --git a/util-linux/mountpoint.c b/util-linux/mountpoint.c index b7f0481..5077253 100644 --- a/util-linux/mountpoint.c +++ b/util-linux/mountpoint.c @@ -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 |