From e37c73b1e2f1a6392056a841f313cbf82b61971a Mon Sep 17 00:00:00 2001
From: Tim Steiner <tim.steiner@nebraska.edu>
Date: Mon, 4 Nov 2019 18:06:02 -0600
Subject: [PATCH] Update to support CentOS 8 selinux.

---
 linux_health.te | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/linux_health.te b/linux_health.te
index 4d755f4..968d079 100644
--- a/linux_health.te
+++ b/linux_health.te
@@ -1,13 +1,15 @@
-module linux_health 1.0;
+module linux_health 1.1;
 
 require {
 	type snmpd_t;
 	type root_t;
 	class file { setattr read create getattr write ioctl unlink open };
 	class dir { write remove_name add_name };
+	class capability dac_override;
 }
 
 #============= snmpd_t ==============
 
 allow snmpd_t root_t:dir { write remove_name add_name };
 allow snmpd_t root_t:file { setattr read create ioctl write getattr unlink open };
+allow snmpd_t self:capability dac_override;
-- 
GitLab