Searched refs:PATH_EXECUTE (Results 1 – 13 of 13) sorted by relevance
/illumos-gate/usr/src/contrib/ast/src/lib/libast/path/ |
H A D | pathexists.c | 103 t->mode = PATH_READ|PATH_EXECUTE; in pathexists() 124 t->mode |= PATH_EXECUTE; in pathexists() 132 mode &= (PATH_READ|PATH_WRITE|PATH_EXECUTE|PATH_REGULAR); in pathexists()
|
H A D | pathprobe.c | 136 if (!(proc = pathpath(proc, NiL, PATH_ABSOLUTE|PATH_REGULAR|PATH_EXECUTE, cmd, sizeof(cmd)))) in pathprobe_20100601() 161 if (!pathpath(lib, "", PATH_ABSOLUTE|PATH_EXECUTE, path, pathsize) || stat(path, &ps)) in pathprobe_20100601() 195 if (*path == '/' && pathexists(path, PATH_REGULAR|PATH_EXECUTE)) in pathprobe_20100601() 199 if (*path == '/' && pathexists(path, PATH_REGULAR|PATH_EXECUTE) && !stat(path, &ps)) in pathprobe_20100601()
|
H A D | pathprog.c | 124 n = pathpath(rel, NiL, PATH_REGULAR|PATH_EXECUTE, path, size) ? strlen(path) : 0; in pathprog()
|
H A D | pathpath.c | 112 if (pathexists(path, PATH_EXECUTE)) in pathpath_20100601()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/ |
H A D | procrun.c | 46 return pathpath(path, NiL, PATH_REGULAR|PATH_EXECUTE, buf, sizeof(buf)) ? 0 : -1; in procrun()
|
H A D | cmdarg.c | 176 if (!pathpath(exe, NiL, PATH_REGULAR|PATH_EXECUTE, s, n + m)) in cmdopen_20120411()
|
H A D | procopen.c | 445 if (cmd && (!*cmd || !pathpath(cmd, NiL, PATH_REGULAR|PATH_EXECUTE, path, sizeof(path)))) in procopen()
|
H A D | fastfind.c | 253 …if (pathpath(fp->encode.file, "", PATH_EXECUTE|PATH_READ|PATH_WRITE, fp->encode.temp, sizeof(fp->e… in findopen()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/ |
H A D | execvpe.c | 51 …if (*path != '/' && !(path = pathpath(name, NULL, PATH_REGULAR|PATH_EXECUTE, buffer, sizeof(buffer…
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/preroot/ |
H A D | setpreroot.c | 45 …rgv++) == '/' || (cmd = pathpath(cmd, NiL, PATH_ABSOLUTE|PATH_REGULAR|PATH_EXECUTE, buf, sizeof(bu… in setpreroot()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | dirname.c | 117 mode |= PATH_EXECUTE; in b_dirname()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/obsolete/ |
H A D | spawn.c | 91 path = pathpath(name, NULL, PATH_REGULAR|PATH_EXECUTE, buffer, sizeof(buffer));
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/ |
H A D | ast.h | 124 #define PATH_EXECUTE 001 macro
|