aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/safesetid (follow)
AgeCommit message (Collapse)AuthorFilesLines
2019-02-12LSM: SafeSetID: add selftestMicah Morton5-0/+371
This patch adds a selftest for the SafeSetID LSM. The test requires mounting securityfs if it isn't mounted, creating test users in /etc/passwd, and configuring policies for the SafeSetID LSM through writes to securityfs. Signed-off-by: Micah Morton <mortonm@chromium.org> Signed-off-by: James Morris <james.morris@microsoft.com>