Chris PeBenito 17de1b
Chris PeBenito c12621
policy_module(dictd, 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 dictd_t;
Chris PeBenito 17de1b
type dictd_exec_t;
Chris PeBenito 0bfccd
init_daemon_domain(dictd_t, dictd_exec_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
type dictd_etc_t;
Chris PeBenito 17de1b
files_config_file(dictd_etc_t)
Chris PeBenito 17de1b
Chris PeBenito e87221
type dictd_initrc_exec_t;
Chris PeBenito e87221
init_script_file(dictd_initrc_exec_t)
Chris PeBenito e87221
Chris PeBenito 17de1b
type dictd_var_lib_t alias var_lib_dictd_t;
Chris PeBenito 17de1b
files_type(dictd_var_lib_t)
Chris PeBenito 17de1b
Chris PeBenito e87221
type dictd_var_run_t;
Chris PeBenito e87221
files_pid_file(dictd_var_run_t)
Chris PeBenito e87221
Chris PeBenito 17de1b
########################################
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
# Local policy
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
Chris PeBenito 17de1b
allow dictd_t self:capability { setuid setgid };
Chris PeBenito 17de1b
dontaudit dictd_t self:capability sys_tty_config;
Chris PeBenito 17de1b
allow dictd_t self:process { signal_perms setpgid };
Chris PeBenito 17de1b
allow dictd_t self:unix_stream_socket create_stream_socket_perms;
Chris PeBenito 17de1b
allow dictd_t self:tcp_socket create_stream_socket_perms;
Chris PeBenito 17de1b
allow dictd_t self:udp_socket create_socket_perms;
Chris PeBenito 17de1b
Chris PeBenito c0868a
allow dictd_t dictd_etc_t:file read_file_perms;
Chris PeBenito 17de1b
files_search_etc(dictd_t)
Chris PeBenito 17de1b
Chris PeBenito c0868a
allow dictd_t dictd_var_lib_t:dir list_dir_perms;
Chris PeBenito c0868a
allow dictd_t dictd_var_lib_t:file read_file_perms;
Chris PeBenito 17de1b
Chris PeBenito e87221
manage_files_pattern(dictd_t, dictd_var_run_t, dictd_var_run_t)
Chris PeBenito e87221
files_pid_filetrans(dictd_t, dictd_var_run_t, file)
Chris PeBenito e87221
Chris PeBenito 17de1b
kernel_read_system_state(dictd_t)
Chris PeBenito 17de1b
kernel_read_kernel_sysctls(dictd_t)
Chris PeBenito 17de1b
Chris PeBenito 190066
corenet_all_recvfrom_unlabeled(dictd_t)
Chris PeBenito 190066
corenet_all_recvfrom_netlabel(dictd_t)
Chris PeBenito 668b30
corenet_tcp_sendrecv_generic_if(dictd_t)
Chris PeBenito 668b30
corenet_raw_sendrecv_generic_if(dictd_t)
Chris PeBenito 668b30
corenet_udp_sendrecv_generic_if(dictd_t)
Chris PeBenito c12621
corenet_tcp_sendrecv_generic_node(dictd_t)
Chris PeBenito c12621
corenet_udp_sendrecv_generic_node(dictd_t)
Chris PeBenito c12621
corenet_raw_sendrecv_generic_node(dictd_t)
Chris PeBenito 17de1b
corenet_tcp_sendrecv_all_ports(dictd_t)
Chris PeBenito 17de1b
corenet_udp_sendrecv_all_ports(dictd_t)
Chris PeBenito c12621
corenet_tcp_bind_generic_node(dictd_t)
Chris PeBenito 17de1b
corenet_tcp_bind_dict_port(dictd_t)
Chris PeBenito 17de1b
corenet_sendrecv_dict_server_packets(dictd_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
dev_read_sysfs(dictd_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
fs_getattr_xattr_fs(dictd_t)
Chris PeBenito 17de1b
fs_search_auto_mountpoints(dictd_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
domain_use_interactive_fds(dictd_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
files_read_etc_files(dictd_t)
Chris PeBenito 17de1b
files_read_etc_runtime_files(dictd_t)
Chris PeBenito 17de1b
files_read_usr_files(dictd_t)
Chris PeBenito 17de1b
files_search_var_lib(dictd_t)
Chris PeBenito 17de1b
# for checking for nscd
Chris PeBenito 17de1b
files_dontaudit_search_pids(dictd_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
logging_send_syslog_msg(dictd_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
miscfiles_read_localization(dictd_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
sysnet_read_config(dictd_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
userdom_dontaudit_use_unpriv_user_fds(dictd_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
optional_policy(`
Chris PeBenito 17de1b
	nis_use_ypbind(dictd_t)
Chris PeBenito 17de1b
')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
optional_policy(`
Chris PeBenito 17de1b
	nscd_socket_use(dictd_t)
Chris PeBenito 17de1b
')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
optional_policy(`
Chris PeBenito 17de1b
	seutil_sigchld_newrole(dictd_t)
Chris PeBenito 17de1b
')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
optional_policy(`
Chris PeBenito 17de1b
	udev_read_db(dictd_t)
Chris PeBenito 17de1b
')