diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2013-03-06 08:38:19 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-18 16:13:59 -0700 |
commit | 8c985d18b136c5d511445d15f0c6650003a8946b (patch) | |
tree | 37bccfd3f1c965f793bc8f039360e460d38f5a44 /drivers/tty/Kconfig | |
parent | e91e52e42814b130c20d17bc1e2adf813c50db11 (diff) |
n_tty: Fix unsafe driver-side signals
An ldisc reference is insufficient guarantee the foreground process
group is not in the process of being signalled from a hangup.
1) Reads of tty->pgrp must be locked with ctrl_lock
2) The group pid must be referenced for the duration of signalling.
Because the driver-side is not process-context, a pid reference
must be acquired.
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/Kconfig')
0 files changed, 0 insertions, 0 deletions