mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 06:05:03 +07:00
c67e8ec03f
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>
9 lines
172 B
Makefile
9 lines
172 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Makefile for mount selftests.
|
|
CFLAGS = -Wall -lcap -O2
|
|
|
|
TEST_PROGS := run_tests.sh
|
|
TEST_GEN_FILES := safesetid-test
|
|
|
|
include ../lib.mk
|