Lines Matching refs:proc_t
134 static void stop(proc_t, proc_t);
135 int cansignal(proc_t, kauth_cred_t, proc_t, int, int);
136 int killpg1(proc_t, int, int, int, int);
137 int setsigvec(proc_t, int, struct __user_sigaction *);
158 proc_t cp;
162 proc_t cp;
168 static int killpg1_filt(proc_t p, void * arg);
169 static int killpg1_pgrpfilt(proc_t p, __unused void * arg);
170 static int killpg1_callback(proc_t p, void * arg);
172 static int pgsignal_filt(proc_t p, void * arg);
173 static int pgsignal_callback(proc_t p, void * arg);
174 static kern_return_t get_signalthread(proc_t, int, thread_t *);
183 static void psignal_internal(proc_t p, task_t task, thread_t thread, int flavor, int signum);
253 cansignal(proc_t p, kauth_cred_t uc, proc_t q, int signum, int zombie)
325 sigaction(proc_t p, struct sigaction_args *uap, __unused register_t *retval)
389 clear_procsiglist(proc_t p, int bit)
420 unblock_procsigmask(proc_t p, int bit)
450 block_procsigmask(proc_t p, int bit)
480 set_procsigmask(proc_t p, int bit)
511 setsigvec(proc_t p, int signum, struct __user_sigaction *sa)
601 siginit(proc_t p)
614 execsigs(proc_t p, thread_t thread)
660 sigprocmask(proc_t p, struct sigprocmask_args *uap, __unused register_t *retval)
705 sigpending(__unused proc_t p, struct sigpending_args *uap, __unused register_t *retval)
732 sigsuspend(proc_t p, struct sigsuspend_args *uap, register_t *retval)
739 sigsuspend_nocancel(proc_t p, struct sigsuspend_nocancel_args *uap, __unused register_t *retval)
762 __disable_threadsignal(__unused proc_t p,
801 __pthread_markcancel(__unused proc_t p,
833 __pthread_canceled(__unused proc_t p,
887 __semwait_signal(__unused proc_t p, struct __semwait_signal_args *uap,
895 __semwait_signal_nocancel(__unused proc_t p, struct __semwait_signal_nocancel_args *uap,
948 __pthread_kill(__unused proc_t p, struct __pthread_kill_args *uap,
981 __pthread_sigmask(__unused proc_t p, struct __pthread_sigmask_args *uap,
1036 __sigwait(proc_t p, struct __sigwait_args *uap, register_t *retval)
1043 __sigwait_nocancel(proc_t p, struct __sigwait_nocancel_args *uap, __unused register_t *retval)
1132 sigaltstack(__unused proc_t p, struct sigaltstack_args *uap, __unused register_t *retval)
1192 kill(proc_t cp, struct kill_args *uap, __unused register_t *retval)
1194 proc_t p;
1237 killpg1_filt(proc_t p, void * arg)
1240 proc_t cp = kfargp->cp;
1253 killpg1_pgrpfilt(proc_t p, __unused void * arg)
1265 killpg1_callback(proc_t p, void * arg)
1268 proc_t cp = kargp->cp;
1294 killpg1(proc_t cp, int signum, int pgid, int all, int posix)
1296 proc_t p;
1386 pgsignal_filt(proc_t p, void * arg)
1398 pgsignal_callback(proc_t p, void * arg)
1435 proc_t p;
1445 p = (proc_t)(get_bsdtask_info(sig_task));
1466 get_signalthread(proc_t p, int signum, thread_t * thr)
1519 psignal_internal(proc_t p, task_t task, thread_t thread, int flavor, int signum)
1523 proc_t sig_proc;
1530 proc_t pp;
1556 sig_proc = (proc_t)get_bsdtask_info(sig_task);
1595 DTRACE_PROC3(signal__discard, thread_t, sig_thread, proc_t, sig_proc, int, signum);
1843 DTRACE_PROC3(signal__send, thread_t, sig_thread, proc_t, p, int, signum);
1957 psignal(proc_t p, int signum)
1963 psignal_locked(proc_t p, int signum)
1969 psignal_vfork(proc_t p, task_t new_task, thread_t thread, int signum)
1994 issignal(proc_t p)
1999 proc_t pp;
2295 CURSIG(proc_t p)
2429 stop(proc_t p, proc_t parent)
2447 proc_t p = current_proc();
2576 proc_t p = current_proc(); /* can attach only to oneself */
2598 proc_t p = kn->kn_ptr.p_proc;
2634 proc_t p = current_proc();
2714 pt_setrunnable(proc_t p)
2747 proc_pendingsignals(proc_t p, sigset_t mask)
2778 thread_issignal(proc_t p, thread_t th, sigset_t mask)
2804 proc_t p = PROC_NULL;
2817 proc_signalstart(proc_t p, int locked)
2852 proc_signalend(proc_t p, int locked)
2889 sig_lock_to_exit(proc_t p)
2900 sig_try_locked(proc_t p)