Home
last modified time | relevance | path

Searched refs:umsk (Results 1 – 5 of 5) sorted by relevance

/titanic_44/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) in newmode() argument
104 return (newmode_common(ms, new_mode, umsk, file, path, &tmp1, &tmp2)); in newmode()
115 newmode_common(char *ms, mode_t new_mode, mode_t umsk, char *file, char *path, in newmode_common() argument
234 perms_msk &= ~umsk; in newmode_common()
349 perms_msk &= ~umsk; in newmode_common()
415 perms_msk &= ~umsk; in newmode_common()
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; in main() local
248 umsk = umask(0); in main()
249 (void) umask(umsk); in main()
252 status += dochmod(mav[i], mav[i], umsk, sec_args, attrnames); in main()
274 dochmod(char *name, char *path, mode_t umsk, sec_args_t *secp, in dochmod() argument
296 return (chmodr(name, path, st.st_mode, umsk, secp, attrnames)); in dochmod()
308 if (chmod(name, newmode_common(ms, st.st_mode, umsk, name, path, in dochmod()
[all …]
/titanic_44/usr/src/cmd/mkfifo/
H A Dmkfifo.c64 mode_t umsk = umask(0); in main() local
65 mode_t mode = ALLRW & (~umsk); in main()
82 mode = newmode(optarg, ALLRW, umsk, "", ""); in main()
/titanic_44/usr/src/cmd/mkdir/
H A Dmkdir.c72 newmode(char *ms, mode_t new_mode, mode_t umsk, char *file, char *path);
/titanic_44/usr/src/cmd/bnu/
H A Duudecode.c103 extern mode_t newmode(char *ms, mode_t new_mode, mode_t umsk,