Chris PeBenito 8926b2
Chris PeBenito 8926b2
policy_module(kerneloops, 1.0.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 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 782c10
allow kerneloops_t self:process { setsched getsched };
Chris PeBenito 782c10
allow kerneloops_t self:fifo_file rw_file_perms;
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 782c10
corenet_tcp_sendrecv_all_if(kerneloops_t)
Chris PeBenito 782c10
corenet_tcp_sendrecv_all_nodes(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 782c10
libs_use_ld_so(kerneloops_t)
Chris PeBenito 782c10
libs_use_shared_libs(kerneloops_t)
Chris PeBenito 782c10
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
sysnet_dns_name_resolve(kerneloops_t)
Chris PeBenito 782c10
Chris PeBenito 782c10
optional_policy(`
Chris PeBenito 782c10
	dbus_system_bus_client_template(kerneloops, kerneloops_t)
Chris PeBenito 782c10
	dbus_connect_system_bus(kerneloops_t)
Chris PeBenito 782c10
')