LSM: selftests for Linux Security Module syscalls

Add selftests for the three system calls supporting the LSM
infrastructure. This set of tests is limited by the differences
in access policy enforced by the existing security modules.

Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Reviewed-by: Mickaël Salaün <mic@digikod.net>
Tested-by: Mickaël Salaün <mic@digikod.net>
Signed-off-by: Paul Moore <paul@paul-moore.com>
This commit is contained in:
Casey Schaufler
2023-09-12 13:56:56 -07:00
committed by Paul Moore
parent 762c934317
commit d3d929a8b0
10 changed files with 634 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
CONFIG_SYSFS=y
CONFIG_SECURITY=y
CONFIG_SECURITYFS=y