From ec98e3a628b06f6cb8823e5197dcd413113d7ed6 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 7 Aug 2017 23:17:14 +0200 Subject: freeramdisk: make NOEXEC Signed-off-by: Denys Vlasenko --- util-linux/freeramdisk.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'util-linux') diff --git a/util-linux/freeramdisk.c b/util-linux/freeramdisk.c index a735784..6752e49 100644 --- a/util-linux/freeramdisk.c +++ b/util-linux/freeramdisk.c @@ -33,9 +33,9 @@ //config: ramdisk. If you have no use for freeing memory from a ramdisk, leave //config: this disabled. -// APPLET_ODDNAME:name main location suid_type help -//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_ODDNAME:name main location suid_type help +//applet:IF_FDFLUSH( APPLET_ODDNAME(fdflush, freeramdisk, BB_DIR_BIN, BB_SUID_DROP, fdflush )) +//applet:IF_FREERAMDISK(APPLET_NOEXEC(freeramdisk, freeramdisk, BB_DIR_SBIN, BB_SUID_DROP, freeramdisk)) //kbuild:lib-$(CONFIG_FDFLUSH) += freeramdisk.o //kbuild:lib-$(CONFIG_FREERAMDISK) += freeramdisk.o -- cgit v1.1