diff options
-rw-r--r-- | NOFORK_NOEXEC.lst | 2 | ||||
-rw-r--r-- | util-linux/freeramdisk.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/NOFORK_NOEXEC.lst b/NOFORK_NOEXEC.lst index a8823beff..fd5306317 100644 --- a/NOFORK_NOEXEC.lst +++ b/NOFORK_NOEXEC.lst | |||
@@ -134,7 +134,7 @@ flashcp - hardware | |||
134 | flock - spawner, changes state (file locks), let's play safe and not be noexec | 134 | flock - spawner, changes state (file locks), let's play safe and not be noexec |
135 | fold - noexec. runner | 135 | fold - noexec. runner |
136 | free - noexec. nofork candidate(struct globals, needs to close /proc/meminfo fd) | 136 | free - noexec. nofork candidate(struct globals, needs to close /proc/meminfo fd) |
137 | freeramdisk - leaks: open+ioctl_or_perror_and_die | 137 | freeramdisk - noexec. leaks: open+ioctl_or_perror_and_die |
138 | fsck - interactive, longterm | 138 | fsck - interactive, longterm |
139 | fsck.minix - needs ^C | 139 | fsck.minix - needs ^C |
140 | fsfreeze - noexec. leaks: open+xioctl | 140 | fsfreeze - noexec. leaks: open+xioctl |
diff --git a/util-linux/freeramdisk.c b/util-linux/freeramdisk.c index a73578404..6752e49d8 100644 --- a/util-linux/freeramdisk.c +++ b/util-linux/freeramdisk.c | |||
@@ -33,9 +33,9 @@ | |||
33 | //config: ramdisk. If you have no use for freeing memory from a ramdisk, leave | 33 | //config: ramdisk. If you have no use for freeing memory from a ramdisk, leave |
34 | //config: this disabled. | 34 | //config: this disabled. |
35 | 35 | ||
36 | // APPLET_ODDNAME:name main location suid_type help | 36 | // APPLET_ODDNAME:name main location suid_type help |
37 | //applet:IF_FDFLUSH(APPLET_ODDNAME(fdflush, freeramdisk, BB_DIR_BIN, BB_SUID_DROP, fdflush)) | 37 | //applet:IF_FDFLUSH( APPLET_ODDNAME(fdflush, freeramdisk, BB_DIR_BIN, BB_SUID_DROP, fdflush )) |
38 | //applet:IF_FREERAMDISK(APPLET(freeramdisk, BB_DIR_SBIN, BB_SUID_DROP)) | 38 | //applet:IF_FREERAMDISK(APPLET_NOEXEC(freeramdisk, freeramdisk, BB_DIR_SBIN, BB_SUID_DROP, freeramdisk)) |
39 | 39 | ||
40 | //kbuild:lib-$(CONFIG_FDFLUSH) += freeramdisk.o | 40 | //kbuild:lib-$(CONFIG_FDFLUSH) += freeramdisk.o |
41 | //kbuild:lib-$(CONFIG_FREERAMDISK) += freeramdisk.o | 41 | //kbuild:lib-$(CONFIG_FREERAMDISK) += freeramdisk.o |