[GIT PULL] execve updates for v5.20-rc1

From: Kees Cook
Date: Mon Aug 01 2022 - 13:37:26 EST


Hi Linus,

Please pull these execve updates for v5.20-rc1.

Thanks!

-Kees

The following changes since commit b13baccc3850ca8b8cccbf8ed9912dbaa0fdf7f3:

Linux 5.19-rc2 (2022-06-12 16:11:37 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/execve-v5.20-rc1

for you to fetch changes up to c6e8e36c6ae4b11bed5643317afb66b6c3cadba8:

exec: Call kmap_local_page() in copy_string_kernel() (2022-07-27 14:15:09 -0700)

----------------------------------------------------------------
execve updates for v5.20-rc1

- Allow unsharing time namespace on vfork+exec (Andrei Vagin)

- Replace usage of deprecated kmap APIs (Fabio M. De Francesco)

- Fix spelling mistake (Zhang Jiaming)

----------------------------------------------------------------
Andrei Vagin (2):
fs/exec: allow to unshare a time namespace on vfork+exec
selftests/timens: add a test for vfork+exit

Fabio M. De Francesco (1):
exec: Call kmap_local_page() in copy_string_kernel()

Zhang Jiaming (1):
exec: Fix a spelling mistake

fs/exec.c | 15 +++--
kernel/fork.c | 5 +-
kernel/nsproxy.c | 3 +-
tools/testing/selftests/timens/Makefile | 2 +-
tools/testing/selftests/timens/vfork_exec.c | 90 +++++++++++++++++++++++++++++
5 files changed, 106 insertions(+), 9 deletions(-)
create mode 100644 tools/testing/selftests/timens/vfork_exec.c

--
Kees Cook