Searched defs:umsk (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/mkfifo/
H A Dmkfifo.c64 mode_t umsk = umask(0); local
65 mode_t mode = ALLRW & (~umsk);
82 mode = newmode(optarg, ALLRW, umsk, "", "");
/illumos-gate/usr/src/cmd/chmod/
H A Dcommon.c92 newmode_common(char *ms, mode_t new_mode, mode_t umsk, char *file, char *path,
100 newmode(char *ms, mode_t new_mode, mode_t umsk, char *file, char *path) argument
104 return (newmode_common(ms, new_mode, umsk, file, path, &tmp1, &tmp2));
115 newmode_common(char *ms, mode_t new_mode, mode_t umsk, char *file, char *path, argument
124 * umsk contains the umask value to be assumed.
234 perms_msk &= ~umsk;
349 perms_msk &= ~umsk;
415 perms_msk &= ~umsk;
H A Dchmod.c143 extern mode_t newmode_common(char *ms, mode_t new_mode, mode_t umsk,
147 static int chmodr(char *dir, char *path, mode_t mode, mode_t umsk,
150 static int dochmod(char *name, char *path, mode_t umsk, sec_args_t *secp,
168 mode_t umsk; local
248 umsk = umask(0);
249 (void) umask(umsk);
252 status += dochmod(mav[i], mav[i], umsk, sec_args, attrnames);
274 dochmod(char *name, char *path, mode_t umsk, sec_args_t *secp, argument
296 return (chmodr(name, path, st.st_mode, umsk, secp, attrnames));
308 if (chmod(name, newmode_common(ms, st.st_mode, umsk, nam
329 chmodr(char *dir, char *path, mode_t mode, mode_t umsk, sec_args_t *secp, attr_name_t *attrnames) argument
[all...]

Completed in 67 milliseconds