linux/tools/testing/selftests/safesetid
Micah Morton 92c005a117 LSM: SafeSetID: fix userns bug in selftest
Not sure how this bug got in here but its been there since the original
merge. I think I tested the code on a system that wouldn't let me
clone() with CLONE_NEWUSER flag set so had to comment out these
test_userns invocations.

Trying to map UID 0 inside the userns to UID 0 outside will never work,
even with CAP_SETUID. The code is supposed to test whether we can map
UID 0 in the userns to the UID of the parent process (the one with
CAP_SETUID that is writing the /proc/[pid]/uid_map file).

Signed-off-by: Micah Morton <mortonm@chromium.org>
2022-07-15 17:35:34 +00:00
..
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
config
Makefile selftests: safesetid: Fix Makefile to set correct test program 2019-12-09 10:53:04 -07:00
safesetid-test.c LSM: SafeSetID: fix userns bug in selftest 2022-07-15 17:35:34 +00:00
safesetid-test.sh