Skip to contentSkip to conversation

audit: fix typo in auditfilter.c comment

PATCH Applied [email protected] 2 participants 2 messages Jul 5, 2025 – Aug 11, 2025 Audit

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 audit: fix typo in auditfilter.c comment

From: Kieran Moy <[email protected]>

Correct the misspelling of "searching" (was "serarching") in the function documentation for audit_update_lsm_rules.

Found via code inspection, no functional impact.

---
 kernel/auditfilter.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/auditfilter.c +1 -1
index e3f42018e..4ed0e10e2 100644
@@ -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. */
Signature · 1 line
2.50.0
maintainer Applied
#1 lore raw
Quoted 6 lines · On Sat, Jul 5, 2025 at 3:49 AM <[email protected]> wrote:

From: Kieran Moy <[email protected]>

Correct the misspelling of "searching" (was "serarching") in the function documentation for audit_update_lsm_rules.

Quoted 6 lines

Found via code inspection, no functional impact.

---
 kernel/auditfilter.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Merged into audit/dev, thanks!

Signature · 1 line
paul-moore.com