|
Chris PeBenito |
29af4c |
policy_module(kerneloops, 1.4.0)
|
|
Chris PeBenito |
782c10 |
|
|
Chris PeBenito |
782c10 |
########################################
|
|
Chris PeBenito |
782c10 |
#
|
|
Chris PeBenito |
782c10 |
# Declarations
|
|
Chris PeBenito |
782c10 |
#
|
|
Chris PeBenito |
782c10 |
|
|
Chris PeBenito |
782c10 |
type kerneloops_t;
|
|
Chris PeBenito |
782c10 |
type kerneloops_exec_t;
|
|
Chris PeBenito |
782c10 |
init_daemon_domain(kerneloops_t, kerneloops_exec_t)
|
|
Chris PeBenito |
782c10 |
|
|
Chris PeBenito |
74993c |
type kerneloops_initrc_exec_t;
|
|
Chris PeBenito |
74993c |
init_script_file(kerneloops_initrc_exec_t)
|
|
Chris PeBenito |
74993c |
|
|
Chris PeBenito |
bb8816 |
type kerneloops_tmp_t;
|
|
Chris PeBenito |
bb8816 |
files_tmp_file(kerneloops_tmp_t)
|
|
Chris PeBenito |
bb8816 |
|
|
Chris PeBenito |
782c10 |
########################################
|
|
Chris PeBenito |
782c10 |
#
|
|
Chris PeBenito |
782c10 |
# kerneloops local policy
|
|
Chris PeBenito |
782c10 |
#
|
|
Chris PeBenito |
782c10 |
|
|
Chris PeBenito |
782c10 |
allow kerneloops_t self:capability sys_nice;
|
|
Chris PeBenito |
6aa333 |
allow kerneloops_t self:process { getcap setcap setsched getsched signal };
|
|
Chris PeBenito |
782c10 |
allow kerneloops_t self:fifo_file rw_file_perms;
|
|
Chris PeBenito |
bb8816 |
|
|
Chris PeBenito |
bb8816 |
manage_files_pattern(kerneloops_t, kerneloops_tmp_t, kerneloops_tmp_t)
|
|
Chris PeBenito |
bb8816 |
files_tmp_filetrans(kerneloops_t, kerneloops_tmp_t, file)
|
|
Chris PeBenito |
782c10 |
|
|
Chris PeBenito |
782c10 |
kernel_read_ring_buffer(kerneloops_t)
|
|
Chris PeBenito |
782c10 |
|
|
Chris PeBenito |
782c10 |
# Init script handling
|
|
Chris PeBenito |
782c10 |
domain_use_interactive_fds(kerneloops_t)
|
|
Chris PeBenito |
782c10 |
|
|
Chris PeBenito |
782c10 |
corenet_all_recvfrom_unlabeled(kerneloops_t)
|
|
Chris PeBenito |
782c10 |
corenet_all_recvfrom_netlabel(kerneloops_t)
|
|
Chris PeBenito |
668b30 |
corenet_tcp_sendrecv_generic_if(kerneloops_t)
|
|
Chris PeBenito |
c12621 |
corenet_tcp_sendrecv_generic_node(kerneloops_t)
|
|
Chris PeBenito |
782c10 |
corenet_tcp_sendrecv_all_ports(kerneloops_t)
|
|
Chris PeBenito |
782c10 |
corenet_tcp_bind_http_port(kerneloops_t)
|
|
Chris PeBenito |
782c10 |
corenet_tcp_connect_http_port(kerneloops_t)
|
|
Chris PeBenito |
782c10 |
|
|
Chris PeBenito |
782c10 |
files_read_etc_files(kerneloops_t)
|
|
Chris PeBenito |
782c10 |
|
|
Chris PeBenito |
bb8816 |
auth_use_nsswitch(kerneloops_t)
|
|
Chris PeBenito |
bb8816 |
|
|
Chris PeBenito |
782c10 |
logging_send_syslog_msg(kerneloops_t)
|
|
Chris PeBenito |
782c10 |
logging_read_generic_logs(kerneloops_t)
|
|
Chris PeBenito |
782c10 |
|
|
Chris PeBenito |
782c10 |
miscfiles_read_localization(kerneloops_t)
|
|
Chris PeBenito |
782c10 |
|
|
Chris PeBenito |
782c10 |
optional_policy(`
|
|
Chris PeBenito |
fa5018 |
dbus_system_domain(kerneloops_t, kerneloops_exec_t)
|
|
Chris PeBenito |
782c10 |
')
|