Searched refs:task_session (Results 1 – 6 of 6) sorted by relevance
110 tty->ctrl.session = get_pid(task_session(current)); in __proc_set_tty()325 session_clear_tty(task_session(current)); in disassociate_ctty()368 task_session(current) == tty->ctrl.session) in tiocsctty()445 sid = task_session(p); in session_of_pgrp()507 (real_tty->ctrl.session != task_session(current))) { in tiocspgrp()517 if (session_of_pgrp(pgrp) != task_session(current)) in tiocspgrp()
1070 if (task_session(p) != task_session(group_leader)) in SYSCALL_DEFINE2()1091 if (!g || task_session(g) != task_session(group_leader)) in SYSCALL_DEFINE2()1160 sid = task_session(current); in SYSCALL_DEFINE1()1166 sid = task_session(p); in SYSCALL_DEFINE1()1184 if (task_session(curr) != pid) in set_special_pids()
282 task_session(p->real_parent) == task_session(p)) in will_become_orphaned_pgrp()335 task_session(parent) == task_session(tsk) && in kill_orphaned_pgrp()
848 sid = task_session(t); in check_kill_permission()853 if (!sid || sid == task_session(current)) in check_kill_permission()
2365 init_task_pid(p, PIDTYPE_SID, task_session(current)); in copy_process()
672 static inline struct pid *task_session(struct task_struct *task) in task_session() function
Completed in 27 milliseconds