Chris PeBenito 17de1b
Chris PeBenito 12e9ea
policy_module(razor,1.3.1)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
########################################
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
# Declarations
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
Chris PeBenito 17de1b
type razor_t;
Chris PeBenito 17de1b
type razor_exec_t;
Chris PeBenito 17de1b
domain_type(razor_t)
Chris PeBenito 17de1b
domain_entry_file(razor_t,razor_exec_t)
Chris PeBenito 17de1b
role system_r types razor_t;
Chris PeBenito 17de1b
Chris PeBenito 17de1b
type razor_etc_t;
Chris PeBenito 17de1b
files_config_file(razor_etc_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
type razor_log_t;
Chris PeBenito 17de1b
logging_log_file(razor_log_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
type razor_var_lib_t;
Chris PeBenito 17de1b
files_type(razor_var_lib_t)
Chris PeBenito 17de1b
Chris PeBenito 6b19be
razor_common_domain_template(razor)
Chris PeBenito 6b19be
Chris PeBenito 17de1b
########################################
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
# Local policy
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
Chris PeBenito 17de1b
allow razor_t self:tcp_socket create_socket_perms;
Chris PeBenito 17de1b
Chris PeBenito c0868a
manage_dirs_pattern(razor_t,razor_etc_t,razor_etc_t)
Chris PeBenito c0868a
manage_files_pattern(razor_t,razor_etc_t,razor_etc_t)
Chris PeBenito c0868a
manage_lnk_files_pattern(razor_t,razor_etc_t,razor_etc_t)
Chris PeBenito 17de1b
files_search_etc(razor_t)
Chris PeBenito 17de1b
Chris PeBenito c0868a
allow razor_t razor_log_t:file manage_file_perms;
Chris PeBenito 17de1b
logging_log_filetrans(razor_t,razor_log_t,file)
Chris PeBenito 17de1b
Chris PeBenito c0868a
manage_files_pattern(razor_t,razor_var_lib_t,razor_var_lib_t)
Chris PeBenito 17de1b
files_var_lib_filetrans(razor_t,razor_var_lib_t,file)
Chris PeBenito 17de1b
Chris PeBenito 190066
corenet_all_recvfrom_unlabeled(razor_t)
Chris PeBenito 190066
corenet_all_recvfrom_netlabel(razor_t)
Chris PeBenito 17de1b
corenet_tcp_sendrecv_generic_if(razor_t)
Chris PeBenito 17de1b
corenet_raw_sendrecv_generic_if(razor_t)
Chris PeBenito 17de1b
corenet_tcp_sendrecv_all_nodes(razor_t)
Chris PeBenito 17de1b
corenet_raw_sendrecv_all_nodes(razor_t)
Chris PeBenito 17de1b
corenet_tcp_sendrecv_razor_port(razor_t)
Chris PeBenito 17de1b
corenet_tcp_connect_razor_port(razor_t)
Chris PeBenito 17de1b
corenet_sendrecv_razor_client_packets(razor_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
sysnet_read_config(razor_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
optional_policy(`
Chris PeBenito 17de1b
	logging_send_syslog_msg(razor_t)
Chris PeBenito 17de1b
')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
optional_policy(`
Chris PeBenito 17de1b
	nscd_socket_use(razor_t)
Chris PeBenito 17de1b
')