mirror of
https://github.com/SELinuxProject/refpolicy
synced 2025-03-11 07:40:18 +00:00
tpm2: small fixes
* Drop permissions implied by domtrans_pattern * Use fifo_file permission macro for fifo_file class Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
This commit is contained in:
parent
d769c71848
commit
0ac9f4cb22
@ -35,9 +35,6 @@ interface(`tpm2_domtrans',`
|
||||
type tpm2_t, tpm2_exec_t;
|
||||
')
|
||||
|
||||
allow tpm2_t $1:fd use;
|
||||
allow tpm2_t $1:fifo_file rw_file_perms;
|
||||
|
||||
corecmd_search_bin($1)
|
||||
domtrans_pattern($1, tpm2_exec_t, tpm2_t)
|
||||
')
|
||||
@ -162,6 +159,6 @@ interface(`tpm2_rw_abrmd_pipes',`
|
||||
')
|
||||
|
||||
allow $1 tpm2_abrmd_t:fd use;
|
||||
allow $1 tpm2_abrmd_t:fifo_file rw_file_perms;
|
||||
allow $1 tpm2_abrmd_t:fifo_file rw_fifo_file_perms;
|
||||
')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user