Chris PeBenito 17de1b
Chris PeBenito 14c786
policy_module(ddclient, 1.8.1)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
########################################
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
# Declarations
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
Chris PeBenito 17de1b
type ddclient_t;
Chris PeBenito 17de1b
type ddclient_exec_t;
Chris PeBenito 0bfccd
init_daemon_domain(ddclient_t, ddclient_exec_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
type ddclient_etc_t;
Chris PeBenito e87221
files_config_file(ddclient_etc_t)
Chris PeBenito e87221
Chris PeBenito e87221
type ddclient_initrc_exec_t;
Chris PeBenito e87221
init_script_file(ddclient_initrc_exec_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
type ddclient_log_t;
Chris PeBenito 17de1b
logging_log_file(ddclient_log_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
type ddclient_var_t;
Chris PeBenito 17de1b
files_type(ddclient_var_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
type ddclient_var_lib_t;
Chris PeBenito 17de1b
files_type(ddclient_var_lib_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
type ddclient_var_run_t;
Chris PeBenito 17de1b
files_pid_file(ddclient_var_run_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
########################################
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
# Declarations
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
Chris PeBenito 17de1b
dontaudit ddclient_t self:capability sys_tty_config;
Chris PeBenito 17de1b
allow ddclient_t self:process signal_perms;
Chris PeBenito c0868a
allow ddclient_t self:fifo_file rw_fifo_file_perms;
Chris PeBenito 17de1b
allow ddclient_t self:tcp_socket create_socket_perms;
Chris PeBenito 17de1b
allow ddclient_t self:udp_socket create_socket_perms;
Chris PeBenito 17de1b
Chris PeBenito c0868a
allow ddclient_t ddclient_etc_t:file read_file_perms;
Chris PeBenito 17de1b
Chris PeBenito 17de1b
allow ddclient_t ddclient_log_t:file manage_file_perms;
Chris PeBenito 3f67f7
logging_log_filetrans(ddclient_t, ddclient_log_t, file)
Chris PeBenito 17de1b
Chris PeBenito 0bfccd
manage_dirs_pattern(ddclient_t, ddclient_var_t, ddclient_var_t)
Chris PeBenito 0bfccd
manage_files_pattern(ddclient_t, ddclient_var_t, ddclient_var_t)
Chris PeBenito 0bfccd
manage_lnk_files_pattern(ddclient_t, ddclient_var_t, ddclient_var_t)
Chris PeBenito 0bfccd
manage_fifo_files_pattern(ddclient_t, ddclient_var_t, ddclient_var_t)
Chris PeBenito 0bfccd
manage_sock_files_pattern(ddclient_t, ddclient_var_t, ddclient_var_t)
Chris PeBenito 0bfccd
files_var_filetrans(ddclient_t, ddclient_var_t, { file lnk_file sock_file fifo_file })
Chris PeBenito 17de1b
Chris PeBenito 0bfccd
manage_files_pattern(ddclient_t, ddclient_var_lib_t, ddclient_var_lib_t)
Chris PeBenito 0bfccd
files_var_lib_filetrans(ddclient_t, ddclient_var_lib_t, file)
Chris PeBenito 17de1b
Chris PeBenito 0bfccd
manage_files_pattern(ddclient_t, ddclient_var_run_t, ddclient_var_run_t)
Chris PeBenito 0bfccd
files_pid_filetrans(ddclient_t, ddclient_var_run_t, file)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
kernel_read_system_state(ddclient_t)
Chris PeBenito 17de1b
kernel_read_network_state(ddclient_t)
Chris PeBenito 17de1b
kernel_read_software_raid_state(ddclient_t)
Chris PeBenito 17de1b
kernel_getattr_core_if(ddclient_t)
Chris PeBenito 17de1b
kernel_getattr_message_if(ddclient_t)
Chris PeBenito 17de1b
kernel_read_kernel_sysctls(ddclient_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
corecmd_exec_shell(ddclient_t)
Chris PeBenito 17de1b
corecmd_exec_bin(ddclient_t)
Chris PeBenito 17de1b
Chris PeBenito 190066
corenet_all_recvfrom_unlabeled(ddclient_t)
Chris PeBenito 190066
corenet_all_recvfrom_netlabel(ddclient_t)
Chris PeBenito 17de1b
corenet_tcp_sendrecv_generic_if(ddclient_t)
Chris PeBenito 17de1b
corenet_udp_sendrecv_generic_if(ddclient_t)
Chris PeBenito c12621
corenet_tcp_sendrecv_generic_node(ddclient_t)
Chris PeBenito c12621
corenet_udp_sendrecv_generic_node(ddclient_t)
Chris PeBenito 17de1b
corenet_tcp_sendrecv_all_ports(ddclient_t)
Chris PeBenito 17de1b
corenet_udp_sendrecv_all_ports(ddclient_t)
Chris PeBenito 17de1b
corenet_tcp_connect_all_ports(ddclient_t)
Chris PeBenito 17de1b
corenet_sendrecv_all_client_packets(ddclient_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
dev_read_sysfs(ddclient_t)
Chris PeBenito 17de1b
dev_read_urand(ddclient_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
domain_use_interactive_fds(ddclient_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
files_read_etc_files(ddclient_t)
Chris PeBenito 17de1b
files_read_etc_runtime_files(ddclient_t)
Chris PeBenito 17de1b
files_read_usr_files(ddclient_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
fs_getattr_all_fs(ddclient_t)
Chris PeBenito 17de1b
fs_search_auto_mountpoints(ddclient_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
logging_send_syslog_msg(ddclient_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
miscfiles_read_localization(ddclient_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
sysnet_exec_ifconfig(ddclient_t)
Chris PeBenito 17de1b
sysnet_read_config(ddclient_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
userdom_dontaudit_use_unpriv_user_fds(ddclient_t)
Chris PeBenito 296273
userdom_dontaudit_search_user_home_dirs(ddclient_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
optional_policy(`
Chris PeBenito 17de1b
	seutil_sigchld_newrole(ddclient_t)
Chris PeBenito 17de1b
')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
optional_policy(`
Chris PeBenito 17de1b
	udev_read_db(ddclient_t)
Chris PeBenito 17de1b
')