tls: in AES-GCM decoding, avoid memmove
[oweals/busybox.git] / util-linux / mountpoint.c
index b7f048196a12b4a066b62056a44349d38b6933a7..6b21a5fb3eb93543f8ff65f638de0c2f8801b2f4 100644 (file)
@@ -14,7 +14,7 @@
 //config:      help
 //config:      mountpoint checks if the directory is a mountpoint.
 
-//applet:IF_MOUNTPOINT(APPLET(mountpoint, BB_DIR_BIN, BB_SUID_DROP))
+//applet:IF_MOUNTPOINT(APPLET_NOEXEC(mountpoint, mountpoint, BB_DIR_BIN, BB_SUID_DROP, mountpoint))
 
 //kbuild:lib-$(CONFIG_MOUNTPOINT) += mountpoint.o
 
@@ -43,8 +43,7 @@ int mountpoint_main(int argc UNUSED_PARAM, char **argv)
        char *arg;
        int rc, opt;
 
-       opt_complementary = "=1"; /* must have one argument */
-       opt = getopt32(argv, "qdxn");
+       opt = getopt32(argv, "^" "qdxn" "\0" "=1");
 #define OPT_q (1)
 #define OPT_d (2)
 #define OPT_x (4)