Chris PeBenito 17de1b
Chris PeBenito 9570b2
policy_module(transproxy, 1.7.0)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
########################################
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
# Declarations
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
Chris PeBenito 17de1b
type transproxy_t;
Chris PeBenito 17de1b
type transproxy_exec_t;
Chris PeBenito 0bfccd
init_daemon_domain(transproxy_t, transproxy_exec_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
type transproxy_var_run_t;
Chris PeBenito 17de1b
files_pid_file(transproxy_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 transproxy_t self:capability { setgid setuid };
Chris PeBenito 17de1b
dontaudit transproxy_t self:capability sys_tty_config;
Chris PeBenito 17de1b
allow transproxy_t self:process signal_perms;
Chris PeBenito 17de1b
allow transproxy_t self:tcp_socket create_stream_socket_perms;
Chris PeBenito 17de1b
Chris PeBenito 0bfccd
manage_files_pattern(transproxy_t, transproxy_var_run_t, transproxy_var_run_t)
Chris PeBenito 0bfccd
files_pid_filetrans(transproxy_t, transproxy_var_run_t, file)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
kernel_read_kernel_sysctls(transproxy_t)
Chris PeBenito 17de1b
kernel_list_proc(transproxy_t)
Chris PeBenito 17de1b
kernel_read_proc_symlinks(transproxy_t)
Chris PeBenito 17de1b
Chris PeBenito 190066
corenet_all_recvfrom_unlabeled(transproxy_t)
Chris PeBenito 190066
corenet_all_recvfrom_netlabel(transproxy_t)
Chris PeBenito 17de1b
corenet_tcp_sendrecv_generic_if(transproxy_t)
Chris PeBenito c12621
corenet_tcp_sendrecv_generic_node(transproxy_t)
Chris PeBenito 17de1b
corenet_tcp_sendrecv_all_ports(transproxy_t)
Chris PeBenito c12621
corenet_tcp_bind_generic_node(transproxy_t)
Chris PeBenito 17de1b
corenet_tcp_bind_transproxy_port(transproxy_t)
Chris PeBenito 17de1b
corenet_sendrecv_transproxy_server_packets(transproxy_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
dev_read_sysfs(transproxy_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
domain_use_interactive_fds(transproxy_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
files_read_etc_files(transproxy_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
fs_getattr_all_fs(transproxy_t)
Chris PeBenito 17de1b
fs_search_auto_mountpoints(transproxy_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
logging_send_syslog_msg(transproxy_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
miscfiles_read_localization(transproxy_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
sysnet_read_config(transproxy_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
userdom_dontaudit_use_unpriv_user_fds(transproxy_t)
Chris PeBenito 296273
userdom_dontaudit_search_user_home_dirs(transproxy_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
optional_policy(`
Chris PeBenito 17de1b
	seutil_sigchld_newrole(transproxy_t)
Chris PeBenito 17de1b
')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
optional_policy(`
Chris PeBenito 17de1b
	udev_read_db(transproxy_t)
Chris PeBenito 17de1b
')