[git commit] fatattr: make NOEXEC

Denys Vlasenko vda.linux at googlemail.com
Mon Aug 7 20:21:54 UTC 2017


commit: https://git.busybox.net/busybox/commit/?id=354b104df1f5a07bbac554603f69d6d8c3077e07
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 NOFORK_NOEXEC.lst    | 2 +-
 util-linux/fatattr.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/NOFORK_NOEXEC.lst b/NOFORK_NOEXEC.lst
index 8580593..d7e60b4 100644
--- a/NOFORK_NOEXEC.lst
+++ b/NOFORK_NOEXEC.lst
@@ -117,7 +117,7 @@ expr - leaks: nested allocs
 factor - runner (eats stdin if no params)
 fakeidentd - daemon
 false - NOFORK
-fatattr - leaks: open+xioctl, complex
+fatattr - noexec. leaks: open+xioctl, complex
 fbset - hardware, leaks: open+xfunc
 fbsplash - runner, longterm
 fdflush - hardware, leaks: open+ioctl_or_perror_and_die
diff --git a/util-linux/fatattr.c b/util-linux/fatattr.c
index 9fb566d..770b1d2 100644
--- a/util-linux/fatattr.c
+++ b/util-linux/fatattr.c
@@ -15,7 +15,7 @@
 //config:	help
 //config:	fatattr lists or changes the file attributes on a fat file system.
 
-//applet:IF_FATATTR(APPLET(fatattr, BB_DIR_BIN, BB_SUID_DROP))
+//applet:IF_FATATTR(APPLET_NOEXEC(fatattr, fatattr, BB_DIR_BIN, BB_SUID_DROP, fatattr))
 
 //kbuild:lib-$(CONFIG_FATATTR) += fatattr.o
 


More information about the busybox-cvs mailing list