Home
last modified time | relevance | path

Searched refs:SESS_LEADER (Results 1 – 10 of 10) sorted by relevance

/netbsd/sys/kern/
H A Dtty_tty.c125 if (!SESS_LEADER(l->l_proc)) { in cttyioctl()
H A Dkern_proc.c1337 if (SESS_LEADER(p)) { in proc_enterpgrp()
2743 if (SESS_LEADER(p)) in fill_eproc()
2883 if (SESS_LEADER(p)) in fill_kproc2()
H A Dkern_exit.c372 if (SESS_LEADER(p)) { in exit1()
H A Dtty.c1389 if (!SESS_LEADER(p) || in ttioctl()
/netbsd/sys/compat/ultrix/
H A Dultrix_pathname.c175 if (!ret && !noctty && SESS_LEADER(p) && !(p->p_lflag & PL_CONTROLT)) { in ultrix_sys_open()
/netbsd/sys/miscfs/procfs/
H A Dprocfs_status.c160 if (SESS_LEADER(p)) { in procfs_status_netbsd()
/netbsd/sys/sys/
H A Dproc.h471 #define SESS_LEADER(p) ((p)->p_session->s_leader == (p)) macro
/netbsd/sys/compat/linux/common/
H A Dlinux_file.c194 if (!(flags & O_NOCTTY) && SESS_LEADER(p) && !(p->p_lflag & PL_CONTROLT)) { in linux_open_ctty()
/netbsd/sys/compat/sunos/
H A Dsunos_misc.c711 if (!ret && !noctty && SESS_LEADER(p) && !(p->p_lflag & PL_CONTROLT)) { in sunos_sys_open()
/netbsd/sys/compat/sunos32/
H A Dsunos32_misc.c942 if (!ret && !noctty && SESS_LEADER(p) && !(p->p_lflag & PL_CONTROLT)) { in sunos32_sys_open()