/ast/src/cmd/3d/ |
H A D | access3d.c | 60 case X_OK: 75 if (mode & (R_OK|W_OK|X_OK)) 82 if (mode & X_OK) test |= S_IXUSR; 88 if (mode & X_OK) test |= S_IXGRP; 94 if (mode & X_OK) test |= S_IXOTH;
|
/ast/src/lib/libast/comp/ |
H A D | system.c | 49 return !eaccess(pathshell(), X_OK);
|
H A D | eaccess.c | 76 if (!S_ISREG(st.st_mode) || !(flags & X_OK) || (st.st_mode & (S_IXUSR|S_IXGRP|S_IXOTH))) 86 if (flags & X_OK) 98 if (flags & X_OK) 127 if (flags & X_OK)
|
H A D | rename.c | 46 if (!eaccess(mvdir, X_OK))
|
H A D | spawnveg.c | 72 if (!access(path, X_OK)) 172 if (access(path, X_OK))
|
/ast/src/lib/libcoshell/ |
H A D | system.c | 38 return !eaccess(pathshell(), X_OK);
|
/ast/src/lib/libast/path/ |
H A D | pathtemp.c | 84 #define VALID(d) (*(d)&&!eaccess(d,W_OK|X_OK)) 185 if (!(d = (char*)dir) || *d && eaccess(d, W_OK|X_OK)) 230 if (!d && (!*(d = astconf("TMP", NiL, NiL)) || eaccess(d, W_OK|X_OK)) && eaccess(d = TMP1, W_OK|X_OK) && eaccess(d = TMP2, W_OK|X_OK))
|
H A D | pathshell.c | 107 if (!*(sh = astconf("SH", NiL, NiL)) || *sh != '/' || eaccess(sh, X_OK) || !(sh = strdup(sh)))
|
/ast/src/cmd/std/ |
H A D | iconv.c | 125 if (!access(p, X_OK) || !access(p += 4, X_OK))
|
/ast/src/lib/libast/sfio/ |
H A D | sfpopen.c | 58 { if(access(interp,X_OK) == 0) 110 { if(access(cmd,X_OK) != 0) 117 if(access(s,X_OK) == 0)
|
H A D | sfhdr.h | 469 #ifndef X_OK 470 #define X_OK 01 macro
|
/ast/src/lib/libcmd/ |
H A D | getconf.c | 293 if ((cmd = oargv[0]) && *cmd == '/' && !access(cmd, X_OK)) 360 if (!access(buf, X_OK)) 378 if (!access(buf, X_OK))
|
H A D | date.c | 230 if (!streq(cmd, s) && (!eaccess(s, X_OK) || !eaccess(s+=4, X_OK)))
|
H A D | uname.c | 329 if (!streq(argv[0], s) && (!eaccess(s, X_OK) || !eaccess(s+=4, X_OK)))
|
/ast/src/lib/libcs/ |
H A D | cslocal.c | 140 if (!eaccess(exe, X_OK) && !stat(exe, &st)) break;
|
H A D | csauth.c | 139 if (eaccess(tmp, X_OK) && (mkdir(tmp, S_IRWXU|S_IRWXG|S_IRWXO) || chmod(tmp, S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO)))
|
H A D | cssend.c | 100 if (eaccess(s, X_OK) && (mkdir(s, S_IRWXU|S_IRWXG|S_IRWXO) || chmod(s, S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO)))
|
H A D | csopen.c | 54 if (eaccess(state->mount, R_OK|W_OK|X_OK)) 61 if (eaccess(state->mount, X_OK)) 66 if (eaccess(state->mount, X_OK)) 71 if (eaccess(state->mount, X_OK) && (mkdir(state->mount, S_IRWXU|S_IRWXG|S_IRWXO) || chmod(state->mount, S_IRWXU|S_IRWXG|S_IRWXO))) 993 if ((op & CS_OPEN_CREATE) && eaccess(path, X_OK) && (mkdir(path, S_IRWXU|S_IRWXG|S_IRWXO) || chmod(path, S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO)))
|
/ast/src/cmd/ksh93/sh/ |
H A D | suid_exec.c | 172 if(access(p,X_OK) < 0) 184 if(eaccess(argv[0],X_OK) < 0)
|
H A D | path.c | 964 else if((statb.st_mode&S_IXALL)==S_IXALL || sh_access(path,X_OK)>=0) 1092 if(r && access(path,X_OK))
|
/ast/src/cmd/ksh93/bltins/ |
H A D | test.c | 324 return(permission(arg, X_OK)); 567 if(mode==X_OK && shp->gd->euserid==0) 598 if(!S_ISREG(statb.st_mode) || mode!=X_OK)
|
/ast/src/cmd/ie/ |
H A D | io.h | 186 # define X_OK 1 /* is it executable by caller */ macro
|
/ast/src/lib/libtksh/tcl/ |
H A D | tclUnixFile.c | 547 if (access(Tcl_DStringValue(&buffer), X_OK) == 0) {
|
/ast/src/cmd/ss/ |
H A D | ssd.c | 448 if (eaccess(cmd, X_OK)) idlecmd = 0;
|
/ast/src/lib/libtksh/src/ |
H A D | filecmd.c | 171 mode = X_OK;
|