|
Chris PeBenito |
8926b2 |
|
|
Chris PeBenito |
c12621 |
policy_module(kerneloops, 1.2.2)
|
|
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 |
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 |
74993c |
allow kerneloops_t self:process { setsched getsched signal };
|
|
Chris PeBenito |
782c10 |
allow kerneloops_t self:fifo_file rw_file_perms;
|
|
Chris PeBenito |
74993c |
allow kerneloops_t self:netlink_route_socket r_netlink_socket_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 |
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 |
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 |
296273 |
dbus_system_bus_client(kerneloops_t)
|
|
Chris PeBenito |
782c10 |
dbus_connect_system_bus(kerneloops_t)
|
|
Chris PeBenito |
782c10 |
')
|