Searched refs:SESS_LEADER (Results 1 – 10 of 10) sorted by relevance
125 if (!SESS_LEADER(l->l_proc)) { in cttyioctl()
1337 if (SESS_LEADER(p)) { in proc_enterpgrp()2743 if (SESS_LEADER(p)) in fill_eproc()2883 if (SESS_LEADER(p)) in fill_kproc2()
372 if (SESS_LEADER(p)) { in exit1()
1389 if (!SESS_LEADER(p) || in ttioctl()
175 if (!ret && !noctty && SESS_LEADER(p) && !(p->p_lflag & PL_CONTROLT)) { in ultrix_sys_open()
160 if (SESS_LEADER(p)) { in procfs_status_netbsd()
471 #define SESS_LEADER(p) ((p)->p_session->s_leader == (p)) macro
194 if (!(flags & O_NOCTTY) && SESS_LEADER(p) && !(p->p_lflag & PL_CONTROLT)) { in linux_open_ctty()
711 if (!ret && !noctty && SESS_LEADER(p) && !(p->p_lflag & PL_CONTROLT)) { in sunos_sys_open()
942 if (!ret && !noctty && SESS_LEADER(p) && !(p->p_lflag & PL_CONTROLT)) { in sunos32_sys_open()