Chris PeBenito 20c3cc
## <summary>DBus fingerprint reader service</summary>
Chris PeBenito 20c3cc
Chris PeBenito 20c3cc
########################################
Chris PeBenito 20c3cc
## <summary>
Chris PeBenito 20c3cc
##	Execute a domain transition to run fprintd.
Chris PeBenito 20c3cc
## </summary>
Chris PeBenito 20c3cc
## <param name="domain">
Dominick Grift 4b1644
##	<summary>
Chris PeBenito 20c3cc
##	Domain allowed to transition.
Dominick Grift 4b1644
##	</summary>
Chris PeBenito 20c3cc
## </param>
Chris PeBenito 20c3cc
#
Chris PeBenito 20c3cc
interface(`fprintd_domtrans',`
Chris PeBenito 20c3cc
	gen_require(`
Chris PeBenito 20c3cc
		type fprintd_t, fprintd_exec_t;
Chris PeBenito 20c3cc
	')
Chris PeBenito 20c3cc
Chris PeBenito 20c3cc
	domtrans_pattern($1, fprintd_exec_t, fprintd_t)
Chris PeBenito 20c3cc
')
Chris PeBenito 20c3cc
Chris PeBenito 20c3cc
########################################
Chris PeBenito 20c3cc
## <summary>
Chris PeBenito 20c3cc
##	Send and receive messages from
Chris PeBenito 20c3cc
##	fprintd over dbus.
Chris PeBenito 20c3cc
## </summary>
Chris PeBenito 20c3cc
## <param name="domain">
Chris PeBenito 20c3cc
##	<summary>
Chris PeBenito 20c3cc
##	Domain allowed access.
Chris PeBenito 20c3cc
##	</summary>
Chris PeBenito 20c3cc
## </param>
Chris PeBenito 20c3cc
#
Chris PeBenito 20c3cc
interface(`fprintd_dbus_chat',`
Chris PeBenito 20c3cc
	gen_require(`
Chris PeBenito 20c3cc
		type fprintd_t;
Chris PeBenito 20c3cc
		class dbus send_msg;
Chris PeBenito 20c3cc
	')
Chris PeBenito 20c3cc
Chris PeBenito 20c3cc
	allow $1 fprintd_t:dbus send_msg;
Chris PeBenito 20c3cc
	allow fprintd_t $1:dbus send_msg;
Chris PeBenito 20c3cc
')