/ast/src/lib/libast/string/ |
H A D | modedata.c | 68 S_IXOTH, X_IXOTH
|
H A D | strperm.c | 113 if (!S_ISDIR(perm) && !(perm & (S_IXUSR|S_IXGRP|S_IXOTH))) 117 typ |= S_IXUSR|S_IXGRP|S_IXOTH; 189 if (typ & S_IXOTH) 206 if ((typ |= perm) & (S_IXUSR|S_IXGRP|S_IXOTH)) 213 perm |= who & S_IXOTH;
|
H A D | fmtperm.c | 87 if (perm & S_IXOTH)
|
H A D | fmtls.c | 107 else if (st->st_mode & (S_IXUSR|S_IXGRP|S_IXOTH))
|
/ast/src/cmd/3d/ |
H A D | access3d.c | 61 if ((st.st_mode&(S_IXUSR|S_IXGRP|S_IXOTH)) == (S_IXUSR|S_IXGRP|S_IXOTH)) 94 if (mode & X_OK) test |= S_IXOTH;
|
H A D | open3d.c | 224 mode = ((S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)|(st.st_mode & (S_IXUSR|S_IXGRP|S_IXOTH)));
|
/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) 53 #define AT_EXEC_OK(d,x) (S_ISREG((x)->st_mode)&&((x)->st_mode&(S_IXUSR|S_IXGRP|S_IWOTH|S_IXOTH))==(S_IXUSR|S_IXGRP|S_IXOTH)) 71 #define AT_DIR_MODE (S_IRUSR|S_IWUSR|S_IXUSR|S_IXGRP|S_IXOTH) 75 #define AT_EXEC_OK(d,x) (S_ISREG((x)->st_mode)&&((x)->st_mode&(S_IXUSR|S_IWGRP|S_IXGRP|S_IWOTH|S_IXOTH))==(S_IXUSR|S_IXGRP|S_IXOTH))
|
H A D | atd.c | 1386 if ((xs.st_mode&(S_IXUSR|S_IXGRP|S_IWOTH|S_IXOTH)) != (S_IXUSR|S_IXGRP|S_IXOTH)) 1392 error(3, "%s: invalid [ mode=%04o uid=%d euid=%d t1=%04o t2=%04o==%04o ]", s, xs.st_mode, xs.st_uid, geteuid(), S_ISREG(xs.st_mode), xs.st_mode&(S_IXUSR|S_IXGRP|S_IWOTH|S_IXOTH), (S_IXUSR|S_IXGRP|S_IXOTH));
|
/ast/src/lib/libast/comp/ |
H A D | eaccess.c | 76 if (!S_ISREG(st.st_mode) || !(flags & X_OK) || (st.st_mode & (S_IXUSR|S_IXGRP|S_IXOTH))) 128 mode |= S_IXOTH;
|
H A D | omitted.c | 319 (mode & (S_IXUSR|S_IXGRP|S_IXOTH)) && 494 if (!S_ISREG(st.st_mode) || !(st.st_mode & (S_IXUSR|S_IXGRP|S_IXOTH)))
|
/ast/src/lib/libast/features/ |
H A D | mode.c | 178 #ifndef S_IXOTH 179 printf("#define S_IXOTH 0%04o\n", X_IXOTH); 181 if (S_IXOTH != X_IXOTH) idperm = 0; 190 printf("#define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH)\n");
|
/ast/src/cmd/proto/ |
H A D | proto.c | 228 #ifndef S_IXOTH 229 #define S_IXOTH 0001 macro 268 if (st.st_mode &= (S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IWGRP|S_IXGRP|S_IROTH|S_IWOTH|S_IXOTH)) 342 if (access(buf, 0) && mkdir(buf, S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH))
|
/ast/src/lib/libast/path/ |
H A D | pathexists.c | 123 if (st.st_mode & (S_IXUSR|S_IXGRP|S_IXOTH))
|
/ast/src/cmd/ksh93/sh/ |
H A D | shcomp.c | 116 chmod(cp,(statb.st_mode&~S_IFMT)|S_IXUSR|S_IXGRP|S_IXOTH); local
|
H A D | suid_exec.c | 303 mode = (S_IXUSR|S_IXGRP|S_IXOTH);
|
/ast/src/cmd/ie/ |
H A D | io.h | 86 #ifndef S_IXOTH 87 # define S_IXOTH (S_IEXEC>>6) macro 88 #endif /* S_IXOTH */
|
/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 );
|
/ast/src/cmd/ss/ |
H A D | ssd.c | 73 #ifndef S_IXOTH 74 #define S_IXOTH 0001 macro 413 if ((i = strlen(entry->d_name) - 2) > 0 && entry->d_name[i] == 'i' && entry->d_name[i + 1] == 'x' && !stat(entry->d_name, &st) && (st.st_mode & (S_IXUSR|S_IXGRP|S_IXOTH)))
|
/ast/src/lib/libcmd/ |
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/probe/ |
H A D | probe.c | 499 if (access(path, F_OK) && mkdir(path, S_IRWXU|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH)) 598 if (access(cmd, F_OK) && mkdir(cmd, S_IRWXU|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH))
|
/ast/src/lib/libcs/ |
H A D | csauth.c | 101 if ((t = (char*)arg) && !(st.st_mode & S_IXOTH))
|
/ast/src/cmd/pax/ |
H A D | format.c | 766 if (f->st->st_gid != state.gid && ((f->st->st_mode & S_ISGID) || (f->st->st_mode & S_IRGRP) && !(f->st->st_mode & S_IROTH) || (f->st->st_mode & S_IXGRP) && !(f->st->st_mode & S_IXOTH))) 771 if (f->st->st_uid != state.uid && ((f->st->st_mode & S_ISUID) || (f->st->st_mode & S_IRUSR) && !(f->st->st_mode & (S_IRGRP|S_IROTH)) || (f->st->st_mode & S_IXUSR) && !(f->st->st_mode & (S_IXGRP|S_IXOTH)))) 839 , (f->st->st_uid != state.uid && ((f->st->st_mode & S_ISUID) || (f->st->st_mode & S_IRUSR) && !(f->st->st_mode & (S_IRGRP|S_IROTH)) || (f->st->st_mode & S_IXUSR) && !(f->st->st_mode & (S_IXGRP|S_IXOTH)))) ? fmtuid(f->st->st_uid) : "-" 840 , (f->st->st_gid != state.gid && ((f->st->st_mode & S_ISGID) || (f->st->st_mode & S_IRGRP) && !(f->st->st_mode & S_IROTH) || (f->st->st_mode & S_IXGRP) && !(f->st->st_mode & S_IXOTH))) ? fmtgid(f->st->st_gid) : "-"
|
/ast/src/cmd/nmake/ |
H A D | misc.c | 71 if (!stat(name, st) && (st->st_mode & (S_IXUSR|S_IXGRP|S_IXOTH)))
|
/ast/src/cmd/INIT/ |
H A D | mamake.c | 146 #ifndef S_IXOTH 147 #define S_IXOTH 0001 /* other execute permission */ macro 1301 if ((x = status(buf, 0, s, &st)) && (st.st_mode & (S_IXUSR|S_IXGRP|S_IXOTH))) 1323 if ((x = status(buf, o, x, &st)) && (st.st_mode & (S_IXUSR|S_IXGRP|S_IXOTH)))
|
/ast/src/lib/libast/misc/ |
H A D | glob.c | 130 else if (st.st_mode & (S_IXUSR|S_IXGRP|S_IXOTH))
|