Searched refs:pgrp (Results 1 – 3 of 3) sorted by relevance
216 struct pid *pgrp; in pty_signal() local220 pgrp = get_pid(tty->link->pgrp); in pty_signal()223 kill_pgrp(pgrp, sig, 1); in pty_signal()224 put_pid(pgrp); in pty_signal()285 struct pid *pgrp, *rpgrp; in pty_resize() local299 pgrp = get_pid(tty->pgrp); in pty_resize()303 rpgrp = get_pid(pty->pgrp); in pty_resize()306 if (pgrp) in pty_resize()307 kill_pgrp(pgrp, SIGWINCH, 1); in pty_resize()308 if (rpgrp != pgrp && rpgrp) in pty_resize()[all …]
417 if (!tty->pgrp) { in tty_check_change()421 if (task_pgrp(current) == tty->pgrp) in tty_check_change()571 tty_pgrp = get_pid(tty->pgrp); in tty_signal_session_leader()572 if (tty->pgrp) in tty_signal_session_leader()573 p->signal->tty_old_pgrp = get_pid(tty->pgrp); in tty_signal_session_leader()670 put_pid(tty->pgrp); in __tty_hangup()672 tty->pgrp = NULL; in __tty_hangup()883 put_pid(tty->pgrp); in disassociate_ctty()885 tty->pgrp = NULL; in disassociate_ctty()1569 put_pid(tty->pgrp); in release_one_tty()[all …]
1757 if (!tty->pgrp) in job_control()1759 else if (task_pgrp(current) != tty->pgrp) { in job_control()