android_kernel_samsung_sm8650/tools/testing/selftests/cgroup
Christian Brauner 9bd5910d7f 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>
2020-02-12 17:57:51 -05:00
..
.gitignore kselftests: cgroup: add freezer controller self-tests 2019-04-19 11:26:49 -07:00
cgroup_util.c selftests/cgroup: add tests for cloning into cgroups 2020-02-12 17:57:51 -05:00
cgroup_util.h selftests/cgroup: add tests for cloning into cgroups 2020-02-12 17:57:51 -05:00
Makefile selftests/cgroup: add tests for cloning into cgroups 2020-02-12 17:57:51 -05:00
test_core.c selftests/cgroup: add tests for cloning into cgroups 2020-02-12 17:57:51 -05:00
test_freezer.c kselftests: cgroup: Avoid the reuse of fd after it is deallocated 2019-11-12 07:33:59 -08:00
test_memcontrol.c kselftest/cgroup: fix unexpected testing failure on test_memcontrol 2019-05-30 08:19:17 -06:00
test_stress.sh selftests: cgroup: Run test_core under interfering stress 2019-10-07 07:11:54 -07:00
with_stress.sh selftests: cgroup: Run test_core under interfering stress 2019-10-07 07:11:54 -07:00