Re: [PATCH 1/1] tty: disassociate_ctty() sends the extra SIGCONT

From: Peter Hurley
Date: Mon Sep 16 2013 - 18:16:50 EST


On 09/15/2013 11:50 AM, Oleg Nesterov wrote:
Starting from v3.10 (probably f91e2590 "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.

Cc: stable@xxxxxxxxxxxxxxx # v3.10+
Signed-off-by: Oleg Nesterov <oleg@xxxxxxxxxx>
Reported-by: Karel Srot <ksrot@xxxxxxxxxx>

Although I confirmed your results with a new unit test,
I'd like to review the source code for the reported tests.
Where can grab the source for the LSB tests, _exit.c and sigcon5.c?
Direct links would be appreciated.

Regards,
Peter Hurley
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/