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

From: Eric W. Biederman
Date: Fri Mar 06 2020 - 00:21:21 EST


Bernd Edlinger <bernd.edlinger@xxxxxxxxxx> writes:

> On 3/5/20 10:15 PM, Eric W. Biederman wrote:
>> @@ -1266,7 +1267,7 @@ int flush_old_exec(struct linux_binprm * bprm)
>> * Make sure we have a private signal table and that
>> * we are unassociated from the previous thread group.
>> */
>> - retval = de_thread(current);
>> + retval = de_thread(bprm, current);
>
> can we get rid of passing current as parameter here?

With a separate patch. It makes the patch less clear if I make that
change in this one.

Eric