Chris PeBenito 871079
## <summary>ddcprobe retrieves monitor and graphics card information</summary>
Chris PeBenito 871079
Chris PeBenito 871079
########################################
Chris PeBenito 871079
## <summary>
Chris PeBenito 871079
##	Execute ddcprobe in the ddcprobe domain.
Chris PeBenito 871079
## </summary>
Chris PeBenito 871079
## <param name="domain">
Chris PeBenito 885b83
##	<summary>
Dominick Grift 77e4b5
##	Domain allowed to transition.
Chris PeBenito 885b83
##	</summary>
Chris PeBenito 871079
## </param>
Chris PeBenito 871079
#
Chris PeBenito 871079
interface(`ddcprobe_domtrans',`
Chris PeBenito 871079
	gen_require(`
Chris PeBenito 871079
		type ddcprobe_t, ddcprobe_exec_t;
Chris PeBenito 871079
	')
Chris PeBenito 871079
Chris PeBenito 0bfccd
	domtrans_pattern($1, ddcprobe_exec_t, ddcprobe_t)
Chris PeBenito 871079
')
Chris PeBenito 871079
Chris PeBenito 871079
########################################
Chris PeBenito 871079
## <summary>
Chris PeBenito 871079
##	Execute ddcprobe in the ddcprobe domain, and
Chris PeBenito 871079
##	allow the specified role the ddcprobe domain.
Chris PeBenito 871079
## </summary>
Chris PeBenito 871079
## <param name="domain">
Chris PeBenito 885b83
##	<summary>
Dominick Grift 77e4b5
##	Domain allowed to transition.
Chris PeBenito 885b83
##	</summary>
Chris PeBenito 871079
## </param>
Chris PeBenito 871079
## <param name="role">
Chris PeBenito 885b83
##	<summary>
Chris PeBenito 871079
##	Role to be authenticated for ddcprobe domain.
Chris PeBenito 885b83
##	</summary>
Chris PeBenito 871079
## </param>
Chris PeBenito bbcd3c
## <rolecap/>
Chris PeBenito 871079
#
Chris PeBenito 871079
interface(`ddcprobe_run',`
Chris PeBenito 871079
	gen_require(`
Chris PeBenito 871079
		type ddcprobe_t;
Chris PeBenito 871079
	')
Chris PeBenito 871079
Chris PeBenito 871079
	ddcprobe_domtrans($1)
Chris PeBenito 871079
	role $2 types ddcprobe_t;
Chris PeBenito 871079
')