|
Chris PeBenito |
8926b2 |
## <summary>Service for reporting kernel oopses to kerneloops.org</summary>
|
|
Chris PeBenito |
782c10 |
|
|
Chris PeBenito |
782c10 |
########################################
|
|
Chris PeBenito |
782c10 |
## <summary>
|
|
Chris PeBenito |
782c10 |
## Execute a domain transition to run kerneloops.
|
|
Chris PeBenito |
782c10 |
## </summary>
|
|
Chris PeBenito |
782c10 |
## <param name="domain">
|
|
Chris PeBenito |
782c10 |
## <summary>
|
|
Chris PeBenito |
782c10 |
## Domain allowed to transition.
|
|
Chris PeBenito |
782c10 |
## </summary>
|
|
Chris PeBenito |
782c10 |
## </param>
|
|
Chris PeBenito |
782c10 |
#
|
|
Chris PeBenito |
782c10 |
interface(`kerneloops_domtrans',`
|
|
Chris PeBenito |
782c10 |
gen_require(`
|
|
Chris PeBenito |
782c10 |
type kerneloops_t;
|
|
Chris PeBenito |
782c10 |
type kerneloops_exec_t;
|
|
Chris PeBenito |
782c10 |
')
|
|
Chris PeBenito |
782c10 |
|
|
Chris PeBenito |
782c10 |
domtrans_pattern($1, kerneloops_exec_t, kerneloops_t)
|
|
Chris PeBenito |
782c10 |
')
|
|
Chris PeBenito |
782c10 |
|
|
Chris PeBenito |
782c10 |
########################################
|
|
Chris PeBenito |
782c10 |
## <summary>
|
|
Chris PeBenito |
782c10 |
## Send and receive messages from
|
|
Chris PeBenito |
782c10 |
## kerneloops over dbus.
|
|
Chris PeBenito |
782c10 |
## </summary>
|
|
Chris PeBenito |
782c10 |
## <param name="domain">
|
|
Chris PeBenito |
782c10 |
## <summary>
|
|
Chris PeBenito |
782c10 |
## Domain allowed access.
|
|
Chris PeBenito |
782c10 |
## </summary>
|
|
Chris PeBenito |
782c10 |
## </param>
|
|
Chris PeBenito |
782c10 |
#
|
|
Chris PeBenito |
782c10 |
interface(`kerneloops_dbus_chat',`
|
|
Chris PeBenito |
782c10 |
gen_require(`
|
|
Chris PeBenito |
782c10 |
type kerneloops_t;
|
|
Chris PeBenito |
782c10 |
class dbus send_msg;
|
|
Chris PeBenito |
782c10 |
')
|
|
Chris PeBenito |
782c10 |
|
|
Chris PeBenito |
782c10 |
allow $1 kerneloops_t:dbus send_msg;
|
|
Chris PeBenito |
782c10 |
allow kerneloops_t $1:dbus send_msg;
|
|
Chris PeBenito |
782c10 |
')
|
|
Chris PeBenito |
782c10 |
|
|
Chris PeBenito |
782c10 |
########################################
|
|
Chris PeBenito |
782c10 |
## <summary>
|
|
Chris PeBenito |
782c10 |
## dontaudit attempts to Send and receive messages from
|
|
Chris PeBenito |
782c10 |
## kerneloops over dbus.
|
|
Chris PeBenito |
782c10 |
## </summary>
|
|
Chris PeBenito |
782c10 |
## <param name="domain">
|
|
Chris PeBenito |
782c10 |
## <summary>
|
|
Chris PeBenito |
782c10 |
## Domain allowed access.
|
|
Chris PeBenito |
782c10 |
## </summary>
|
|
Chris PeBenito |
782c10 |
## </param>
|
|
Chris PeBenito |
782c10 |
#
|
|
Chris PeBenito |
782c10 |
interface(`kerneloops_dontaudit_dbus_chat',`
|
|
Chris PeBenito |
782c10 |
gen_require(`
|
|
Chris PeBenito |
782c10 |
type kerneloops_t;
|
|
Chris PeBenito |
782c10 |
class dbus send_msg;
|
|
Chris PeBenito |
782c10 |
')
|
|
Chris PeBenito |
782c10 |
|
|
Chris PeBenito |
782c10 |
dontaudit $1 kerneloops_t:dbus send_msg;
|
|
Chris PeBenito |
782c10 |
dontaudit kerneloops_t $1:dbus send_msg;
|
|
Chris PeBenito |
782c10 |
')
|
|
Chris PeBenito |
782c10 |
|
|
Chris PeBenito |
782c10 |
########################################
|
|
Chris PeBenito |
782c10 |
## <summary>
|
|
Chris PeBenito |
782c10 |
## All of the rules required to administrate
|
|
Chris PeBenito |
782c10 |
## an kerneloops environment
|
|
Chris PeBenito |
782c10 |
## </summary>
|
|
Chris PeBenito |
782c10 |
## <param name="domain">
|
|
Chris PeBenito |
782c10 |
## <summary>
|
|
Chris PeBenito |
782c10 |
## Domain allowed access.
|
|
Chris PeBenito |
782c10 |
## </summary>
|
|
Chris PeBenito |
782c10 |
## </param>
|
|
Chris PeBenito |
782c10 |
## <rolecap/>
|
|
Chris PeBenito |
782c10 |
#
|
|
Chris PeBenito |
782c10 |
interface(`kerneloops_admin',`
|
|
Chris PeBenito |
782c10 |
gen_require(`
|
|
Chris PeBenito |
782c10 |
type kerneloops_t;
|
|
Chris PeBenito |
782c10 |
')
|
|
Chris PeBenito |
782c10 |
|
|
Chris PeBenito |
782c10 |
allow $1 kerneloops_t:process { ptrace signal_perms };
|
|
Chris PeBenito |
782c10 |
ps_process_pattern($1, kerneloops_t)
|
|
Chris PeBenito |
782c10 |
')
|