Home
last modified time | relevance | path

Searched refs:PATH_REGULAR (Results 1 – 17 of 17) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/lib/libast/path/
H A Dpathfind.c139 if (pathpath(tmp, "", PATH_REGULAR, buf, size)) in pathfind()
144 if (pathpath(tmp, "", PATH_REGULAR, buf, size)) in pathfind()
158 if (pathpath(tmp, "", PATH_REGULAR, buf, size)) in pathfind()
163 if (pathpath(tmp, "", PATH_REGULAR, buf, size)) in pathfind()
H A Dpathexists.c126 t->mode |= PATH_REGULAR; in pathexists()
129 if (!t->mode || c && (t->mode & PATH_REGULAR)) 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()
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()
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Ddirname.c110 mode |= PATH_REGULAR; in b_dirname()
113 mode &= ~PATH_REGULAR; in b_dirname()
/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 Dfastfind.c245 …else if (pathpath(path, "", PATH_REGULAR|PATH_READ|PATH_WRITE, fp->encode.file, sizeof(fp->encode.… in findopen()
395 …else if ((path = pathpath(path, "", PATH_REGULAR|PATH_READ, fp->decode.path, sizeof(fp->decode.pat… in findopen()
H A Dprocopen.c445 if (cmd && (!*cmd || !pathpath(cmd, NiL, PATH_REGULAR|PATH_EXECUTE, path, sizeof(path)))) in procopen()
H A Dmagic.c2276 … if (!(t = pathpath(s, "", PATH_REGULAR|PATH_READ, mp->fbuf, sizeof(mp->fbuf))) && !strchr(s, '/')) in magicload()
2282 if (!(t = pathpath(s, "", PATH_REGULAR|PATH_READ, mp->fbuf, sizeof(mp->fbuf)))) in magicload()
/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…
H A Dsyslog.c269 if (*(s = p->name) != '/' && !(s = pathpath(buf, s, "", PATH_REGULAR|PATH_READ, sizeof(buf))))
/illumos-gate/usr/src/contrib/ast/src/lib/libast/preroot/
H A Dsetpreroot.c45 …& (*(cmd = *argv++) == '/' || (cmd = pathpath(cmd, NiL, PATH_ABSOLUTE|PATH_REGULAR|PATH_EXECUTE, b… in setpreroot()
/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.h125 #define PATH_REGULAR 010 macro
/illumos-gate/usr/src/contrib/ast/src/lib/libast/port/
H A Dmc.c190 …if (s = pathpath(file, "", (!catalog && category == AST_LC_MESSAGES) ? PATH_READ : (PATH_REGULAR|P… in mcfind()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/
H A DRELEASE850 03-02-07 path/pathfind.c: allow "/dev/null" to be PATH_REGULAR