|
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 |
')
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
########################################
|
|
Dan Walsh |
3eaa99 |
## <summary>
|
|
Dan Walsh |
3eaa99 |
## Do not audit send and receive messages from
|
|
Dan Walsh |
3eaa99 |
## gnomeclock over dbus.
|
|
Dan Walsh |
3eaa99 |
## </summary>
|
|
Dan Walsh |
3eaa99 |
## <param name="domain">
|
|
Dan Walsh |
3eaa99 |
## <summary>
|
|
Dan Walsh |
3eaa99 |
## Domain allowed access.
|
|
Dan Walsh |
3eaa99 |
## </summary>
|
|
Dan Walsh |
3eaa99 |
## </param>
|
|
Dan Walsh |
3eaa99 |
#
|
|
Dan Walsh |
3eaa99 |
interface(`gnomeclock_dontaudit_dbus_chat',`
|
|
Dan Walsh |
3eaa99 |
gen_require(`
|
|
Dan Walsh |
3eaa99 |
type gnomeclock_t;
|
|
Dan Walsh |
3eaa99 |
class dbus send_msg;
|
|
Dan Walsh |
3eaa99 |
')
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
dontaudit $1 gnomeclock_t:dbus send_msg;
|
|
Dan Walsh |
3eaa99 |
dontaudit gnomeclock_t $1:dbus send_msg;
|
|
Dan Walsh |
3eaa99 |
')
|