From d7786f38a7f30f5db146232fde47fab0ca598913 Mon Sep 17 00:00:00 2001 From: Krzysztof Struczynski Date: Fri, 10 Sep 2021 19:59:58 +0800 Subject: [PATCH] ima: Introduce ima-ns-sig template hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I49KW1 CVE: NA -------------------------------- Introduce ima-ns-sig template: "d-ng|n-ng|ns|sig" Signed-off-by: Krzysztof Struczynski Reviewed-by: Zhang Tianxing Signed-off-by: Zheng Zengkai --- security/integrity/ima/ima_template.c | 1 + 1 file changed, 1 insertion(+) diff --git a/security/integrity/ima/ima_template.c b/security/integrity/ima/ima_template.c index e72497f37bb5..5cd4ccd0d240 100644 --- a/security/integrity/ima/ima_template.c +++ b/security/integrity/ima/ima_template.c @@ -23,6 +23,7 @@ static struct ima_template_desc builtin_templates[] = { {.name = "ima-buf", .fmt = "d-ng|n-ng|buf"}, {.name = "ima-modsig", .fmt = "d-ng|n-ng|sig|d-modsig|modsig"}, {.name = "ima-ns", .fmt = "d-ng|n-ng|ns"}, + {.name = "ima-ns-sig", .fmt = "d-ng|n-ng|ns|sig"}, {.name = "", .fmt = ""}, /* placeholder for a custom format */ }; -- GitLab