SESS_LEADER
if (!(flags & O_NOCTTY) && SESS_LEADER(p) && !(p->p_lflag & PL_CONTROLT)) {
if (!ret && !noctty && SESS_LEADER(p) && !(p->p_lflag & PL_CONTROLT)) {
if (!ret && !noctty && SESS_LEADER(p) && !(p->p_lflag & PL_CONTROLT)) {
if (!ret && !noctty && SESS_LEADER(p) && !(p->p_lflag & PL_CONTROLT)) {
if (SESS_LEADER(p)) {
if (SESS_LEADER(p)) {
if (SESS_LEADER(p))
if (SESS_LEADER(p))
if (!SESS_LEADER(p) ||
if (!SESS_LEADER(l->l_proc)) {
if (SESS_LEADER(p)) {