Use domtrans_pattern.

This commit is contained in:
Dominick Grift 2010-09-17 10:24:20 +02:00
parent 0293695add
commit eb0e0bcca5

View File

@ -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)
')