Home
last modified time | relevance | path

Searched refs:task_session (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/drivers/tty/
Dtty_jobctrl.c107 tty->session = get_pid(task_session(current)); in __proc_set_tty()
312 session_clear_tty(task_session(current)); in disassociate_ctty()
350 if (current->signal->leader && (task_session(current) == tty->session)) in tiocsctty()
427 sid = task_session(p); in session_of_pgrp()
482 (real_tty->session != task_session(current))) in tiocspgrp()
494 if (session_of_pgrp(pgrp) != task_session(current)) in tiocspgrp()
/Linux-v4.19/kernel/
Dexit.c342 task_session(p->real_parent) == task_session(p)) in will_become_orphaned_pgrp()
395 task_session(parent) == task_session(tsk) && in kill_orphaned_pgrp()
Dsys.c1034 if (task_session(p) != task_session(group_leader)) in SYSCALL_DEFINE2()
1055 if (!g || task_session(g) != task_session(group_leader)) in SYSCALL_DEFINE2()
1124 sid = task_session(current); in SYSCALL_DEFINE1()
1130 sid = task_session(p); in SYSCALL_DEFINE1()
1148 if (task_session(curr) != pid) in set_special_pids()
Dsignal.c783 sid = task_session(t); in check_kill_permission()
788 if (!sid || sid == task_session(current)) in check_kill_permission()
Dfork.c2000 init_task_pid(p, PIDTYPE_SID, task_session(current)); in copy_process()
/Linux-v4.19/include/linux/sched/
Dsignal.h597 static inline struct pid *task_session(struct task_struct *task) in task_session() function