Chris PeBenito 17de1b
Chris PeBenito 9570b2
policy_module(cipe, 1.5.0)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
########################################
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
# Declarations
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
Chris PeBenito 17de1b
type ciped_t;
Chris PeBenito 17de1b
type ciped_exec_t;
Chris PeBenito 0bfccd
init_daemon_domain(ciped_t, ciped_exec_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 ciped_t self:capability { net_admin ipc_lock sys_tty_config };
Chris PeBenito 17de1b
dontaudit ciped_t self:capability sys_tty_config;
Chris PeBenito 17de1b
allow ciped_t self:process signal_perms;
Chris PeBenito c0868a
allow ciped_t self:fifo_file rw_fifo_file_perms;
Chris PeBenito 17de1b
allow ciped_t self:unix_dgram_socket create_socket_perms;
Chris PeBenito 17de1b
allow ciped_t self:unix_stream_socket create_socket_perms;
Chris PeBenito 17de1b
allow ciped_t self:udp_socket create_socket_perms;
Chris PeBenito 17de1b
Chris PeBenito 17de1b
kernel_read_kernel_sysctls(ciped_t)
Chris PeBenito 17de1b
kernel_read_system_state(ciped_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
corecmd_exec_shell(ciped_t)
Chris PeBenito 17de1b
corecmd_exec_bin(ciped_t)
Chris PeBenito 17de1b
Chris PeBenito 190066
corenet_all_recvfrom_unlabeled(ciped_t)
Chris PeBenito 190066
corenet_all_recvfrom_netlabel(ciped_t)
Chris PeBenito 17de1b
corenet_udp_sendrecv_generic_if(ciped_t)
Chris PeBenito c12621
corenet_udp_sendrecv_generic_node(ciped_t)
Chris PeBenito 17de1b
corenet_udp_sendrecv_all_ports(ciped_t)
Chris PeBenito c12621
corenet_udp_bind_generic_node(ciped_t)
Chris PeBenito 17de1b
# cipe uses the afs3-bos port (udp 7007)
Chris PeBenito 17de1b
corenet_udp_bind_afs_bos_port(ciped_t)
Chris PeBenito 17de1b
corenet_sendrecv_afs_bos_server_packets(ciped_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
dev_read_sysfs(ciped_t)
Chris PeBenito 17de1b
dev_read_rand(ciped_t)
Chris PeBenito 17de1b
# for SSP
Chris PeBenito 17de1b
dev_read_urand(ciped_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
domain_use_interactive_fds(ciped_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
files_read_etc_files(ciped_t)
Chris PeBenito 17de1b
files_read_etc_runtime_files(ciped_t)
Chris PeBenito 17de1b
files_dontaudit_search_var(ciped_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
fs_search_auto_mountpoints(ciped_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
logging_send_syslog_msg(ciped_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
miscfiles_read_localization(ciped_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
sysnet_read_config(ciped_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
userdom_dontaudit_use_unpriv_user_fds(ciped_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
optional_policy(`
Chris PeBenito 17de1b
	nis_use_ypbind(ciped_t)
Chris PeBenito 17de1b
')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
optional_policy(`
Chris PeBenito 17de1b
	seutil_sigchld_newrole(ciped_t)
Chris PeBenito 17de1b
')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
optional_policy(`
Chris PeBenito 17de1b
	udev_read_db(ciped_t)
Chris PeBenito 17de1b
')