diff options
author | Christian Brauner <christian.brauner@ubuntu.com> | 2020-02-05 14:26:23 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2020-02-12 23:57:51 +0100 |
commit | 9bd5910d7f3db2f65be139d2679dd9daa4a3419a (patch) | |
tree | 66c5d5196bfd2d362f398f2cf7eb8e08e988ae4a /kernel/cgroup | |
parent | clone3: allow spawning processes into cgroups (diff) | |
download | linux-9bd5910d7f3db2f65be139d2679dd9daa4a3419a.tar.xz linux-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 'kernel/cgroup')
0 files changed, 0 insertions, 0 deletions