/ast/src/lib/libast/misc/ |
H A D | procrun.c | 27 * procopen() + procclose() 48 return procclose(procopen(path, argv, NiL, NiL, flags|PROC_FOREGROUND|PROC_GID|PROC_UID));
|
H A D | systrace.c | 63 if (!procfree(procopen(trace[n], av + 1, NiL, ov, PROC_ARGMOD|PROC_GID|PROC_UID|(n == (elementsof(trace) - 1) ? PROC_CLEANUP : 0))))
|
H A D | procopen.c | 400 procopen(const char* cmd, char** argv, char** envv, long* modv, int flags) function
|
/ast/src/lib/libcoshell/ |
H A D | procrun.c | 41 return procclose(procopen(path, a, NiL, NiL, PROC_FOREGROUND|PROC_GID|PROC_UID|flags));
|
H A D | coexec.c | 70 if (!(proc = procopen(cs->path, cs->argv, NiL, ops, PROC_DAEMON|PROC_IGNORE)))
|
H A D | coopen.c | 245 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 D | mkdir.c | 57 if (procclose(procopen(cmd[n], av, NiL, NiL, 0)) != -1)
|
H A D | rmdir.c | 54 if (procclose(procopen(cmd[n], av, NiL, NiL, 0)) != -1)
|
/ast/src/cmd/cs/ |
H A D | rsh.c | 53 if (!(p = procopen(NiL, args, NiL, ops, 0)))
|
H A D | css.c | 214 if (!(state.proc = procopen(argv[1], argv + 1, NiL, NiL, PROC_READ|PROC_WRITE)))
|
H A D | cs.c | 632 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 D | proc.h | 103 extern Proc_t* procopen(const char*, char**, char**, long*, int);
|
/ast/src/lib/libcs/ |
H A D | csstat.c | 45 procclose(procopen(av[0], av, NiL, NiL, 0));
|
H A D | csopen.c | 204 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 D | ssd.c | 357 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 D | pathprobe.c | 255 if (pp = procopen(proc, arg, NiL, ops, PROC_READ))
|
/ast/src/lib/libast/sfio/ |
H A D | sfpopen.c | 169 if (!(proc = procopen(0, av, 0, 0, flags)))
|
/ast/src/cmd/probe/ |
H A D | probe.c | 527 if (!(pp = procopen(script, cmdargv, cmdenvv, NiL, PROC_UID|PROC_GID|((options&TEST)?0:PROC_READ))))
|
/ast/src/cmd/coshell/ |
H A D | shell.c | 103 if (!(proc = procopen(sh, av, NiL, NiL, 0)))
|
/ast/src/cmd/pax/ |
H A D | copy.c | 198 pp = procopen(*fp->argv, fp->argv, NiL, NiL, PROC_WRITE);
|
H A D | format.c | 113 proc = procopen(*cmd, cmd, NiL, ops, 0); 118 proc = procopen(*cmd, cmd, NiL, ops, PROC_READ);
|
H A D | file.c | 114 if (!(proc = procopen(*fp->argv, fp->argv, NiL, NiL, PROC_READ)))
|
/ast/src/cmd/builtin/ |
H A D | pty.c | 303 return procopen(argv[0], argv, NiL, ops, 0);
|
/ast/src/lib/libast/ |
H A D | Makefile | 99 proclib.h procopen.c procclose.c procrun.c procfree.c \
|
/ast/src/lib/libast/port/ |
H A D | astconf.c | 1389 if (*pp = procopen(_pth_getconf, cmd, environ, ops, PROC_READ))
|