[GIT PULL] execve reverts for v6.0-rc7
From: Kees Cook
Date: Mon Sep 19 2022 - 15:51:54 EST
Hi Linus,
Please pull these execve reverts for v6.0-rc7. The recent work to
support time namespace unsharing turns out to have some undesirable
corner cases, so rather than allowing the API to stay exposed for
another release, it'd be best to remove it ASAP, with the replacement
getting another cycle of testing. Nothing is known to use this yet,
so no userspace breakage is expected. For more details, see:
https://lore.kernel.org/lkml/ed418e43ad28b8688cfea2b7c90fce1c@xxxxxxxxx/
Also note that this is expected to introduce a small merge conflict for
the coming v6.1 merge window, as seen in linux-next:
https://lore.kernel.org/linux-next/20220914155533.70c10493@xxxxxxxxxxxxxxxx/
Thanks!
-Kees
The following changes since commit 1c23f9e627a7b412978b4e852793c5e3c3efc555:
Linux 6.0-rc2 (2022-08-21 17:32:54 -0700)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/execve-v6.0-rc7
for you to fetch changes up to 33a2d6bc3480f9f8ac8c8def29854f98cc8bfee2:
Revert "fs/exec: allow to unshare a time namespace on vfork+exec" (2022-09-13 10:38:43 -0700)
----------------------------------------------------------------
execve reverts for v6.0-rc7
- Remove the recent "unshare time namespace on vfork+exec" feature (Andrei Vagin)
----------------------------------------------------------------
Andrei Vagin (2):
Revert "selftests/timens: add a test for vfork+exit"
Revert "fs/exec: allow to unshare a time namespace on vfork+exec"
fs/exec.c | 7 ---
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, 3 insertions(+), 104 deletions(-)
delete mode 100644 tools/testing/selftests/timens/vfork_exec.c
--
Kees Cook