Chris PeBenito 130f8a
Chris PeBenito 556556
policy_module(netlabel,1.1.1)
Chris PeBenito 130f8a
Chris PeBenito 130f8a
########################################
Chris PeBenito 130f8a
#
Chris PeBenito 130f8a
# Declarations
Chris PeBenito 130f8a
#
Chris PeBenito 130f8a
Chris PeBenito 130f8a
type netlabel_mgmt_t;
Chris PeBenito 130f8a
type netlabel_mgmt_exec_t;
Chris PeBenito d46cfe
application_domain(netlabel_mgmt_t,netlabel_mgmt_exec_t)
Chris PeBenito 556556
role system_r types netlabel_mgmt_t;
Chris PeBenito 130f8a
Chris PeBenito 130f8a
########################################
Chris PeBenito 130f8a
#
Chris PeBenito 130f8a
# NetLabel Management Tools Local policy
Chris PeBenito 130f8a
#
Chris PeBenito 130f8a
Chris PeBenito 130f8a
# modify the network subsystem configuration
Chris PeBenito 130f8a
allow netlabel_mgmt_t self:capability net_admin;
Chris PeBenito 130f8a
allow netlabel_mgmt_t self:netlink_socket create_socket_perms;
Chris PeBenito 130f8a
Chris PeBenito 130f8a
kernel_read_network_state(netlabel_mgmt_t)
Chris PeBenito 130f8a
Chris PeBenito 0a0b80
files_read_etc_files(netlabel_mgmt_t)
Chris PeBenito 0a0b80
Chris PeBenito 130f8a
libs_use_ld_so(netlabel_mgmt_t)
Chris PeBenito 130f8a
libs_use_shared_libs(netlabel_mgmt_t)
Chris PeBenito 130f8a
Chris PeBenito 130f8a
seutil_use_newrole_fds(netlabel_mgmt_t)