[selinux-policy/master_contrib: 18/47] Fix nscd_dontaudit_write_sock_file() interface

Miroslav Grepl mgrepl at fedoraproject.org
Wed Jan 16 13:32:01 UTC 2013


commit 209aebde9819e6764313444a53cf94256f1026a3
Author: Miroslav Grepl <mgrepl at redhat.com>
Date:   Mon Jan 14 10:48:28 2013 +0100

    Fix nscd_dontaudit_write_sock_file() interface

 nscd.if |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/nscd.if b/nscd.if
index 685270c..7b8f5ad 100644
--- a/nscd.if
+++ b/nscd.if
@@ -150,10 +150,12 @@ interface(`nscd_use',`
 #
 interface(`nscd_dontaudit_write_sock_file',`
 	gen_require(`
-		type nscd_t;
+		type nscd_t, nscd_var_run_t;
 	')
 
 	dontaudit $1 nscd_t:sock_file write;
+	dontaudit $1 nscd_var_run_t:sock_file write;
+
 ')
 
 ########################################


More information about the scm-commits mailing list