From 5833afeca51aa117a0ad57cd3f64192e434117f8 Mon Sep 17 00:00:00 2001 From: Steve Grubb Date: Mon, 20 Jul 2020 14:30:00 -0400 Subject: [PATCH] Fix FAN_RESPONSE_MASK The mask as it is, was letting syslog notifications through. While the bit it is using is undefined. One day it might be. So, correct the mask to only provide the bits that the kernel understands. --- src/library/policy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/library/policy.h b/src/library/policy.h index b41b7031..1245fd73 100644 --- a/src/library/policy.h +++ b/src/library/policy.h @@ -42,7 +42,7 @@ #endif #define SYSLOG 0x0020 -#define FAN_RESPONSE_MASK 0x001F +#define FAN_RESPONSE_MASK FAN_ALLOW|FAN_DENY|FAN_AUDIT typedef enum { NO_OPINION = 0,