Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/tty/
Dtty_jobctrl.c107 tty->session = get_pid(task_session(current)); in __proc_set_tty()
316 session_clear_tty(task_session(current)); in disassociate_ctty()
354 if (current->signal->leader && (task_session(current) == tty->session)) in tiocsctty()
431 sid = task_session(p); in session_of_pgrp()
493 (real_tty->session != task_session(current))) { in tiocspgrp()
503 if (session_of_pgrp(pgrp) != task_session(current)) in tiocspgrp()
/kernel/linux/linux-5.10/kernel/
Dsys.c1063 if (task_session(p) != task_session(group_leader)) in SYSCALL_DEFINE2()
1084 if (!g || task_session(g) != task_session(group_leader)) in SYSCALL_DEFINE2()
1153 sid = task_session(current); in SYSCALL_DEFINE1()
1159 sid = task_session(p); in SYSCALL_DEFINE1()
1177 if (task_session(curr) != pid) in set_special_pids()
Dexit.c336 task_session(p->real_parent) == task_session(p)) in will_become_orphaned_pgrp()
389 task_session(parent) == task_session(tsk) && in kill_orphaned_pgrp()
Dsignal.c848 sid = task_session(t); in check_kill_permission()
853 if (!sid || sid == task_session(current)) in check_kill_permission()
Dfork.c2307 init_task_pid(p, PIDTYPE_SID, task_session(current)); in copy_process()
/kernel/linux/linux-5.10/include/linux/sched/
Dsignal.h660 static inline struct pid *task_session(struct task_struct *task) in task_session() function