summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorKieran Moy <kfatyuip@gmail.com>2025-07-05 15:48:10 +0800
committerPaul Moore <paul@paul-moore.com>2025-08-11 11:44:57 -0400
commitdf1145b56c6f92696acec7730694a19fb4c8a174 (patch)
treed860ef5918eb59083f902ad43ae9b24b48dad626 /kernel
parentd8c09d7b55da39a10c8fd7f2b3a3f88f5f55764c (diff)
audit: fix typo in auditfilter.c comment
Correct the misspelling of "searching" (was "serarching") in the function documentation for audit_update_lsm_rules. Found via code inspection, no functional impact. Signed-off-by: Kieran Moy <kfatyuip@gmail.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/auditfilter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/auditfilter.c b/kernel/auditfilter.c
index e3f42018ed46..4ed0e10e20b5 100644
--- a/kernel/auditfilter.c
+++ b/kernel/auditfilter.c
@@ -1440,7 +1440,7 @@ static int update_lsm_rule(struct audit_krule *r)
}
/* This function will re-initialize the lsm_rule field of all applicable rules.
- * It will traverse the filter lists serarching for rules that contain LSM
+ * It will traverse the filter lists searching for rules that contain LSM
* specific filter fields. When such a rule is found, it is copied, the
* LSM field is re-initialized, and the old rule is replaced with the
* updated rule. */