[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211027142450.GV7074@brightrain.aerifal.cx>
Date: Wed, 27 Oct 2021 10:24:51 -0400
From: Rich Felker <dalias@...c.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: "Eric W. Biederman" <ebiederm@...ssion.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-arch <linux-arch@...r.kernel.org>,
Oleg Nesterov <oleg@...hat.com>,
Al Viro <viro@...iv.linux.org.uk>,
Kees Cook <keescook@...omium.org>,
Yoshinori Sato <ysato@...rs.sourceforge.jp>,
Linux-sh list <linux-sh@...r.kernel.org>
Subject: Re: [PATCH 06/20] signal/sh: Use force_sig(SIGKILL) instead of
do_group_exit(SIGKILL)
On Wed, Oct 20, 2021 at 09:57:58AM -1000, Linus Torvalds wrote:
> On Wed, Oct 20, 2021 at 7:44 AM Eric W. Biederman <ebiederm@...ssion.com> wrote:
> >
> > + force_sig(SIGKILL);
>
> I wonder if SIGFPE would be a more intuitive thing.
>
> Doesn't really matter, this is a "doesn't happen" event anyway, but
> that was just my reaction to reading the patch.
I think SIGKILL makes more sense unless there's a way the process
could handle the resulting SIGFPE and recover. I'd actually like to
see the lazy allocation of FPU state just removed (the amount of space
saved is tiny relative to the complexity cost and the negative aspects
of unrecoverable late failure) but for now let's just go with this.
Rich
Powered by blists - more mailing lists