fapolicyd/0002-Add-a-comment.patch
Petr Lautrbach 668fb1b9d4 fapolicyd-1.4.5-2
- fagenrules: Validate new compiled rules
- Add fapolicyd-cli --check-rules option
Resolves: RHEL-13011

- Bump maximum length of a configuration file line
Resolves: RHEL-170173
2026-04-22 12:10:34 +02:00

29 lines
826 B
Diff

From 58d40adf7e2a9ce3323250b72c1ec96e431ce77a Mon Sep 17 00:00:00 2001
From: Steve Grubb <ausearch.1@gmail.com>
Date: Tue, 31 Mar 2026 15:04:18 -0400
Subject: [PATCH] Add a comment
Content-type: text/plain
---
src/daemon/notify.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/daemon/notify.c b/src/daemon/notify.c
index 195efd331821..c7bb4f82adc0 100644
--- a/src/daemon/notify.c
+++ b/src/daemon/notify.c
@@ -295,7 +295,9 @@ void fanotify_update(mlist *m)
}
}
- // Now remove the deleted mount point
+ // Now remove the deleted mount point - NOTE: the kernel
+ // cleans up the mark itself when umount ran. All we do
+ // here is update the bookkeeping.
if (cur->status == MNT_DELETE) {
msg(LOG_DEBUG, "Deleted %s mount point", safe_path);
temp = cur->next;
--
2.53.0