summaryrefslogtreecommitdiff
path: root/security/ipe/policy_tests.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2024-09-24 10:18:15 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2024-09-24 10:18:15 -0700
commit5c36498d06b9b00393c2f35edbf16b28194375fa (patch)
treef9170a1fc6a234b2c069359a2d4ad68001f79a53 /security/ipe/policy_tests.c
parentabf2050f51fdca0fd146388f83cddd95a57a008d (diff)
parentf89722faa31466ff41aed21bdeb9cf34c2312858 (diff)
downloadlinux-5c36498d06b9b00393c2f35edbf16b28194375fa.tar.gz
linux-5c36498d06b9b00393c2f35edbf16b28194375fa.tar.bz2
linux-5c36498d06b9b00393c2f35edbf16b28194375fa.zip
Merge tag 'lsm-pr-20240923' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/lsm
Pull LSM fixes from Paul Moore: - Add a missing security_mmap_file() check to the remap_file_pages() syscall - Properly reference the SELinux and Smack LSM blobs in the security_watch_key() LSM hook - Fix a random IPE selftest crash caused by a missing list terminator in the test * tag 'lsm-pr-20240923' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/lsm: ipe: Add missing terminator to list of unit tests selinux,smack: properly reference the LSM blob in security_watch_key() mm: call the security_mmap_file() LSM hook in remap_file_pages()
Diffstat (limited to 'security/ipe/policy_tests.c')
-rw-r--r--security/ipe/policy_tests.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/ipe/policy_tests.c b/security/ipe/policy_tests.c
index 89521f6b9994..5f1654deeb04 100644
--- a/security/ipe/policy_tests.c
+++ b/security/ipe/policy_tests.c
@@ -286,6 +286,7 @@ static void ipe_parser_widestring_test(struct kunit *test)
static struct kunit_case ipe_parser_test_cases[] = {
KUNIT_CASE_PARAM(ipe_parser_unsigned_test, ipe_policies_gen_params),
KUNIT_CASE(ipe_parser_widestring_test),
+ { }
};
static struct kunit_suite ipe_parser_test_suite = {