[SRU][J, L, M][PATCH] UBUNTU: SAUCE: LSM: Fix typo in ima_filter_rule_match struct argument

Alexey Panov panov1552 at gmail.com
Mon Oct 30 12:09:04 UTC 2023


BugLink: https://bugs.launchpad.net/bugs/2041842

This patch fixes typo in ima_filter_rule_match function declaration
Fixes: eb1821949348 ("UBUNTU: SAUCE: LSM: Use lsmblob in security_audit_rule_match")
Signed-off-by: Alexey Panov <panov1552 at gmail.com>
---
 security/integrity/ima/ima.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/security/integrity/ima/ima.h b/security/integrity/ima/ima.h
index 783a3b2fc826..c1d10bbd7c8a 100644
--- a/security/integrity/ima/ima.h
+++ b/security/integrity/ima/ima.h
@@ -437,7 +437,7 @@ static inline void ima_filter_rule_free(void *lsmrule)
 {
 }
 
-static inline int ima_filter_rule_match(strcut lsmblob *blob, u32 field, u32 op,
+static inline int ima_filter_rule_match(struct lsmblob *blob, u32 field, u32 op,
 					void *lsmrule)
 {
 	return -EINVAL;
-- 
2.30.2




More information about the kernel-team mailing list