diff options
author | Rob Landley <rob@landley.net> | 2010-01-05 12:17:05 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2010-01-05 12:17:05 -0600 |
commit | e0377fb294821a68112d4da09f836ac42e3d5956 (patch) | |
tree | 489d2a2b21393f7283870c2f21ed82b5818f1d82 /toys.h | |
parent | 1e01cd1f48bff3fdd12f45bf1c3adfab821ee287 (diff) | |
download | toybox-e0377fb294821a68112d4da09f836ac42e3d5956.tar.gz |
Add TOYBOX_SUID.
Diffstat (limited to 'toys.h')
-rw-r--r-- | toys.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -68,6 +68,11 @@ void toy_exec(char *argv[]); // Start applet with a umask of 0 (saves old umask in this.old_umask) #define TOYFLAG_UMASK (1<<5) +// This applet runs as root. +#define TOYFLAG_STAYROOT (1<<6) +#define TOYFLAG_NEEDROOT (1<<7) +#define TOYFLAG_ROOTONLY (TOYFLAG_STAYROOT|TOYFLAG_NEEDROOT) + // Array of available applets extern struct toy_list { |