[PATCH] Fix incorrect type in clamav_enableddisable_clamd interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Dave Sugar <dsugar@xxxxxxxxxx>
---
 policy/modules/services/clamav.if | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/policy/modules/services/clamav.if b/policy/modules/services/clamav.if
index 3639d769..0dc1e23c 100644
--- a/policy/modules/services/clamav.if
+++ b/policy/modules/services/clamav.if
@@ -263,11 +263,11 @@ interface(`clamav_scannable_files',`
 #
 interface(`clamav_enabledisable_clamd',`
 	gen_require(`
-		type clamav_unit_t;
+		type clamd_unit_t;
 		class service { enable disable };
 	')
 
-	allow $1 clamav_unit_t:service { enable disable };
+	allow $1 clamd_unit_t:service { enable disable };
 ')
 
 ########################################
-- 
2.20.1





[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux