Home
last modified time | relevance | path

Searched refs:PATH_EXECUTE (Results 1 – 13 of 13) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/lib/libast/path/
H A Dpathexists.c103 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 Dpathprobe.c136 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 Dpathprog.c124 n = pathpath(rel, NiL, PATH_REGULAR|PATH_EXECUTE, path, size) ? strlen(path) : 0; in pathprog()
H A Dpathpath.c112 if (pathexists(path, PATH_EXECUTE)) in pathpath_20100601()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/
H A Dprocrun.c46 return pathpath(path, NiL, PATH_REGULAR|PATH_EXECUTE, buf, sizeof(buf)) ? 0 : -1; in procrun()
H A Dcmdarg.c176 if (!pathpath(exe, NiL, PATH_REGULAR|PATH_EXECUTE, s, n + m)) in cmdopen_20120411()
H A Dprocopen.c445 if (cmd && (!*cmd || !pathpath(cmd, NiL, PATH_REGULAR|PATH_EXECUTE, path, sizeof(path)))) in procopen()
H A Dfastfind.c253 …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 Dexecvpe.c51 …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 Dsetpreroot.c45 …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 Ddirname.c117 mode |= PATH_EXECUTE; in b_dirname()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/obsolete/
H A Dspawn.c91 path = pathpath(name, NULL, PATH_REGULAR|PATH_EXECUTE, buffer, sizeof(buffer));
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/
H A Dast.h124 #define PATH_EXECUTE 001 macro