Blame policy/modules/admin/vbetool.if
|
Chris PeBenito |
9cca1c |
## <summary>run real-mode video BIOS code to alter hardware state</summary>
|
|
Chris PeBenito |
9cca1c |
|
|
Chris PeBenito |
9cca1c |
########################################
|
|
Chris PeBenito |
9cca1c |
## <summary>
|
|
Chris PeBenito |
9cca1c |
## Execute vbetool application in the vbetool domain.
|
|
Chris PeBenito |
9cca1c |
## </summary>
|
|
Chris PeBenito |
9cca1c |
## <param name="domain" optional="true">
|
|
Chris PeBenito |
885b83 |
## <summary>
|
|
Chris PeBenito |
9cca1c |
## N/A
|
|
Chris PeBenito |
885b83 |
## </summary>
|
|
Chris PeBenito |
9cca1c |
## </param>
|
|
Chris PeBenito |
9cca1c |
#
|
|
Chris PeBenito |
9cca1c |
interface(`vbetool_domtrans',`
|
|
Chris PeBenito |
9cca1c |
gen_require(`
|
|
Chris PeBenito |
9cca1c |
type vbetool_t, vbetool_exec_t;
|
|
Chris PeBenito |
9cca1c |
')
|
|
Chris PeBenito |
9cca1c |
|
|
Chris PeBenito |
9cca1c |
corecmd_search_sbin($1)
|
|
Chris PeBenito |
9cca1c |
domain_auto_trans($1,vbetool_exec_t,vbetool_t)
|
|
Chris PeBenito |
9cca1c |
|
|
Chris PeBenito |
9cca1c |
allow $1 vbetool_t:fd use;
|
|
Chris PeBenito |
9cca1c |
allow vbetool_t $1:fd use;
|
|
Chris PeBenito |
9cca1c |
allow vbetool_t $1:fifo_file rw_file_perms;
|
|
Chris PeBenito |
9cca1c |
allow vbetool_t $1:process sigchld;
|
|
Chris PeBenito |
9cca1c |
|
|
Chris PeBenito |
9cca1c |
')
|