summaryrefslogtreecommitdiffstats
path: root/include/linux/tty_ldisc.h
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2013-03-06 08:38:19 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-18 16:13:59 -0700
commit8c985d18b136c5d511445d15f0c6650003a8946b (patch)
tree37bccfd3f1c965f793bc8f039360e460d38f5a44 /include/linux/tty_ldisc.h
parente91e52e42814b130c20d17bc1e2adf813c50db11 (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 'include/linux/tty_ldisc.h')
0 files changed, 0 insertions, 0 deletions