Searched refs:PATH_EXECUTE (Results 1 - 25 of 28) sorted by relevance

12

/ast/src/lib/libast/misc/
H A Dprocrun.c46 return pathpath(path, NiL, PATH_REGULAR|PATH_EXECUTE, buf, sizeof(buf)) ? 0 : -1;
H A Dcmdarg.c176 if (!pathpath(exe, NiL, PATH_REGULAR|PATH_EXECUTE, s, n + m))
H A Dprocopen.c445 if (cmd && (!*cmd || !pathpath(cmd, NiL, PATH_REGULAR|PATH_EXECUTE, path, sizeof(path))))
H A Dfastfind.c253 if (pathpath(fp->encode.file, "", PATH_EXECUTE|PATH_READ|PATH_WRITE, fp->encode.temp, sizeof(fp->encode.temp)) &&
/ast/src/lib/libtk/unix/
H A DtkUnixInit.c96 libDir = pathpath(LIB_DIR, "", PATH_EXECUTE|PATH_READ, defaultLibraryDir, sizeof(defaultLibraryDir));
/ast/src/lib/libast/path/
H A Dpathexists.c103 t->mode = PATH_READ|PATH_EXECUTE;
124 t->mode |= PATH_EXECUTE;
132 mode &= (PATH_READ|PATH_WRITE|PATH_EXECUTE|PATH_REGULAR);
H A Dpathprobe.c136 if (!(proc = pathpath(proc, NiL, PATH_ABSOLUTE|PATH_REGULAR|PATH_EXECUTE, cmd, sizeof(cmd))))
161 if (!pathpath(lib, "", PATH_ABSOLUTE|PATH_EXECUTE, path, pathsize) || stat(path, &ps))
195 if (*path == '/' && pathexists(path, PATH_REGULAR|PATH_EXECUTE))
199 if (*path == '/' && pathexists(path, PATH_REGULAR|PATH_EXECUTE) && !stat(path, &ps))
H A Dpathprog.c124 n = pathpath(rel, NiL, PATH_REGULAR|PATH_EXECUTE, path, size) ? strlen(path) : 0;
H A Dpathpath.c112 if (pathexists(path, PATH_EXECUTE))
/ast/src/lib/libast/comp/
H A Dexecvpe.c51 if (*path != '/' && !(path = pathpath(name, NULL, PATH_REGULAR|PATH_EXECUTE, buffer, sizeof(buffer))))
/ast/src/lib/libcs/
H A Dcsstat.c37 if (!pathpath(CS_STAT_DAEMON, "", PATH_REGULAR|PATH_EXECUTE, buf, PATH_MAX))
72 if (pathpath(CS_STAT_DIR, "", PATH_EXECUTE, buf, sizeof(buf)))
H A Dcsopen.c1000 if (!pathaccess(csvar(state, CS_VAR_TRUST, 1), csvar(state, CS_VAR_SHARE, 1), NiL, PATH_EXECUTE, b, sizeof(state->mount) - (b - state->mount)))
1003 else if (!pathpath(csvar(state, CS_VAR_SHARE, 0), "", PATH_EXECUTE, b, sizeof(state->mount) - (b - state->mount)))
1064 if (!pathpath(b, "", PATH_ABSOLUTE|PATH_EXECUTE, tmp, sizeof(tmp)) || stat(tmp, &st))
/ast/src/lib/libast/preroot/
H A Dsetpreroot.c45 if ((argv || (argv = opt_info.argv)) && (dir || (dir = getenv(PR_BASE)) && *dir) && !ispreroot(dir) && (*(cmd = *argv++) == '/' || (cmd = pathpath(cmd, NiL, PATH_ABSOLUTE|PATH_REGULAR|PATH_EXECUTE, buf, sizeof(buf)))))
/ast/src/lib/libcmd/
H A Ddirname.c117 mode |= PATH_EXECUTE;
/ast/src/lib/libcoshell/
H A Dcoinit.c282 if (!(flags & CO_CROSS) && !pathpath("ignore", NiL, PATH_ABSOLUTE|PATH_REGULAR|PATH_EXECUTE, t, n / 2) && pathpath("bin/ignore", "", PATH_ABSOLUTE|PATH_REGULAR|PATH_EXECUTE, t, n / 2))
/ast/src/lib/libast/obsolete/
H A Dspawn.c91 path = pathpath(name, NULL, PATH_REGULAR|PATH_EXECUTE, buffer, sizeof(buffer));
/ast/src/cmd/ss/
H A Dss.c224 if (!pathpath(CS_STAT_DIR, argv[0], PATH_EXECUTE, buf, sizeof(buf)))
H A Dssd.c311 if (!pathpath(error_info.id, argv[0], PATH_ABSOLUTE|PATH_REGULAR|PATH_EXECUTE, cmd, sizeof(cmd)))
313 if (!pathpath(CS_STAT_DIR, argv[0], PATH_EXECUTE, buf, sizeof(buf)))
/ast/src/cmd/at/
H A Dat.c321 if (!fs3d(FS3D_TEST) || !(s = pathpath("3d", NiL, PATH_ABSOLUTE|PATH_EXECUTE, buf, sizeof(buf))))
/ast/src/lib/libtksh/src/
H A Dinit.c204 if (!(libDir = pathpath(LIB_DIR, "", PATH_EXECUTE|PATH_READ, buf, sizeof(buf))))
/ast/src/cmd/cs/
H A Dcs.c312 if (!pathpath(port_buf, "", PATH_ABSOLUTE|PATH_EXECUTE, serv_buf, sizeof(serv_buf)) || stat(serv_buf, &st) || st.st_uid != uid)
643 if (pathpath(csvar(CS_VAR_SHARE, 0), "", PATH_EXECUTE, tmp, sizeof(tmp)))
/ast/src/lib/libast/include/
H A Dast.h124 #define PATH_EXECUTE 001 macro
/ast/src/cmd/probe/
H A Dprobe.c369 if (!(processor = pathpath(processor, NiL, PATH_ABSOLUTE|PATH_REGULAR|PATH_EXECUTE, cmd, sizeof(cmd))))
/ast/src/cmd/pax/
H A Dmisc.c1089 if (!pathpath(cp->undo[0], NiL, PATH_EXECUTE, buf, sizeof(buf)))
1091 if (!cp->undotoo[0] || !pathpath(cp->undotoo[0], NiL, PATH_EXECUTE, buf, sizeof(buf)))
/ast/src/cmd/nmake/
H A Dmain.c416 setvar(external.lib, strdup((s = pathpath(t, argv[0], PATH_EXECUTE, buf, SF_BUFSIZE)) ? s : t), V_import);

Completed in 91 milliseconds

12