diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-08-07 22:21:54 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-08-07 22:21:54 +0200 |
commit | 354b104df1f5a07bbac554603f69d6d8c3077e07 (patch) | |
tree | ed85200ce581d86fb8e85330453b3863622b01df | |
parent | fc9efcb53bf59edb47be7f25d2a374907af2e6a8 (diff) | |
download | busybox-w32-354b104df1f5a07bbac554603f69d6d8c3077e07.tar.gz busybox-w32-354b104df1f5a07bbac554603f69d6d8c3077e07.tar.bz2 busybox-w32-354b104df1f5a07bbac554603f69d6d8c3077e07.zip |
fatattr: make NOEXEC
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | NOFORK_NOEXEC.lst | 2 | ||||
-rw-r--r-- | util-linux/fatattr.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/NOFORK_NOEXEC.lst b/NOFORK_NOEXEC.lst index 8580593cb..d7e60b442 100644 --- a/NOFORK_NOEXEC.lst +++ b/NOFORK_NOEXEC.lst | |||
@@ -117,7 +117,7 @@ expr - leaks: nested allocs | |||
117 | factor - runner (eats stdin if no params) | 117 | factor - runner (eats stdin if no params) |
118 | fakeidentd - daemon | 118 | fakeidentd - daemon |
119 | false - NOFORK | 119 | false - NOFORK |
120 | fatattr - leaks: open+xioctl, complex | 120 | fatattr - noexec. leaks: open+xioctl, complex |
121 | fbset - hardware, leaks: open+xfunc | 121 | fbset - hardware, leaks: open+xfunc |
122 | fbsplash - runner, longterm | 122 | fbsplash - runner, longterm |
123 | fdflush - hardware, leaks: open+ioctl_or_perror_and_die | 123 | fdflush - hardware, leaks: open+ioctl_or_perror_and_die |
diff --git a/util-linux/fatattr.c b/util-linux/fatattr.c index 9fb566d5a..770b1d2f9 100644 --- a/util-linux/fatattr.c +++ b/util-linux/fatattr.c | |||
@@ -15,7 +15,7 @@ | |||
15 | //config: help | 15 | //config: help |
16 | //config: fatattr lists or changes the file attributes on a fat file system. | 16 | //config: fatattr lists or changes the file attributes on a fat file system. |
17 | 17 | ||
18 | //applet:IF_FATATTR(APPLET(fatattr, BB_DIR_BIN, BB_SUID_DROP)) | 18 | //applet:IF_FATATTR(APPLET_NOEXEC(fatattr, fatattr, BB_DIR_BIN, BB_SUID_DROP, fatattr)) |
19 | 19 | ||
20 | //kbuild:lib-$(CONFIG_FATATTR) += fatattr.o | 20 | //kbuild:lib-$(CONFIG_FATATTR) += fatattr.o |
21 | 21 | ||