/illumos-gate/usr/src/contrib/ast/src/lib/libast/path/ |
H A D | pathfind.c | 139 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 D | pathexists.c | 126 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 D | pathprobe.c | 136 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 D | pathprog.c | 124 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 D | dirname.c | 110 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 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 | fastfind.c | 245 …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 D | procopen.c | 445 if (cmd && (!*cmd || !pathpath(cmd, NiL, PATH_REGULAR|PATH_EXECUTE, path, sizeof(path)))) in procopen()
|
H A D | magic.c | 2276 … 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 D | execvpe.c | 51 …if (*path != '/' && !(path = pathpath(name, NULL, PATH_REGULAR|PATH_EXECUTE, buffer, sizeof(buffer…
|
H A D | syslog.c | 269 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 D | setpreroot.c | 45 …& (*(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 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 | 125 #define PATH_REGULAR 010 macro
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/port/ |
H A D | mc.c | 190 …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 D | RELEASE | 850 03-02-07 path/pathfind.c: allow "/dev/null" to be PATH_REGULAR
|