2017-08-05 16:59:42 +00:00
|
|
|
policy_module(netlabel, 1.6.0)
|
2006-10-17 16:58:17 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# Declarations
|
|
|
|
#
|
|
|
|
|
|
|
|
type netlabel_mgmt_t;
|
|
|
|
type netlabel_mgmt_exec_t;
|
2009-06-26 14:40:13 +00:00
|
|
|
application_domain(netlabel_mgmt_t, netlabel_mgmt_exec_t)
|
2008-07-25 12:11:14 +00:00
|
|
|
role system_r types netlabel_mgmt_t;
|
2006-10-17 16:58:17 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# NetLabel Management Tools Local policy
|
|
|
|
#
|
|
|
|
|
|
|
|
# modify the network subsystem configuration
|
|
|
|
allow netlabel_mgmt_t self:capability net_admin;
|
|
|
|
allow netlabel_mgmt_t self:netlink_socket create_socket_perms;
|
2015-05-21 17:38:09 +00:00
|
|
|
allow netlabel_mgmt_t self:netlink_generic_socket create_socket_perms;
|
2006-10-17 16:58:17 +00:00
|
|
|
|
|
|
|
kernel_read_network_state(netlabel_mgmt_t)
|
|
|
|
|
2007-09-04 18:57:58 +00:00
|
|
|
files_read_etc_files(netlabel_mgmt_t)
|
|
|
|
|
2006-10-17 16:58:17 +00:00
|
|
|
seutil_use_newrole_fds(netlabel_mgmt_t)
|
2008-11-05 16:10:46 +00:00
|
|
|
|
|
|
|
userdom_use_user_terminals(netlabel_mgmt_t)
|