freeramdisk: make NOEXEC
[oweals/busybox.git] / util-linux / fatattr.c
index 5d933874a62698575458ecc56740ec95b2c07591..770b1d2f9a143fbca576112a6c2c4ddb0be220b1 100644 (file)
@@ -9,13 +9,14 @@
  * Public License
  */
 //config:config FATATTR
-//config:      bool "fatattr"
+//config:      bool "fatattr (1.9 kb)"
 //config:      default y
 //config:      select PLATFORM_LINUX
 //config:      help
-//config:        fatattr lists or changes the file attributes on a fat file system.
+//config:      fatattr lists or changes the file attributes on a fat file system.
+
+//applet:IF_FATATTR(APPLET_NOEXEC(fatattr, fatattr, BB_DIR_BIN, BB_SUID_DROP, fatattr))
 
-//applet:IF_FATATTR(APPLET(fatattr, BB_DIR_BIN, BB_SUID_DROP))
 //kbuild:lib-$(CONFIG_FATATTR) += fatattr.o
 
 //usage:#define fatattr_trivial_usage
@@ -42,7 +43,7 @@
  * Extra space at the end is a hack to print space separator in file listing.
  * Let's hope no one ever passes space as an option char :)
  */
-static const char bit_to_char[] = "rhsvda67 ";
+static const char bit_to_char[] ALIGN1 = "rhsvda67 ";
 
 static inline unsigned long get_flag(char c)
 {