Re: [RFC PATCH 6/6] selftests: Test RLIMIT_NPROC in clone-created user namespaces

From: Michal Koutný
Date: Tue Feb 15 2022 - 04:35:03 EST


On Wed, Feb 09, 2022 at 06:25:34PM -0700, Shuah Khan <skhan@xxxxxxxxxxxxxxxxxxx> wrote:
> Does this test run in non-privileged user mode? If it doesn't
> let add a check and skip the test.

It requires user namespaces created by the privileged user (to bypass
RLIMIT_NPROC on the top level).

I'll add the check into code.

Michal