diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2015-10-11 03:28:42 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-18 07:30:49 +0300 |
commit | 2812d9e9fd94c54b0482215f579e6aa04452a322 (patch) | |
tree | 04be4bb895b4bbde79538de1e61550fcae6d9dbe /block/Makefile | |
parent | 71a5cd8a4a2602a6e9010b557a23af0a54df87b6 (diff) | |
download | linux-2812d9e9fd94c54b0482215f579e6aa04452a322.tar.xz |
tty: Combine SIGTTOU/SIGTTIN handling
The job_control() check in n_tty_read() has nearly identical purpose
and results as tty_check_change(). Both functions' purpose is to
determine if the current task's pgrp is the foreground pgrp for the tty,
and if not, to signal the current pgrp.
Introduce __tty_check_change() which takes the signal to send
and performs the shared operations for job control() and
tty_check_change().
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'block/Makefile')
0 files changed, 0 insertions, 0 deletions