diff options
author | Denys Vlasenko | 2016-11-23 11:46:32 +0100 |
---|---|---|
committer | Denys Vlasenko | 2016-11-23 11:46:32 +0100 |
commit | dd898c9f3388fca1d7339a45150fbb7406de0971 (patch) | |
tree | f9f498c9d86c26bd208acc687c5f29b451927ce3 /util-linux/mount.c | |
parent | e5dd71f94f8691c41382b89de35088695cca34b9 (diff) | |
download | busybox-dd898c9f3388fca1d7339a45150fbb7406de0971.zip busybox-dd898c9f3388fca1d7339a45150fbb7406de0971.tar.gz |
Convert all util-linux/* applets to "new style" applet definitions
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/mount.c')
-rw-r--r-- | util-linux/mount.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c index eb8b7ba..42962b8 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c @@ -112,6 +112,14 @@ //config: help //config: Support mount -T (specifying an alternate fstab) +/* On full-blown systems, requires suid for user mounts. + * But it's not unthinkable to have it available in non-suid flavor on some systems, + * for viewing mount table. + * Therefore we use BB_SUID_MAYBE instead of BB_SUID_REQUIRE: */ +//applet:IF_MOUNT(APPLET(mount, BB_DIR_BIN, IF_DESKTOP(BB_SUID_MAYBE) IF_NOT_DESKTOP(BB_SUID_DROP))) + +//kbuild:lib-$(CONFIG_MOUNT) += mount.o + //usage:#define mount_trivial_usage //usage: "[OPTIONS] [-o OPT] DEVICE NODE" //usage:#define mount_full_usage "\n\n" |