aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/applets.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/applets.h b/include/applets.h
index 3b759de20..0c0209676 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -46,6 +46,10 @@
46# define _BB_DIR_USR_SBIN _BB_DIR_SBIN 46# define _BB_DIR_USR_SBIN _BB_DIR_SBIN
47#endif 47#endif
48 48
49// _BB_SUID_ALWAYS: will complain if busybox isn't suid
50// and is run by non-root (applet_main() will not be called at all)
51// _BB_SUID_NEVER: will drop suid prior to applet_main()
52// _BB_SUID_MAYBE: neither of the above
49 53
50USE_TEST(APPLET_NOUSAGE([, test, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) 54USE_TEST(APPLET_NOUSAGE([, test, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
51USE_TEST(APPLET_NOUSAGE([[, test, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) 55USE_TEST(APPLET_NOUSAGE([[, test, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
@@ -198,7 +202,7 @@ USE_MKSWAP(APPLET(mkswap, _BB_DIR_SBIN, _BB_SUID_NEVER))
198USE_MKTEMP(APPLET(mktemp, _BB_DIR_BIN, _BB_SUID_NEVER)) 202USE_MKTEMP(APPLET(mktemp, _BB_DIR_BIN, _BB_SUID_NEVER))
199USE_MODPROBE(APPLET(modprobe, _BB_DIR_SBIN, _BB_SUID_NEVER)) 203USE_MODPROBE(APPLET(modprobe, _BB_DIR_SBIN, _BB_SUID_NEVER))
200USE_MORE(APPLET(more, _BB_DIR_BIN, _BB_SUID_NEVER)) 204USE_MORE(APPLET(more, _BB_DIR_BIN, _BB_SUID_NEVER))
201USE_MOUNT(APPLET(mount, _BB_DIR_BIN, _BB_SUID_NEVER)) 205USE_MOUNT(APPLET(mount, _BB_DIR_BIN, USE_DESKTOP(_BB_SUID_MAYBE) SKIP_DESKTOP(_BB_SUID_NEVER)))
202USE_MOUNTPOINT(APPLET(mountpoint, _BB_DIR_BIN, _BB_SUID_NEVER)) 206USE_MOUNTPOINT(APPLET(mountpoint, _BB_DIR_BIN, _BB_SUID_NEVER))
203USE_MSH(APPLET_NOUSAGE(msh, msh, _BB_DIR_BIN, _BB_SUID_NEVER)) 207USE_MSH(APPLET_NOUSAGE(msh, msh, _BB_DIR_BIN, _BB_SUID_NEVER))
204USE_MT(APPLET(mt, _BB_DIR_BIN, _BB_SUID_NEVER)) 208USE_MT(APPLET(mt, _BB_DIR_BIN, _BB_SUID_NEVER))