diff options
author | Rob Landley <rob@landley.net> | 2008-02-12 19:05:44 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2008-02-12 19:05:44 -0600 |
commit | 0f8c4c5998317e575f1afd47dad7f6967bc271ab (patch) | |
tree | 11613ae34f3830bf02914c9381eaa5790da63801 /toys.h | |
parent | 6882ee89dc5da4081d5721706ad77a3e0396b1bc (diff) | |
download | toybox-0f8c4c5998317e575f1afd47dad7f6967bc271ab.tar.gz |
Add TOYFLAG_UMASK.
Diffstat (limited to 'toys.h')
-rw-r--r-- | toys.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -61,6 +61,7 @@ void toy_exec(char *argv[]); #define TOYMASK_LOCATION ((1<<4)-1) #define TOYFLAG_NOFORK (1<<4) +#define TOYFLAG_UMASK (1<<5) extern struct toy_list { char *name; @@ -79,6 +80,7 @@ extern struct toy_context { char **optargs; // Arguments left over from get_optflags() int optc; // Count of optargs int exithelp; // Should error_exit print a usage message first? (Option parsing.) + int old_umask; } toys; // One big temporary buffer, for use by applets (not library functions). |