Blame policy/modules/services/gnomeclock.if
|
Chris PeBenito |
21b1d1 |
## <summary>Gnome clock handler for setting the time.</summary>
|
|
Chris PeBenito |
21b1d1 |
|
|
Chris PeBenito |
21b1d1 |
########################################
|
|
Chris PeBenito |
21b1d1 |
## <summary>
|
|
Chris PeBenito |
21b1d1 |
## Execute a domain transition to run gnomeclock.
|
|
Chris PeBenito |
21b1d1 |
## </summary>
|
|
Chris PeBenito |
21b1d1 |
## <param name="domain">
|
|
Chris PeBenito |
21b1d1 |
## <summary>
|
|
Chris PeBenito |
21b1d1 |
## Domain allowed to transition.
|
|
Chris PeBenito |
21b1d1 |
## </summary>
|
|
Chris PeBenito |
21b1d1 |
## </param>
|
|
Chris PeBenito |
21b1d1 |
#
|
|
Chris PeBenito |
21b1d1 |
interface(`gnomeclock_domtrans',`
|
|
Chris PeBenito |
21b1d1 |
gen_require(`
|
|
Chris PeBenito |
21b1d1 |
type gnomeclock_t, gnomeclock_exec_t;
|
|
Chris PeBenito |
21b1d1 |
')
|
|
Chris PeBenito |
21b1d1 |
|
|
Chris PeBenito |
21b1d1 |
domtrans_pattern($1, gnomeclock_exec_t, gnomeclock_t)
|
|
Chris PeBenito |
21b1d1 |
')
|
|
Chris PeBenito |
21b1d1 |
|
|
Chris PeBenito |
21b1d1 |
########################################
|
|
Chris PeBenito |
21b1d1 |
## <summary>
|
|
Chris PeBenito |
21b1d1 |
## Execute gnomeclock in the gnomeclock domain, and
|
|
Chris PeBenito |
21b1d1 |
## allow the specified role the gnomeclock domain.
|
|
Chris PeBenito |
21b1d1 |
## </summary>
|
|
Chris PeBenito |
21b1d1 |
## <param name="domain">
|
|
Chris PeBenito |
21b1d1 |
## <summary>
|
|
Dominick Grift |
288845 |
## Domain allowed to transition.
|
|
Chris PeBenito |
21b1d1 |
## </summary>
|
|
Chris PeBenito |
21b1d1 |
## </param>
|
|
Chris PeBenito |
21b1d1 |
## <param name="role">
|
|
Chris PeBenito |
21b1d1 |
## <summary>
|
|
Chris PeBenito |
a7ee7f |
## Role allowed access.
|
|
Chris PeBenito |
21b1d1 |
## </summary>
|
|
Chris PeBenito |
21b1d1 |
## </param>
|
|
Chris PeBenito |
21b1d1 |
#
|
|
Chris PeBenito |
21b1d1 |
interface(`gnomeclock_run',`
|
|
Chris PeBenito |
21b1d1 |
gen_require(`
|
|
Chris PeBenito |
21b1d1 |
type gnomeclock_t;
|
|
Chris PeBenito |
21b1d1 |
')
|
|
Chris PeBenito |
21b1d1 |
|
|
Chris PeBenito |
21b1d1 |
gnomeclock_domtrans($1)
|
|
Chris PeBenito |
21b1d1 |
role $2 types gnomeclock_t;
|
|
Chris PeBenito |
21b1d1 |
')
|
|
Chris PeBenito |
21b1d1 |
|
|
Chris PeBenito |
21b1d1 |
########################################
|
|
Chris PeBenito |
21b1d1 |
## <summary>
|
|
Chris PeBenito |
21b1d1 |
## Send and receive messages from
|
|
Chris PeBenito |
21b1d1 |
## gnomeclock over dbus.
|
|
Chris PeBenito |
21b1d1 |
## </summary>
|
|
Chris PeBenito |
21b1d1 |
## <param name="domain">
|
|
Chris PeBenito |
21b1d1 |
## <summary>
|
|
Chris PeBenito |
21b1d1 |
## Domain allowed access.
|
|
Chris PeBenito |
21b1d1 |
## </summary>
|
|
Chris PeBenito |
21b1d1 |
## </param>
|
|
Chris PeBenito |
21b1d1 |
#
|
|
Chris PeBenito |
21b1d1 |
interface(`gnomeclock_dbus_chat',`
|
|
Chris PeBenito |
21b1d1 |
gen_require(`
|
|
Chris PeBenito |
21b1d1 |
type gnomeclock_t;
|
|
Chris PeBenito |
21b1d1 |
class dbus send_msg;
|
|
Chris PeBenito |
21b1d1 |
')
|
|
Chris PeBenito |
21b1d1 |
|
|
Chris PeBenito |
21b1d1 |
allow $1 gnomeclock_t:dbus send_msg;
|
|
Chris PeBenito |
21b1d1 |
allow gnomeclock_t $1:dbus send_msg;
|
|
Chris PeBenito |
21b1d1 |
')
|