Searched refs:procopen (Results 1 - 25 of 27) sorted by relevance

12

/ast/src/lib/libast/misc/
H A Dprocrun.c27 * procopen() + procclose()
48 return procclose(procopen(path, argv, NiL, NiL, flags|PROC_FOREGROUND|PROC_GID|PROC_UID));
H A Dsystrace.c63 if (!procfree(procopen(trace[n], av + 1, NiL, ov, PROC_ARGMOD|PROC_GID|PROC_UID|(n == (elementsof(trace) - 1) ? PROC_CLEANUP : 0))))
H A Dprocopen.c400 procopen(const char* cmd, char** argv, char** envv, long* modv, int flags) function
/ast/src/lib/libcoshell/
H A Dprocrun.c41 return procclose(procopen(path, a, NiL, NiL, PROC_FOREGROUND|PROC_GID|PROC_UID|flags));
H A Dcoexec.c70 if (!(proc = procopen(cs->path, cs->argv, NiL, ops, PROC_DAEMON|PROC_IGNORE)))
H A Dcoopen.c245 if ((co->mode & CO_MODE_SEPARATE) || (proc = procopen(s, av, ev, ops, (co->flags & (CO_SHELL|CO_ORPHAN)) ? (PROC_ORPHAN|PROC_DAEMON|PROC_IGNORE) : (PROC_DAEMON|PROC_IGNORE))))
/ast/src/lib/libast/comp/
H A Dmkdir.c57 if (procclose(procopen(cmd[n], av, NiL, NiL, 0)) != -1)
H A Drmdir.c54 if (procclose(procopen(cmd[n], av, NiL, NiL, 0)) != -1)
/ast/src/cmd/cs/
H A Drsh.c53 if (!(p = procopen(NiL, args, NiL, ops, 0)))
H A Dcss.c214 if (!(state.proc = procopen(argv[1], argv + 1, NiL, NiL, PROC_READ|PROC_WRITE)))
H A Dcs.c632 if (procclose(procopen(av[0], av, NiL, NiL, PROC_UID|PROC_GID|(*argv ? PROC_OVERLAY : 0))))
728 procopen(*argv, argv, NiL, NiL, PROC_OVERLAY|PROC_UID|PROC_GID);
/ast/src/lib/libast/include/
H A Dproc.h103 extern Proc_t* procopen(const char*, char**, char**, long*, int);
/ast/src/lib/libcs/
H A Dcsstat.c45 procclose(procopen(av[0], av, NiL, NiL, 0));
H A Dcsopen.c204 return procclose(procopen(av[0], av, NiL, NiL, PROC_PRIVELEGED|PROC_ZOMBIE)) < 0 ? -1 : 0;
220 if (proc = procopen(av[0], av, NiL, ov, PROC_PRIVELEGED|PROC_ZOMBIE))
311 if (!(proc = procopen(av[0], av, NiL, NiL, PROC_READ|PROC_WRITE|PROC_PRIVELEGED)))
/ast/src/cmd/ss/
H A Dssd.c357 if (!(remote = procopen(av[0], av, NiL, NiL, PROC_UID|PROC_GID)))
495 if (!(proc = procopen(iv[0], iv, NiL, NiL, PROC_READ|PROC_UID|PROC_GID)))
604 else if (!(proc = procopen(av[0], av, NiL, NiL, PROC_READ|PROC_UID|PROC_GID)))
/ast/src/lib/libast/path/
H A Dpathprobe.c255 if (pp = procopen(proc, arg, NiL, ops, PROC_READ))
/ast/src/lib/libast/sfio/
H A Dsfpopen.c169 if (!(proc = procopen(0, av, 0, 0, flags)))
/ast/src/cmd/probe/
H A Dprobe.c527 if (!(pp = procopen(script, cmdargv, cmdenvv, NiL, PROC_UID|PROC_GID|((options&TEST)?0:PROC_READ))))
/ast/src/cmd/coshell/
H A Dshell.c103 if (!(proc = procopen(sh, av, NiL, NiL, 0)))
/ast/src/cmd/pax/
H A Dcopy.c198 pp = procopen(*fp->argv, fp->argv, NiL, NiL, PROC_WRITE);
H A Dformat.c113 proc = procopen(*cmd, cmd, NiL, ops, 0);
118 proc = procopen(*cmd, cmd, NiL, ops, PROC_READ);
H A Dfile.c114 if (!(proc = procopen(*fp->argv, fp->argv, NiL, NiL, PROC_READ)))
/ast/src/cmd/builtin/
H A Dpty.c303 return procopen(argv[0], argv, NiL, ops, 0);
/ast/src/lib/libast/
H A DMakefile99 proclib.h procopen.c procclose.c procrun.c procfree.c \
/ast/src/lib/libast/port/
H A Dastconf.c1389 if (*pp = procopen(_pth_getconf, cmd, environ, ops, PROC_READ))

Completed in 55 milliseconds

12