execve fix for v6.0-rc2
Hi Linus,
Please pull this execve fix for v6.0-rc2.
Thanks!
-Kees
The following changes since commit c6e8e36c6ae4b11bed5643317afb66b6c3cadba8:
exec: Call kmap_local_page() in copy_string_kernel() (2022-07-27 14:15:09 -0700)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/execve-v6.0-rc2
for you to fetch changes up to 3a608cfee97e99b3fff9ffe62246a098042e725d:
exec: Replace kmap{,_atomic}() with kmap_local_page() (2022-08-16 12:11:27 -0700)
----------------------------------------------------------------
execve fix for v6.0-rc2
- Replace remaining kmap() uses with kmap_local_page() (Fabio M. De Francesco)
----------------------------------------------------------------
Fabio M. De Francesco (1):
exec: Replace kmap{,_atomic}() with kmap_local_page()
fs/exec.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)
Signature · 1 line
Kees Cook
Quoted 2 lines · Kees Cook
Please pull this execve fix for v6.0-rc2.
Hmm. I've pulled this, but "fix" it isn't.
There's no actual bug in the old code that I can see. It' just that local kmaps are the preferred model these days.
Linus
The pull request you sent on Fri, 19 Aug 2022 12:04:07 -0700:
The pull request you sent on Fri, 19 Aug 2022 12:04:07 -0700:
Quoted 1 line
https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/execve-v6.0-rc2
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/50cd95ac46548429e5bba7ca75cc97d11a697947
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html
Quoted 8 lines · Linus Torvalds
Quoted 2 lines · Kees Cook
Please pull this execve fix for v6.0-rc2.
Hmm. I've pulled this, but "fix" it isn't.
There's no actual bug in the old code that I can see. It' just that local kmaps are the preferred model these days.
Yeah, that's true. I figured it was better to get it in ASAP to help with the transition and avoid having both APIs in the same file. Thanks for taking it!
Signature · 1 line
Kees Cook