curproc 123 usr/server/proc/main.c struct proc *curproc; /* current (caller) process */ curproc 286 usr/server/proc/main.c DPRINTF(("proc: exec pid=%x\n", curproc->p_pid)); curproc 351 usr/server/proc/main.c curproc = &proc0; curproc 394 usr/server/proc/main.c curproc = &proc0; curproc 564 usr/server/proc/main.c curproc = task_to_proc(msg.hdr.task); curproc 118 usr/server/proc/proc.h extern struct proc *curproc; /* current (caller) process */ curproc 57 usr/server/proc/proc_exit.c DPRINTF(("proc: exit pid=%d code=%x\n", curproc->p_pid, exitcode)); curproc 59 usr/server/proc/proc_exit.c if (curproc->p_stat == SZOMB) curproc 65 usr/server/proc/proc_exit.c curproc->p_stat = SZOMB; curproc 66 usr/server/proc/proc_exit.c curproc->p_exitcode = exitcode; curproc 67 usr/server/proc/proc_exit.c p_remove(curproc); curproc 72 usr/server/proc/proc_exit.c head = &curproc->p_children; curproc 86 usr/server/proc/proc_exit.c parent = curproc->p_parent; curproc 94 usr/server/proc/proc_exit.c error = task_terminate(curproc->p_task); curproc 101 usr/server/proc/proc_exit.c curproc->p_parent->p_pid)); curproc 102 usr/server/proc/proc_exit.c exception_raise(curproc->p_parent->p_task, SIGCHLD); curproc 119 usr/server/proc/proc_exit.c if (curproc->p_stat == SZOMB) curproc 122 usr/server/proc/proc_exit.c curproc->p_stat = SSTOP; curproc 123 usr/server/proc/proc_exit.c curproc->p_exitcode = exitcode; curproc 126 usr/server/proc/proc_exit.c exception_raise(curproc->p_parent->p_task, SIGCHLD); curproc 151 usr/server/proc/proc_exit.c if (list_empty(&curproc->p_children)) curproc 162 usr/server/proc/proc_exit.c head = &curproc->p_children; curproc 180 usr/server/proc/proc_exit.c if (p->p_pgrp->pg_pgid == curproc->p_pgrp->pg_pgid) curproc 88 usr/server/proc/proc_fork.c pg = curproc->p_pgrp; curproc 100 usr/server/proc/proc_fork.c p->p_parent = curproc; curproc 111 usr/server/proc/proc_fork.c list_insert(&curproc->p_children, &p->p_sibling); curproc 133 usr/server/proc/proc_fork.c if (vfork && curproc->p_invfork) { curproc 152 usr/server/proc/proc_fork.c vfork_start(curproc); curproc 53 usr/server/proc/proc_pid.c ASSERT(curproc); curproc 54 usr/server/proc/proc_pid.c return curproc->p_pid; curproc 64 usr/server/proc/proc_pid.c ASSERT(curproc); curproc 65 usr/server/proc/proc_pid.c return curproc->p_parent->p_pid; curproc 79 usr/server/proc/proc_pid.c ASSERT(curproc); curproc 82 usr/server/proc/proc_pid.c p = curproc; curproc 100 usr/server/proc/proc_pid.c ASSERT(curproc); curproc 103 usr/server/proc/proc_pid.c p = curproc; curproc 143 usr/server/proc/proc_pid.c pgrp->pg_session = curproc->p_pgrp->pg_session; curproc 184 usr/server/proc/proc_pid.c p = curproc; curproc 209 usr/server/proc/proc_pid.c DPRINTF(("proc: setsid sid=%d\n", curproc->p_pid)); curproc 211 usr/server/proc/proc_pid.c p = curproc; curproc 51 usr/server/proc/proc_sig.c if (task_chkcap(curproc->p_task, CAP_KILL) == 0) curproc 158 usr/server/proc/proc_sig.c if (pid != curproc->p_pid && !kill_capable()) { curproc 165 usr/server/proc/proc_sig.c DPRINTF(("proc: kill? curproc=%x\n", curproc)); curproc 182 usr/server/proc/proc_sig.c p->p_pid != curproc->p_pid) curproc 191 usr/server/proc/proc_sig.c error = kill_pg(curproc->p_pgrp->pg_pgid, sig); curproc 194 usr/server/proc/proc_sig.c if (curproc->p_pgrp->pg_pgid != -pid && !kill_capable())