[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <F3CF53C5-6423-4DA3-83CA-86B8B8C3862C@kernel.org>
Date: Sun, 21 Jan 2024 00:05:34 -0800
From: Kees Cook <kees@...nel.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>,
Al Viro <viro@...iv.linux.org.uk>
CC: Josh Triplett <josh@...htriplett.org>, Kees Cook <keescook@...omium.org>,
linux-kernel@...r.kernel.org, Alexey Dobriyan <adobriyan@...il.com>
Subject: Re: [GIT PULL] execve updates for v6.8-rc1
On January 20, 2024 2:18:36 PM PST, Linus Torvalds <torvalds@...ux-foundation.org> wrote:
>End result: I committed my "move do_open_execat() to the beginning of
>execve()" patch, since it's clearly an improvement on the existing
>behavior, and that whole "struct file allocations are unnecessarily
>expensive" issue is a separate thing.
Thanks! I'll add the other bits of refactoring I did in my version of the clean-up (I created do_close_execat() for the repeated "allow_write_access(file); fput(file);" calls, along with some comments):
https://lore.kernel.org/lkml/202209161637.9EDAF6B18@keescook/
I like your removal of the "out" label! :)
-Kees
--
Kees Cook
Powered by blists - more mailing lists