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 f7eaee
## <param name="domain">
Chris PeBenito 885b83
##	<summary>
Dominick Grift 77e4b5
##	Domain allowed to transition.
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 8021cb
	corecmd_search_bin($1)
Chris PeBenito 0bfccd
	domtrans_pattern($1, vbetool_exec_t, vbetool_t)
Chris PeBenito 9cca1c
')
Chris PeBenito da0423
Chris PeBenito da0423
########################################
Chris PeBenito da0423
## <summary>
Chris PeBenito da0423
##	Execute vbetool in the vbetool domain, and
Chris PeBenito da0423
##	allow the specified role the vbetool domain.
Chris PeBenito da0423
## </summary>
Chris PeBenito da0423
## <param name="domain">
Chris PeBenito da0423
##	<summary>
Dominick Grift 77e4b5
##	Domain allowed to transition.
Chris PeBenito da0423
##	</summary>
Chris PeBenito da0423
## </param>
Chris PeBenito da0423
## <param name="role">
Chris PeBenito da0423
##	<summary>
Chris PeBenito a7ee7f
##	Role allowed access.
Chris PeBenito da0423
##	</summary>
Chris PeBenito da0423
## </param>
Chris PeBenito da0423
#
Chris PeBenito da0423
interface(`vbetool_run',`
Chris PeBenito da0423
	gen_require(`
Chris PeBenito da0423
		type vbetool_t;
Chris PeBenito da0423
	')
Chris PeBenito da0423
Chris PeBenito da0423
	vbetool_domtrans($1)
Chris PeBenito da0423
	role $2 types vbetool_t;
Chris PeBenito da0423
')