aboutsummaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorChristian Brauner <christian.brauner@ubuntu.com>2020-02-05 14:26:23 +0100
committerTejun Heo <tj@kernel.org>2020-02-12 17:57:51 -0500
commit9bd5910d7f3db2f65be139d2679dd9daa4a3419a (patch)
tree66c5d5196bfd2d362f398f2cf7eb8e08e988ae4a /ipc
parentclone3: allow spawning processes into cgroups (diff)
downloadlinux-dev-9bd5910d7f3db2f65be139d2679dd9daa4a3419a.tar.xz
linux-dev-9bd5910d7f3db2f65be139d2679dd9daa4a3419a.zip
selftests/cgroup: add tests for cloning into cgroups
Expand the cgroup test-suite to include tests for CLONE_INTO_CGROUP. This adds the following tests: - CLONE_INTO_CGROUP manages to clone a process directly into a correctly delegated cgroup - CLONE_INTO_CGROUP fails to clone a process into a cgroup that has been removed after we've opened an fd to it - CLONE_INTO_CGROUP fails to clone a process into an invalid domain cgroup - CLONE_INTO_CGROUP adheres to the no internal process constraint - CLONE_INTO_CGROUP works with the freezer feature Cc: Tejun Heo <tj@kernel.org> Cc: Shuah Khan <shuah@kernel.org> Cc: cgroups@vger.kernel.org Cc: linux-kselftest@vger.kernel.org Acked-by: Roman Gushchin <guro@fb.com> Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions