-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cgroup_core02: Requires cgroup2 mounted with nsdelegate
If cgroup2 is not mounted with the nsdelegate option, this test will fail. It has been patched in kernel kselftests commit 4793cb599b1b ("selftests: cgroup: skip test_cgcore_lesser_ns_open when cgroup2 mounted without nsdelegate"), therefore port it to LTP as well. This adds an additional tst_test configuration option, needs_cgroup_nsdelegate, to check for the mount option. Link: https://lore.kernel.org/linux-kernel/20240327024437.3196-1-dtcccc@linux.alibaba.com/ Link: https://www.mail-archive.com/canonical-ubuntu-qa@lists.launchpad.net/msg02400.html Link: https://lore.kernel.org/ltp/20240730211922.3648849-1-edliaw@google.com/ Reviewed-by: Petr Vorel <pvorel@suse.cz> Signed-off-by: Edward Liaw <edliaw@google.com> Signed-off-by: Petr Vorel <pvorel@suse.cz>
- Loading branch information
Showing
5 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters