summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/safesetid/config
diff options
context:
space:
mode:
authorMicah Morton <mortonm@chromium.org>2019-02-06 11:03:09 -0800
committerJames Morris <james.morris@microsoft.com>2019-02-12 10:58:51 -0800
commitc67e8ec03f3fd41c0b75f5596eee92460f4957c0 (patch)
tree40c20da64f01ebd02f38aeb8e9115800f37b8b7a /tools/testing/selftests/safesetid/config
parent2181e084b26bddca22bc3f23364c15809cfed28b (diff)
LSM: SafeSetID: add selftest
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>
Diffstat (limited to 'tools/testing/selftests/safesetid/config')
-rw-r--r--tools/testing/selftests/safesetid/config2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/testing/selftests/safesetid/config b/tools/testing/selftests/safesetid/config
new file mode 100644
index 000000000000..9d44e5c2e096
--- /dev/null
+++ b/tools/testing/selftests/safesetid/config
@@ -0,0 +1,2 @@
+CONFIG_SECURITY=y
+CONFIG_SECURITYFS=y