Chris PeBenito 17de1b
Chris PeBenito f7925f
policy_module(roundup,1.4.0)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
########################################
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
# Declarations
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
Chris PeBenito 17de1b
type roundup_t;
Chris PeBenito 17de1b
type roundup_exec_t;
Chris PeBenito 17de1b
init_daemon_domain(roundup_t,roundup_exec_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
type roundup_var_run_t;
Chris PeBenito 17de1b
files_pid_file(roundup_var_run_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
type roundup_var_lib_t;
Chris PeBenito 17de1b
files_type(roundup_var_lib_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 roundup_t self:capability { setgid setuid };
Chris PeBenito 17de1b
dontaudit roundup_t self:capability sys_tty_config;
Chris PeBenito 17de1b
allow roundup_t self:process signal_perms;
Chris PeBenito 17de1b
allow roundup_t self:unix_stream_socket create_stream_socket_perms;
Chris PeBenito 17de1b
allow roundup_t self:tcp_socket create_stream_socket_perms;
Chris PeBenito 17de1b
allow roundup_t self:udp_socket create_socket_perms;
Chris PeBenito 17de1b
Chris PeBenito c0868a
manage_files_pattern(roundup_t,roundup_var_lib_t,roundup_var_lib_t)
Chris PeBenito 17de1b
files_var_lib_filetrans(roundup_t,roundup_var_lib_t,file)
Chris PeBenito 17de1b
Chris PeBenito c0868a
manage_files_pattern(roundup_t,roundup_var_run_t,roundup_var_run_t)
Chris PeBenito c0868a
files_pid_filetrans(roundup_t,roundup_var_run_t,file)
Chris PeBenito c0868a
Chris PeBenito 17de1b
kernel_read_kernel_sysctls(roundup_t)
Chris PeBenito 17de1b
kernel_list_proc(roundup_t)
Chris PeBenito 17de1b
kernel_read_proc_symlinks(roundup_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
dev_read_sysfs(roundup_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
# execute python
Chris PeBenito 17de1b
corecmd_exec_bin(roundup_t)
Chris PeBenito 17de1b
Chris PeBenito 190066
corenet_all_recvfrom_unlabeled(roundup_t)
Chris PeBenito 190066
corenet_all_recvfrom_netlabel(roundup_t)
Chris PeBenito 17de1b
corenet_tcp_sendrecv_generic_if(roundup_t)
Chris PeBenito 17de1b
corenet_udp_sendrecv_generic_if(roundup_t)
Chris PeBenito 17de1b
corenet_raw_sendrecv_generic_if(roundup_t)
Chris PeBenito 17de1b
corenet_tcp_sendrecv_all_nodes(roundup_t)
Chris PeBenito 17de1b
corenet_udp_sendrecv_all_nodes(roundup_t)
Chris PeBenito 17de1b
corenet_raw_sendrecv_all_nodes(roundup_t)
Chris PeBenito 17de1b
corenet_tcp_sendrecv_all_ports(roundup_t)
Chris PeBenito 17de1b
corenet_udp_sendrecv_all_ports(roundup_t)
Chris PeBenito 17de1b
corenet_tcp_bind_all_nodes(roundup_t)
Chris PeBenito 17de1b
corenet_tcp_bind_http_cache_port(roundup_t)
Chris PeBenito 17de1b
corenet_tcp_connect_smtp_port(roundup_t)
Chris PeBenito 17de1b
corenet_sendrecv_http_cache_server_packets(roundup_t)
Chris PeBenito 17de1b
corenet_sendrecv_smtp_client_packets(roundup_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
# /usr/share/mysql/charsets/Index.xml
Chris PeBenito 17de1b
dev_read_urand(roundup_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
domain_use_interactive_fds(roundup_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
# /usr/share/mysql/charsets/Index.xml
Chris PeBenito 17de1b
files_read_usr_files(roundup_t)
Chris PeBenito 17de1b
files_read_etc_files(roundup_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
fs_getattr_all_fs(roundup_t)
Chris PeBenito 17de1b
fs_search_auto_mountpoints(roundup_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
libs_use_ld_so(roundup_t)
Chris PeBenito 17de1b
libs_use_shared_libs(roundup_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
logging_send_syslog_msg(roundup_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
miscfiles_read_localization(roundup_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
sysnet_read_config(roundup_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
userdom_dontaudit_use_unpriv_user_fds(roundup_t)
Chris PeBenito 17de1b
userdom_dontaudit_search_sysadm_home_dirs(roundup_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
optional_policy(`
Chris PeBenito 17de1b
	mysql_stream_connect(roundup_t)
Chris PeBenito 17de1b
	mysql_search_db(roundup_t)
Chris PeBenito 17de1b
')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
optional_policy(`
Chris PeBenito 17de1b
	seutil_sigchld_newrole(roundup_t)
Chris PeBenito 17de1b
')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
optional_policy(`
Chris PeBenito 17de1b
	udev_read_db(roundup_t)
Chris PeBenito 17de1b
')