summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/state.h
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2013-03-06 07:20:56 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-15 14:02:32 -0700
commitf91e2590410bd992e3f065d17c55329bdaa51b1d (patch)
tree9f815911a08f725c05c5f30c83e60d900fb1ba9a /fs/nfsd/state.h
parentbc30c3b23bb953fc6eb59e7ac6ecb48d92962bb0 (diff)
tty: Signal foreground group processes in hangup
When the session leader is exiting, signal the foreground group processes as part of the hangup sequence, instead of after the hangup is complete. This prepares for hanging up the line discipline _after_ signalling processes which may be blocking on ldisc i/o. Parameterize __tty_hangup() to distinguish between when the session leader is exiting and all other hangups; signal the foreground group after signalling the session leader and its process group, which preserves the original signal order. Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Acked-by: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/nfsd/state.h')
0 files changed, 0 insertions, 0 deletions