Commit 1e396a5d authored by Linus Torvalds's avatar Linus Torvalds
Browse files
Pull thread updates from Christian Brauner:
 "The main change for this cycle was the extension for clone3() to
  support spawning processes directly into cgroups via CLONE_INTO_CGROUP
  (commit ef2c41cf: "clone3: allow spawning processes
  into cgroups").

  But since I had to touch kernel/cgroup/ quite a bit I had Tejun route
  that through his tree this time around to make it easier for him to
  handle other changes.

  So here is just the unexciting leftovers: a regression test for the
  ENOMEM regression we fixed in commit b26ebfe1 ("pid: Fix error
  return value in some cases") verifying that we report ENOMEM when
  trying to create a new process in a pid namespace whose init
  process/subreaper has already exited"

* tag 'threads-v5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux:
  selftests: add pid namespace ENOMEM regression test
parents 2fb732b3 6952a4f6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -13285,6 +13285,7 @@ S: Maintained
T:	git git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux.git
F:	samples/pidfd/
F:	tools/testing/selftests/pidfd/
F:	tools/testing/selftests/pid_namespace/
F:	tools/testing/selftests/clone3/
K:	(?i)pidfd
K:	(?i)clone3
+1 −0
Original line number Diff line number Diff line
@@ -38,6 +38,7 @@ TARGETS += net/mptcp
TARGETS += netfilter
TARGETS += nsfs
TARGETS += pidfd
TARGETS += pid_namespace
TARGETS += powerpc
TARGETS += proc
TARGETS += pstore
+1 −0
Original line number Diff line number Diff line
regression_enomem
+8 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0
CFLAGS += -g -I../../../../usr/include/

TEST_GEN_PROGS := regression_enomem

include ../lib.mk

$(OUTPUT)/regression_enomem: regression_enomem.c ../pidfd/pidfd.h
+2 −0
Original line number Diff line number Diff line
CONFIG_PID_NS=y
CONFIG_USER_NS=y
Loading