Re: [PATCH 1/2] exec: Properly mark the point of no return

From: Eric W. Biederman
Date: Fri Mar 06 2020 - 12:18:22 EST


Bernd Edlinger <bernd.edlinger@xxxxxxxxxx> writes:

> On 3/6/20 6:09 AM, Eric W. Biederman wrote:
>> Bernd Edlinger <bernd.edlinger@xxxxxxxxxx> writes:
>>
>>> On 3/5/20 10:15 PM, Eric W. Biederman wrote:
>>>>
>>>> Add a flag binfmt->unrecoverable to mark when execution has gotten to
>>>> the point where it is impossible to return to userspace with the
>>>> calling process unchanged.
>>>>
>>>> While techinically this state starts as soon as de_thread starts
>
> typo: s/techinically/technically/

>>>> killing threads, the only return path at that point is if there is a
>>>> fatal signal pending. I have choosen instead to set unrecoverable
>
> I'm not good at english, is this chosen ?
>

Yes. Defintley worth fixing.

Eric