Re: [PATCH 6/6] exec: Set the point of no return sooner

2020-05-08 Thread Kees Cook
On Fri, May 08, 2020 at 01:48:13PM -0500, Eric W. Biederman wrote: > > Make the code more robust by marking the point of no return sooner. > This ensures that future code changes don't need to worry about how > they return errors if they are past this point. > > This results in no actual change

[PATCH 6/6] exec: Set the point of no return sooner

2020-05-08 Thread Eric W. Biederman
Make the code more robust by marking the point of no return sooner. This ensures that future code changes don't need to worry about how they return errors if they are past this point. This results in no actual change in behavior as __do_execve_file does not force SIGSEGV when there is a pending