Chris PeBenito fee486
policy_module(certmonger, 1.0.1)
Jeremy Solt 33793e
Jeremy Solt 33793e
########################################
Jeremy Solt 33793e
#
Jeremy Solt 33793e
# Declarations
Jeremy Solt 33793e
#
Jeremy Solt 33793e
Jeremy Solt 33793e
type certmonger_t;
Jeremy Solt 33793e
type certmonger_exec_t;
Jeremy Solt 33793e
init_daemon_domain(certmonger_t, certmonger_exec_t)
Jeremy Solt 33793e
Jeremy Solt 33793e
type certmonger_initrc_exec_t;
Jeremy Solt 33793e
init_script_file(certmonger_initrc_exec_t)
Jeremy Solt 33793e
Jeremy Solt 33793e
type certmonger_var_run_t;
Jeremy Solt 33793e
files_pid_file(certmonger_var_run_t)
Jeremy Solt 33793e
Jeremy Solt 33793e
type certmonger_var_lib_t;
Jeremy Solt 33793e
files_type(certmonger_var_lib_t)
Jeremy Solt 33793e
Jeremy Solt 33793e
########################################
Jeremy Solt 33793e
#
Jeremy Solt 33793e
# certmonger local policy
Jeremy Solt 33793e
#
Jeremy Solt 33793e
Jeremy Solt 33793e
allow certmonger_t self:capability { kill sys_nice };
Jeremy Solt 33793e
allow certmonger_t self:process { getsched setsched sigkill };
Jeremy Solt 33793e
allow certmonger_t self:fifo_file rw_file_perms;
Jeremy Solt 33793e
allow certmonger_t self:unix_stream_socket create_stream_socket_perms;
Jeremy Solt 33793e
allow certmonger_t self:tcp_socket create_stream_socket_perms;
Jeremy Solt 33793e
allow certmonger_t self:netlink_route_socket r_netlink_socket_perms;
Jeremy Solt 33793e
Chris PeBenito da5940
manage_dirs_pattern(certmonger_t, certmonger_var_lib_t, certmonger_var_lib_t)
Chris PeBenito da5940
manage_files_pattern(certmonger_t, certmonger_var_lib_t, certmonger_var_lib_t)
Dominick Grift 68ac47
files_var_lib_filetrans(certmonger_t, certmonger_var_lib_t, { file dir })
Jeremy Solt 33793e
Chris PeBenito da5940
manage_dirs_pattern(certmonger_t, certmonger_var_run_t, certmonger_var_run_t)
Chris PeBenito da5940
manage_files_pattern(certmonger_t, certmonger_var_run_t, certmonger_var_run_t)
Jeremy Solt 0e5494
files_pid_filetrans(certmonger_t, certmonger_var_run_t, { file dir })
Jeremy Solt 33793e
Jeremy Solt 33793e
corenet_tcp_sendrecv_generic_if(certmonger_t)
Jeremy Solt 33793e
corenet_tcp_sendrecv_generic_node(certmonger_t)
Jeremy Solt 33793e
corenet_tcp_sendrecv_all_ports(certmonger_t)
Jeremy Solt 33793e
corenet_tcp_connect_certmaster_port(certmonger_t)
Jeremy Solt 33793e
Jeremy Solt 33793e
dev_read_urand(certmonger_t)
Jeremy Solt 33793e
Jeremy Solt 0e5494
domain_use_interactive_fds(certmonger_t)
Jeremy Solt 0e5494
Jeremy Solt 33793e
files_read_etc_files(certmonger_t)
Jeremy Solt 33793e
files_read_usr_files(certmonger_t)
Jeremy Solt 33793e
files_list_tmp(certmonger_t)
Jeremy Solt 33793e
Jeremy Solt 33793e
logging_send_syslog_msg(certmonger_t)
Jeremy Solt 33793e
Jeremy Solt 33793e
miscfiles_read_localization(certmonger_t)
Dominick Grift 834062
miscfiles_manage_generic_cert_files(certmonger_t)
Jeremy Solt 33793e
Jeremy Solt 33793e
sysnet_dns_name_resolve(certmonger_t)
Jeremy Solt 33793e
Dan Walsh 3235a8
userdom_search_user_home_content(certmonger_t)
Dan Walsh 3235a8
Dan Walsh 3235a8
optional_policy(`
Dan Walsh 3235a8
	apache_search_config(certmonger_t)
Dan Walsh 3235a8
')
Dan Walsh 3235a8
Dan Walsh 3235a8
optional_policy(`
Dan Walsh 3235a8
	bind_search_cache(certmonger_t)
Dan Walsh 3235a8
')
Dan Walsh 3235a8
Jeremy Solt 33793e
optional_policy(`
Jeremy Solt 33793e
	dbus_system_bus_client(certmonger_t)
Jeremy Solt 33793e
	dbus_connect_system_bus(certmonger_t)
Jeremy Solt 33793e
')
Jeremy Solt 33793e
Jeremy Solt 33793e
optional_policy(`
Jeremy Solt 33793e
	kerberos_use(certmonger_t)
Jeremy Solt 33793e
')
Jeremy Solt 33793e
Jeremy Solt 33793e
optional_policy(`
Jeremy Solt c6c63f
	pcscd_stream_connect(certmonger_t)
Jeremy Solt 33793e
')
Dan Walsh 3235a8