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

Eric W. Biederman
2020-03-06T05:21:20Z

Bernd Edlinger <bernd.edlinger@hotmail.de> 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