Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751767Ab3IPWQp (ORCPT ); Mon, 16 Sep 2013 18:16:45 -0400 Received: from mailout32.mail01.mtsvc.net ([216.70.64.70]:33415 "EHLO n23.mail01.mtsvc.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751723Ab3IPWQm (ORCPT ); Mon, 16 Sep 2013 18:16:42 -0400 Message-ID: <52378345.50306@hurleysoftware.com> Date: Mon, 16 Sep 2013 18:16:37 -0400 From: Peter Hurley User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130803 Thunderbird/17.0.8 MIME-Version: 1.0 To: Oleg Nesterov CC: Andrew Morton , Greg Kroah-Hartman , Jiri Slaby , Linus Torvalds , codonell , Eduard Benes , Karel Srot , Matt Newsome , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/1] tty: disassociate_ctty() sends the extra SIGCONT References: <20130915155006.GA11913@redhat.com> <20130915155026.GA11917@redhat.com> In-Reply-To: <20130915155026.GA11917@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-User: 990527 peter@hurleysoftware.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 966 Lines: 24 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@vger.kernel.org # v3.10+ > Signed-off-by: Oleg Nesterov > Reported-by: Karel Srot 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/