Re: [RFC] SIGKILL vs. SIGSEGV on late execve() failures

From: Linus Torvalds
Date: Fri Feb 15 2013 - 15:03:27 EST


On Wed, Feb 13, 2013 at 9:36 PM, Al Viro <viro@xxxxxxxxxxxxxxxxxx> 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
--
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/