Use domtrans_pattern.
This commit is contained in:
parent
0293695add
commit
eb0e0bcca5
@ -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)
|
||||
')
|
||||
|
Loading…
Reference in New Issue
Block a user