freeramdisk: make NOEXEC

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2017-08-07 23:17:14 +02:00
parent ae84418d26
commit ec98e3a628
2 changed files with 4 additions and 4 deletions

View File

@ -134,7 +134,7 @@ flashcp - hardware
flock - spawner, changes state (file locks), let's play safe and not be noexec flock - spawner, changes state (file locks), let's play safe and not be noexec
fold - noexec. runner fold - noexec. runner
free - noexec. nofork candidate(struct globals, needs to close /proc/meminfo fd) free - noexec. nofork candidate(struct globals, needs to close /proc/meminfo fd)
freeramdisk - leaks: open+ioctl_or_perror_and_die freeramdisk - noexec. leaks: open+ioctl_or_perror_and_die
fsck - interactive, longterm fsck - interactive, longterm
fsck.minix - needs ^C fsck.minix - needs ^C
fsfreeze - noexec. leaks: open+xioctl fsfreeze - noexec. leaks: open+xioctl

View File

@ -33,9 +33,9 @@
//config: ramdisk. If you have no use for freeing memory from a ramdisk, leave //config: ramdisk. If you have no use for freeing memory from a ramdisk, leave
//config: this disabled. //config: this disabled.
// APPLET_ODDNAME:name main location suid_type help // APPLET_ODDNAME:name main location suid_type help
//applet:IF_FDFLUSH(APPLET_ODDNAME(fdflush, freeramdisk, BB_DIR_BIN, BB_SUID_DROP, fdflush)) //applet:IF_FDFLUSH( APPLET_ODDNAME(fdflush, freeramdisk, BB_DIR_BIN, BB_SUID_DROP, fdflush ))
//applet:IF_FREERAMDISK(APPLET(freeramdisk, BB_DIR_SBIN, BB_SUID_DROP)) //applet:IF_FREERAMDISK(APPLET_NOEXEC(freeramdisk, freeramdisk, BB_DIR_SBIN, BB_SUID_DROP, freeramdisk))
//kbuild:lib-$(CONFIG_FDFLUSH) += freeramdisk.o //kbuild:lib-$(CONFIG_FDFLUSH) += freeramdisk.o
//kbuild:lib-$(CONFIG_FREERAMDISK) += freeramdisk.o //kbuild:lib-$(CONFIG_FREERAMDISK) += freeramdisk.o