/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 | pathprobe.c | 136 if (!(proc = pathpath(proc, NiL, PATH_ABSOLUTE|PATH_REGULAR|PATH_EXECUTE, cmd, sizeof(cmd)))) in pathprobe_20100601() 157 …if (pathpath(lib, "", PATH_ABSOLUTE, path, pathsize) && !stat(path, &st) && (st.st_mode & S_IWUSR)) in pathprobe_20100601() 161 if (!pathpath(lib, "", PATH_ABSOLUTE|PATH_EXECUTE, path, pathsize) || 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 | 41 pathpath(char* path, const char* p, const char* a, int mode) in pathpath() function
|
/illumos-gate/usr/src/cmd/ast/libast/amd64/FEATURE/ |
H A D | api | 43 #undef pathpath 44 #define pathpath pathpath_20100601
|
H A D | map | 192 #undef pathpath 193 #define pathpath _ast_pathpath
|
/illumos-gate/usr/src/cmd/ast/libast/i386/FEATURE/ |
H A D | api | 43 #undef pathpath 44 #define pathpath pathpath_20100601
|
H A D | map | 192 #undef pathpath 193 #define pathpath _ast_pathpath
|
/illumos-gate/usr/src/cmd/ast/libast/sparc/FEATURE/ |
H A D | api | 43 #undef pathpath 44 #define pathpath pathpath_20100601
|
H A D | map | 195 #undef pathpath 196 #define pathpath _ast_pathpath
|
/illumos-gate/usr/src/cmd/ast/libast/sparcv9/FEATURE/ |
H A D | api | 43 #undef pathpath 44 #define pathpath pathpath_20100601
|
H A D | map | 195 #undef pathpath 196 #define pathpath _ast_pathpath
|
/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 | fastfind.c | 245 …else if (pathpath(path, "", PATH_REGULAR|PATH_READ|PATH_WRITE, fp->encode.file, sizeof(fp->encode.… in findopen() 253 …if (pathpath(fp->encode.file, "", PATH_EXECUTE|PATH_READ|PATH_WRITE, fp->encode.temp, sizeof(fp->e… in findopen() 395 …else if ((path = pathpath(path, "", PATH_REGULAR|PATH_READ, fp->decode.path, sizeof(fp->decode.pat… in findopen()
|
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()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/ |
H A D | api | 11 api ast 20100601 pathaccess pathcanon pathcat pathkey pathpath pathprobe pathrepl
|
/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 …ASE)) && *dir) && !ispreroot(dir) && (*(cmd = *argv++) == '/' || (cmd = pathpath(cmd, NiL, PATH_AB… in setpreroot()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | dirname.c | 134 else if(pathpath(argv[0], "", mode, buf, sizeof(buf))) 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 | 309 extern char* pathpath(char*, const char*, const char*, int);
|
/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 | 53 12-01-27 pathpath.c: fix buffer size math when internal allocation requested 110 10-12-09 pathprog.c: handle intermediate path != '* and fix invalid pathpath() call 619 pathpath.c: disable { $0 $_ $PWD } related root search 685 04-01-11 path/pathpath.c: fix size vs. sizeof(buf) typo 862 03-01-23 path/pathpath.c: honor PATH_ABSOLUTE for the easy case too 993 path/pathpath.c: check plain path first -- duh 1177 pathexists: path cache to cut down pathpath() access(2) calls 1320 pathpath: fix strdup(0) bug 1347 pathpath: path==0 means malloc space 1617 pathpath: pathpath(0,0,"",0) disables $0 $_ $PWD relative search
|