Blame refpolicy/policy/modules/services/hal.if
|
Chris PeBenito |
fdae8e |
## <summary>Hardware abstraction layer</summary>
|
|
Chris PeBenito |
4614e8 |
|
|
Chris PeBenito |
4614e8 |
########################################
|
|
Chris PeBenito |
4614e8 |
## <summary>
|
|
Chris PeBenito |
4614e8 |
## Execute hal in the hal domain.
|
|
Chris PeBenito |
4614e8 |
## </summary>
|
|
Chris PeBenito |
4614e8 |
## <param name="domain">
|
|
Chris PeBenito |
4614e8 |
## Domain allowed access.
|
|
Chris PeBenito |
4614e8 |
## </param>
|
|
Chris PeBenito |
4614e8 |
#
|
|
Chris PeBenito |
4614e8 |
interface(`hal_domtrans',`
|
|
Chris PeBenito |
4614e8 |
gen_require(`
|
|
Chris PeBenito |
4614e8 |
type hald_t, hald_exec_t;
|
|
Chris PeBenito |
4614e8 |
')
|
|
Chris PeBenito |
4614e8 |
|
|
Chris PeBenito |
4614e8 |
domain_auto_trans($1,hald_exec_t,hald_t)
|
|
Chris PeBenito |
4614e8 |
|
|
Chris PeBenito |
4614e8 |
allow $1 hald_t:fd use;
|
|
Chris PeBenito |
4614e8 |
allow hald_t $1:fd use;
|
|
Chris PeBenito |
4614e8 |
allow hald_t $1:fifo_file rw_file_perms;
|
|
Chris PeBenito |
4614e8 |
allow hald_t $1:process sigchld;
|
|
Chris PeBenito |
4614e8 |
')
|