Searched refs:S_IXOTH (Results 1 - 25 of 37) sorted by relevance

12

/ast/src/lib/libast/string/
H A Dmodedata.c68 S_IXOTH, X_IXOTH
H A Dstrperm.c113 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 Dfmtperm.c87 if (perm & S_IXOTH)
H A Dfmtls.c107 else if (st->st_mode & (S_IXUSR|S_IXGRP|S_IXOTH))
/ast/src/cmd/3d/
H A Daccess3d.c61 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 Dopen3d.c224 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 Dat.h47 #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 Datd.c1386 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 Deaccess.c76 if (!S_ISREG(st.st_mode) || !(flags & X_OK) || (st.st_mode & (S_IXUSR|S_IXGRP|S_IXOTH)))
128 mode |= S_IXOTH;
H A Domitted.c319 (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 Dmode.c178 #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 Dproto.c228 #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 Dpathexists.c123 if (st.st_mode & (S_IXUSR|S_IXGRP|S_IXOTH))
/ast/src/cmd/ksh93/sh/
H A Dshcomp.c116 chmod(cp,(statb.st_mode&~S_IFMT)|S_IXUSR|S_IXGRP|S_IXOTH); local
H A Dsuid_exec.c303 mode = (S_IXUSR|S_IXGRP|S_IXOTH);
/ast/src/cmd/ie/
H A Dio.h86 #ifndef S_IXOTH
87 # define S_IXOTH (S_IEXEC>>6) macro
88 #endif /* S_IXOTH */
/ast/src/cmd/cs/vcs_src/
H A Difs_func.c246 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 Dssd.c73 #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 Dcksum.c243 (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 Dprobe.c499 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 Dcsauth.c101 if ((t = (char*)arg) && !(st.st_mode & S_IXOTH))
/ast/src/cmd/pax/
H A Dformat.c766 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 Dmisc.c71 if (!stat(name, st) && (st->st_mode & (S_IXUSR|S_IXGRP|S_IXOTH)))
/ast/src/cmd/INIT/
H A Dmamake.c146 #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 Dglob.c130 else if (st.st_mode & (S_IXUSR|S_IXGRP|S_IXOTH))

Completed in 274 milliseconds

12