Lines Matching refs:forked
153 modify(Proc_t* proc, int forked, int op, long arg1, long arg2)
156 if (forked)
204 NoP(forked);
370 int forked = 0;
460 forked = 1;
521 forked = 1;
550 modify(proc, forked, PROC_sig_ign, SIGHUP, 0);
552 modify(proc, forked, PROC_sig_dfl, SIGTERM, 0);
554 modify(proc, forked, PROC_sig_ign, SIGTSTP, 0);
557 modify(proc, forked, PROC_sig_ign, SIGTTIN, 0);
560 modify(proc, forked, PROC_sig_ign, SIGTTOU, 0);
565 modify(proc, forked, PROC_sig_ign, SIGINT, 0);
567 modify(proc, forked, PROC_sig_ign, SIGQUIT, 0);
571 modify(proc, forked, PROC_sys_pgrp, -1, 0);
572 if (forked || (flags & PROC_OVERLAY))
586 if (modify(proc, forked, PROC_fd_dup|PROC_FD_CHILD, pio[0], PROC_ARG_NULL))
588 if (modify(proc, forked, PROC_fd_dup|PROC_FD_CHILD, pio[1], 1))
591 if (modify(proc, forked, PROC_fd_dup, 1, 0))
594 if (modify(proc, forked, PROC_fd_dup|PROC_FD_CHILD, poi[0], 0))
596 if (poi[1] != 0 && modify(proc, forked, PROC_fd_dup|PROC_FD_CHILD, poi[1], PROC_ARG_NULL))
602 if (modify(proc, forked, PROC_fd_dup|PROC_FD_CHILD, pio[!!procfd], !!procfd))
604 if (pio[!procfd] != !!procfd && modify(proc, forked, PROC_fd_dup|PROC_FD_CHILD, pio[!procfd], PROC_ARG_NULL))
615 if (modify(proc, forked, PROC_OP(n), PROC_ARG(n, 1), PROC_ARG(n, 2)))
619 if (modify(proc, forked, PROC_OP(n), PROC_ARG(n, 1), 0))
624 if (forked && (flags & PROC_ENVCLEAR))
659 if (forked && !p)
682 if (forked || (flags & PROC_OVERLAY))
710 if (forked || (flags & PROC_OVERLAY))
717 if (forked)
743 if (!forked)