1 ## <summary>Gnome clock handler for setting the time.</summary>
3 ########################################
5 ## Execute a domain transition to run gnomeclock.
7 ## <param name="domain">
9 ## Domain allowed to transition.
13 interface(`gnomeclock_domtrans',`
15 type gnomeclock_t, gnomeclock_exec_t;
18 domtrans_pattern($1, gnomeclock_exec_t, gnomeclock_t)
21 ########################################
23 ## Execute gnomeclock in the gnomeclock domain, and
24 ## allow the specified role the gnomeclock domain.
26 ## <param name="domain">
28 ## Domain allowed to transition.
31 ## <param name="role">
33 ## Role allowed access.
37 interface(`gnomeclock_run',`
42 gnomeclock_domtrans($1)
43 role $2 types gnomeclock_t;
46 ########################################
48 ## Send and receive messages from
49 ## gnomeclock over dbus.
51 ## <param name="domain">
53 ## Domain allowed access.
57 interface(`gnomeclock_dbus_chat',`
63 allow $1 gnomeclock_t:dbus send_msg;
64 allow gnomeclock_t $1:dbus send_msg;
67 ########################################
69 ## Do not audit send and receive messages from
70 ## gnomeclock over dbus.
72 ## <param name="domain">
74 ## Domain to not audit.
78 interface(`gnomeclock_dontaudit_dbus_chat',`
84 dontaudit $1 gnomeclock_t:dbus send_msg;
85 dontaudit gnomeclock_t $1:dbus send_msg;