diff options
author | Oleg Nesterov <oleg@redhat.com> | 2013-09-15 15:50:26 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-18 01:53:32 (GMT) |
commit | 03e1261778cca782d41a3d8e3945ca88cf93e01e (patch) | |
tree | f8f1f2f4d587f71e356b58e5cf648789698c6ca0 /Documentation/hwmon/lm77 | |
parent | de0bc3dfc318fae30f09ee63b315c7cbfe528d8b (diff) | |
download | linux-fsl-qoriq-03e1261778cca782d41a3d8e3945ca88cf93e01e.tar.xz |
tty: disassociate_ctty() sends the extra SIGCONT
Starting from v3.10 (probably commit f91e2590410b: "tty: Signal
foreground group processes in hangup") disassociate_ctty() sends SIGCONT
if tty && on_exit. This breaks LSB test-suite, in particular test8 in
_exit.c and test40 in sigcon5.c.
Put the "!on_exit" check back to restore the old behaviour.
Review by Peter Hurley:
"Yes, this regression was introduced by me in that commit. The effect
of the regression is that ptys will receive a SIGCONT when, in similar
circumstances, ttys would not.
The fact that two test vectors accidentally tripped over this
regression suggests that some other apps may as well.
Thanks for catching this"
Cc: stable@vger.kernel.org # v3.10+
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Reported-by: Karel Srot <ksrot@redhat.com>
Reviewed-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/hwmon/lm77')
0 files changed, 0 insertions, 0 deletions