Chris PeBenito 17de1b
Chris PeBenito c12621
policy_module(comsat, 1.6.2)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
########################################
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
# Declarations
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
Chris PeBenito 17de1b
type comsat_t;
Chris PeBenito 17de1b
type comsat_exec_t;
Chris PeBenito 0bfccd
inetd_udp_service_domain(comsat_t, comsat_exec_t)
Chris PeBenito 17de1b
role system_r types comsat_t;
Chris PeBenito 17de1b
Chris PeBenito 17de1b
type comsat_tmp_t;
Chris PeBenito 17de1b
files_tmp_file(comsat_tmp_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
type comsat_var_run_t;
Chris PeBenito 17de1b
files_pid_file(comsat_var_run_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
########################################
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
# Local policy
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
Chris PeBenito 17de1b
allow comsat_t self:capability { setuid setgid };
Chris PeBenito 17de1b
allow comsat_t self:process signal_perms;
Chris PeBenito c0868a
allow comsat_t self:fifo_file rw_fifo_file_perms;
Chris PeBenito 17de1b
allow comsat_t self:netlink_tcpdiag_socket r_netlink_socket_perms;
Chris PeBenito 17de1b
allow comsat_t self:tcp_socket connected_stream_socket_perms;
Chris PeBenito 17de1b
allow comsat_t self:udp_socket create_socket_perms;
Chris PeBenito 17de1b
Chris PeBenito 0bfccd
manage_dirs_pattern(comsat_t, comsat_tmp_t, comsat_tmp_t)
Chris PeBenito 0bfccd
manage_files_pattern(comsat_t, comsat_tmp_t, comsat_tmp_t)
Chris PeBenito 17de1b
files_tmp_filetrans(comsat_t, comsat_tmp_t, { file dir })
Chris PeBenito 17de1b
Chris PeBenito 0bfccd
manage_files_pattern(comsat_t, comsat_var_run_t, comsat_var_run_t)
Chris PeBenito 0bfccd
files_pid_filetrans(comsat_t, comsat_var_run_t, file)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
kernel_read_kernel_sysctls(comsat_t)
Chris PeBenito 17de1b
kernel_read_network_state(comsat_t)
Chris PeBenito 17de1b
kernel_read_system_state(comsat_t)
Chris PeBenito 17de1b
Chris PeBenito 190066
corenet_all_recvfrom_unlabeled(comsat_t)
Chris PeBenito 190066
corenet_all_recvfrom_netlabel(comsat_t)
Chris PeBenito 668b30
corenet_tcp_sendrecv_generic_if(comsat_t)
Chris PeBenito 668b30
corenet_udp_sendrecv_generic_if(comsat_t)
Chris PeBenito c12621
corenet_tcp_sendrecv_generic_node(comsat_t)
Chris PeBenito c12621
corenet_udp_sendrecv_generic_node(comsat_t)
Chris PeBenito 17de1b
corenet_udp_sendrecv_all_ports(comsat_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
dev_read_urand(comsat_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
fs_getattr_xattr_fs(comsat_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
files_read_etc_files(comsat_t)
Chris PeBenito 17de1b
files_list_usr(comsat_t)
Chris PeBenito 17de1b
files_search_spool(comsat_t)
Chris PeBenito 17de1b
files_search_home(comsat_t)
Chris PeBenito 17de1b
Chris PeBenito c0cf6e
auth_use_nsswitch(comsat_t)
Chris PeBenito c0cf6e
Chris PeBenito 17de1b
init_read_utmp(comsat_t)
Chris PeBenito 17de1b
init_dontaudit_write_utmp(comsat_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
logging_send_syslog_msg(comsat_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
miscfiles_read_localization(comsat_t)
Chris PeBenito 17de1b
Chris PeBenito 296273
userdom_dontaudit_getattr_user_ttys(comsat_t)
Chris PeBenito 17de1b
Chris PeBenito 296273
mta_getattr_spool(comsat_t)
Chris PeBenito e9c6cd
Chris PeBenito 17de1b
optional_policy(`
Chris PeBenito 17de1b
	kerberos_use(comsat_t)
Chris PeBenito 17de1b
')