summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/rlimits/config
diff options
context:
space:
mode:
authorAlexey Gladkov <legion@kernel.org>2021-04-22 14:27:15 +0200
committerEric W. Biederman <ebiederm@xmission.com>2021-04-30 14:14:03 -0500
commite4aebf06695c32d49f1007f9d252f97b5b2998a7 (patch)
treeb3618b4ca6da9c986069a7cd862e3465b041e901 /tools/testing/selftests/rlimits/config
parentd7c9e99aee48e6bc0b427f3e3c658a6aba15001e (diff)
kselftests: Add test to check for rlimit changes in different user namespaces
The testcase runs few instances of the program with RLIMIT_NPROC=1 from user uid=60000, in different user namespaces. Signed-off-by: Alexey Gladkov <legion@kernel.org> Link: https://lkml.kernel.org/r/28cafdcdd4abd8494b34a27f1970b666b30de8bf.1619094428.git.legion@kernel.org Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'tools/testing/selftests/rlimits/config')
-rw-r--r--tools/testing/selftests/rlimits/config1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/rlimits/config b/tools/testing/selftests/rlimits/config
new file mode 100644
index 000000000000..416bd53ce982
--- /dev/null
+++ b/tools/testing/selftests/rlimits/config
@@ -0,0 +1 @@
+CONFIG_USER_NS=y