[selinux-policy: 3014/3172] Use domtrans_pattern.

Daniel J Walsh dwalsh at fedoraproject.org
Thu Oct 7 23:28:12 UTC 2010


commit eb0e0bcca5141b90d0828fe22c402b3577eb96e6
Author: Dominick Grift <domg472 at gmail.com>
Date:   Fri Sep 17 10:24:20 2010 +0200

    Use domtrans_pattern.

 policy/modules/services/cachefilesd.if |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/policy/modules/services/cachefilesd.if b/policy/modules/services/cachefilesd.if
index 24336ad..3b41945 100644
--- a/policy/modules/services/cachefilesd.if
+++ b/policy/modules/services/cachefilesd.if
@@ -31,10 +31,5 @@ interface(`cachefilesd_domtrans',`
 		type cachefilesd_t, cachefilesd_exec_t;
 	')
 
-	domain_auto_trans($1,cachefilesd_exec_t,cachefilesd_t)
-
-	allow $1 cachefilesd_t:fd use;
-	allow cachefilesd_t $1:fd use;
-	allow cachefilesd_t $1:fifo_file rw_file_perms;
-	allow cachefilesd_t $1:process sigchld;
+	domtrans_pattern($1, cachefilesd_exec_t, cachefilesd_t)
 ')


More information about the scm-commits mailing list