diff options
author | Denis Vlasenko | 2009-04-18 02:06:54 +0000 |
---|---|---|
committer | Denis Vlasenko | 2009-04-18 02:06:54 +0000 |
commit | eb85849b50a3c8af6ef0d3dbbf0fd1387e37d1f8 (patch) | |
tree | a970e91569040c0a431f3dbe649f732ff9be0717 /shell/ash.c | |
parent | 6b9e05392b4457f0ea808810761f8fb9efdffc44 (diff) | |
download | busybox-eb85849b50a3c8af6ef0d3dbbf0fd1387e37d1f8.zip busybox-eb85849b50a3c8af6ef0d3dbbf0fd1387e37d1f8.tar.gz |
hush: deal with umask TODO (symbolic modes)
function old new delta
builtin_umask 79 125 +46
Diffstat (limited to 'shell/ash.c')
-rw-r--r-- | shell/ash.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c index 4acc301..c53b080 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -12646,6 +12646,8 @@ umaskcmd(int argc UNUSED_PARAM, char **argv) S_IROTH, S_IWOTH, S_IXOTH }; + /* TODO: use bb_parse_mode() instead */ + char *ap; mode_t mask; int i; @@ -12712,7 +12714,6 @@ umaskcmd(int argc UNUSED_PARAM, char **argv) * * Public domain. */ - struct limits { uint8_t cmd; /* RLIMIT_xxx fit into it */ uint8_t factor_shift; /* shift by to get rlim_{cur,max} values */ |