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

From: Shuah Khan
Date: Wed Feb 09 2022 - 20:25:47 EST


On 2/7/22 5:18 AM, Michal Koutný wrote:
Verify RLIMIT_NPROC observance in user namespaces also in the
clone(CLONE_NEWUSER) path.
Note the such a user_ns is created by the privileged user.


Does this test run in non-privileged user mode? If it doesn't
let add a check and skip the test.

Signed-off-by: Michal Koutný <mkoutny@xxxxxxxx>

thanks,
-- Shuah