Searched refs:S_IRUSR (Results 1 - 25 of 66) sorted by relevance
123
/ast/src/lib/libast/string/ |
H A D | modedata.c | 60 S_IRUSR, X_IRUSR,
|
H A D | strperm.c | 107 typ |= S_IRUSR|S_IRGRP|S_IROTH; 194 perm |= who & (S_IRUSR|S_IRGRP); 200 perm |= who & S_IRUSR; 208 if (typ & S_IRUSR)
|
H A D | fmtperm.c | 51 if (perm & S_IRUSR)
|
/ast/src/cmd/3d/ |
H A D | access3d.c | 53 if ((st.st_mode&(S_IRUSR|S_IRGRP|S_IROTH)) == (S_IRUSR|S_IRGRP|S_IROTH)) 80 if (mode & R_OK) test |= S_IRUSR;
|
H A D | touch.c | 142 mode = (~mode) & (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH); 182 mode = (~mode) & (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH);
|
/ast/src/lib/libast/comp/ |
H A D | symlink.c | 48 if ((fd = open(b, O_CREAT|O_TRUNC|O_WRONLY|O_cloexec, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)) < 0)
|
H A D | eaccess.c | 83 mode |= S_IRUSR;
|
H A D | open.c | 58 mode = (op & O_CREAT) ? va_arg(ap, int) : S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH;
|
/ast/src/cmd/at/ |
H A D | at.h | 47 #define AT_DIR_MODE (S_IRUSR|S_IWUSR|S_IXUSR|S_IXGRP|S_IXOTH|S_IRGRP|S_IROTH) 48 #define AT_JOB_MODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH) 71 #define AT_DIR_MODE (S_IRUSR|S_IWUSR|S_IXUSR|S_IXGRP|S_IXOTH) 72 #define AT_JOB_MODE (S_IRUSR|S_IWUSR)
|
/ast/src/cmd/proto/ |
H A D | proto.c | 204 #ifndef S_IRUSR 205 #define S_IRUSR 0400 macro 268 if (st.st_mode &= (S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IWGRP|S_IXGRP|S_IROTH|S_IWOTH|S_IXOTH)) 313 if ((fd = creat(file, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH)) < 0) 334 if ((fd = creat(buf, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH)) < 0) 342 if (access(buf, 0) && mkdir(buf, S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH)) 351 if ((fd = creat(buf, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH)) < 0)
|
/ast/src/lib/libast/features/ |
H A D | mode.c | 138 #ifndef S_IRUSR 139 printf("#define S_IRUSR 0%04o\n", X_IRUSR); 141 if (S_IRUSR != X_IRUSR) idperm = 0; 184 printf("#define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR)\n");
|
/ast/src/lib/libcmd/ |
H A D | mkfifo.c | 56 register mode_t mode = S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH;
|
H A D | mktemp.c | 128 mode = (fdp ? (S_IRUSR|S_IWUSR) : S_IRWXU) & ~mask;
|
H A D | tee.c | 180 while ((*hp = open(cp, oflag, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)) < 0 && errno == EINTR)
|
/ast/src/lib/libast/path/ |
H A D | pathtemp.c | 99 } tmp = { S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH }; 142 tmp.mode = S_IRUSR|S_IWUSR; 147 tmp.mode = S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH;
|
H A D | pathexists.c | 119 if (st.st_mode & (S_IRUSR|S_IRGRP|S_IROTH))
|
/ast/src/cmd/ie/ |
H A D | io.h | 62 #ifndef S_IRUSR 63 # define S_IRUSR (S_IREAD) macro 64 #endif /* S_IRUSR */ 89 #define RW_ALL (S_IRUSR|S_IRGRP|S_IROTH|S_IWUSR|S_IWGRP|S_IWOTH)
|
/ast/src/lib/libast/aso/ |
H A D | aso-sem.c | 82 perm = S_IRUSR|S_IWUSR;
|
H A D | aso-fcntl.c | 89 perm = S_IRUSR|S_IWUSR;
|
/ast/src/lib/libast/tm/ |
H A D | tvtouch.c | 149 mode = (~mode) & (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH); 273 mode = (~mode) & (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH);
|
/ast/src/lib/libcs/ |
H A D | csauth.c | 160 if ((stat(tmp, &st) || t1 <= (unsigned long)st.st_ctime && !remove(tmp)) && !close(open(tmp, O_CREAT|O_TRUNC|O_cloexec, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH))) break; 170 if (chmod(tmp, S_ISUID|S_ISGID|S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH))
|
H A D | cslib.h | 34 #define CS_AUTH_MODE (S_ISUID|S_ISGID|S_IRUSR)
|
H A D | csrecv.c | 351 if (!stat(s, &st) && (fds[i] = open(s, (st.st_mode & (S_IRUSR|S_IWUSR)) == (S_IRUSR|S_IWUSR) ? O_RDWR : (st.st_mode & S_IWUSR) ? O_WRONLY : O_RDONLY)) >= 0)
|
/ast/src/cmd/cs/ |
H A D | cat.c | 107 if (!s || (ad = csopen(s, 0)) < 0 && (ad = open(s, O_CREAT|O_APPEND|O_WRONLY|O_BINARY, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)) < 0)
|
/ast/src/cmd/cs/vcs_src/ |
H A D | vcs_misc.c | 244 st->st_mode & S_IRUSR ? 1 : 2);
|
Completed in 67 milliseconds
123