| 412 | } |
| 413 | |
| 414 | static __inline int |
| 415 | tty_is_ctty(struct tty *tp, struct proc *p) |
| 416 | { |
| 417 | |
| 418 | tty_assert_locked(tp); |
| 419 | |
| 420 | return (p->p_session == tp->t_session && p->p_flag & P_CONTROLT); |
| 421 | } |
| 422 | |
| 423 | int |
| 424 | tty_wait_background(struct tty *tp, struct thread *td, int sig) |
no outgoing calls
no test coverage detected