From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751821Ab3BOUDO (ORCPT ); Fri, 15 Feb 2013 15:03:14 -0500 Received: from mail-vb0-f50.google.com ([209.85.212.50]:41920 "EHLO mail-vb0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750755Ab3BOUDM (ORCPT ); Fri, 15 Feb 2013 15:03:12 -0500 MIME-Version: 1.0 In-Reply-To: <20130214053656.GS4503@ZenIV.linux.org.uk> References: <20130214053656.GS4503@ZenIV.linux.org.uk> From: Linus Torvalds Date: Fri, 15 Feb 2013 12:02:50 -0800 X-Google-Sender-Auth: JFs_IhrCo6ouCrL4iv6P1uPBypg Message-ID: Subject: Re: [RFC] SIGKILL vs. SIGSEGV on late execve() failures To: Al Viro Cc: Linux Kernel Mailing List Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 13, 2013 at 9:36 PM, Al Viro wrote: > > The only problem is that some suicides do SIGKILL, some SIGSEGV. > AFAICS, it started as SIGSEGV and had been switched to SIGKILL for a.out > (without any comments) in 1.1.62. Ok, I really don't think it matters which one we do - either SIGSEGV or SIGKILL is fine for a execve() that fails in those rare "impossible to recover from" circumstances. And no, I have no memory what the reason for the switch was, it's much too long ago.. Linus