Re: [PATCH AUTOSEL 5.10 7/8] exec: Distinguish in_execve from in_exec

From: Sasha Levin
Date: Thu Feb 22 2024 - 07:37:09 EST


On Sun, Feb 18, 2024 at 08:12:56PM +0100, Pavel Machek wrote:
Hi!

From: Kees Cook <keescook@xxxxxxxxxxxx>

[ Upstream commit 90383cc07895183c75a0db2460301c2ffd912359 ]

Just to help distinguish the fs->in_exec flag from the current->in_execve
flag, add comments in check_unsafe_exec() and copy_fs() for more
context. Also note that in_execve is only used by TOMOYO now.

These are just a whitespace changes, we should not need them.

Dropped, thanks!

--
Thanks,
Sasha