Searched refs:S_IROTH (Results 1 - 25 of 51) sorted by relevance
123
/ast/src/lib/libast/string/ |
H A D | modedata.c | 66 S_IROTH, X_IROTH,
|
H A D | strperm.c | 107 typ |= S_IRUSR|S_IRGRP|S_IROTH; 193 if (typ & S_IROTH) 212 if (typ & S_IROTH)
|
H A D | fmtperm.c | 83 if (perm & S_IROTH)
|
/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)) 92 if (mode & R_OK) test |= S_IROTH;
|
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 | 124 mode |= S_IROTH;
|
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/proto/ |
H A D | proto.c | 222 #ifndef S_IROTH 223 #define S_IROTH 0004 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 | 168 #ifndef S_IROTH 169 printf("#define S_IROTH 0%04o\n", X_IROTH); 171 if (S_IROTH != X_IROTH) idperm = 0; 190 printf("#define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH)\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 | tee.c | 180 while ((*hp = open(cp, oflag, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)) < 0 && errno == EINTR)
|
H A D | cksum.c | 243 (st->st_uid != state->uid && ((st->st_mode & S_ISUID) || (st->st_mode & S_IRUSR) && !(st->st_mode & (S_IRGRP|S_IROTH)) || (st->st_mode & S_IXUSR) && !(st->st_mode & (S_IXGRP|S_IXOTH)))) ? fmtuid(st->st_uid) : "-", 244 (st->st_gid != state->gid && ((st->st_mode & S_ISGID) || (st->st_mode & S_IRGRP) && !(st->st_mode & S_IROTH) || (st->st_mode & S_IXGRP) && !(st->st_mode & S_IXOTH))) ? fmtgid(st->st_gid) : "-");
|
/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)
|
/ast/src/cmd/ie/ |
H A D | io.h | 80 #ifndef S_IROTH 81 # define S_IROTH (S_IREAD>>6) macro 82 #endif /* S_IROTH */ 89 #define RW_ALL (S_IRUSR|S_IRGRP|S_IROTH|S_IWUSR|S_IWGRP|S_IWOTH)
|
/ast/src/lib/libast/path/ |
H A D | pathexists.c | 119 if (st.st_mode & (S_IRUSR|S_IRGRP|S_IROTH))
|
H A D | pathtemp.c | 99 } tmp = { S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH }; 147 tmp.mode = S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH;
|
/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 | css.c | 202 css->perm = S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH; 288 if (close(open(css->mount, O_WRONLY|O_CREAT|O_TRUNC, st.st_mode & (S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH))) || 289 chmod(css->mount, st.st_mode & (S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH)) || 315 open(css->mount, O_WRONLY|O_CREAT|O_TRUNC, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH); 318 css->perm = st.st_mode & (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH); 320 umask(~css->perm & (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH));
|
/ast/src/cmd/cs/vcs_src/ |
H A D | ifs_func.c | 246 mkdir( fpath, S_IRWXU|S_IRWXG|S_IROTH|S_IXOTH ); 285 mkdir( buf, S_IRWXU|S_IRWXG|S_IROTH|S_IXOTH );
|
H A D | vcs_misc.c | 250 st->st_mode & S_IROTH ? 1 : 2);
|
/ast/src/cmd/probe/ |
H A D | probe.c | 499 if (access(path, F_OK) && mkdir(path, S_IRWXU|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH)) 515 chmod(tmp, S_IRUSR|S_IRGRP|S_IROTH); 598 if (access(cmd, F_OK) && mkdir(cmd, S_IRWXU|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH))
|
/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)
|
H A D | cs.c | 211 mode = ftw->statb.st_mode & (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH); 286 sfprintf(sfstdout, "%c%s 1 %-8s %-8s %7s %s %s%s%s\n", label[0][0], fmtmode(mode, 0) + 1, fmtuid(st.st_uid), (mode & S_IROTH) ? "other" : fmtgid(ftw->statb.st_gid), port, time_buf, label[2], qual_buf, proc); 291 if (!(mode & S_IROTH))
|
Completed in 54 milliseconds
123