2010-05-24 19:32:01 +00:00
|
|
|
policy_module(nis, 1.10.0)
|
2005-06-24 19:49:46 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# Declarations
|
|
|
|
#
|
|
|
|
|
2010-04-12 20:02:45 +00:00
|
|
|
type nis_initrc_exec_t;
|
|
|
|
init_script_file(nis_initrc_exec_t)
|
|
|
|
|
2005-06-24 19:49:46 +00:00
|
|
|
type var_yp_t;
|
2005-06-29 14:26:41 +00:00
|
|
|
files_type(var_yp_t)
|
2005-06-24 19:49:46 +00:00
|
|
|
|
|
|
|
type ypbind_t;
|
|
|
|
type ypbind_exec_t;
|
2008-07-23 21:38:39 +00:00
|
|
|
init_daemon_domain(ypbind_t, ypbind_exec_t)
|
2005-06-24 19:49:46 +00:00
|
|
|
|
2010-04-09 15:52:54 +00:00
|
|
|
type ypbind_initrc_exec_t;
|
|
|
|
init_script_file(ypbind_initrc_exec_t)
|
|
|
|
|
2005-06-24 19:49:46 +00:00
|
|
|
type ypbind_tmp_t;
|
|
|
|
files_tmp_file(ypbind_tmp_t)
|
|
|
|
|
|
|
|
type ypbind_var_run_t;
|
|
|
|
files_pid_file(ypbind_var_run_t)
|
|
|
|
|
2005-11-28 16:44:51 +00:00
|
|
|
type yppasswdd_t;
|
|
|
|
type yppasswdd_exec_t;
|
2008-07-23 21:38:39 +00:00
|
|
|
init_daemon_domain(yppasswdd_t, yppasswdd_exec_t)
|
2006-02-02 21:08:12 +00:00
|
|
|
domain_obj_id_change_exemption(yppasswdd_t)
|
2005-11-28 16:44:51 +00:00
|
|
|
|
|
|
|
type yppasswdd_var_run_t;
|
|
|
|
files_pid_file(yppasswdd_var_run_t)
|
|
|
|
|
2005-06-24 19:49:46 +00:00
|
|
|
type ypserv_t;
|
|
|
|
type ypserv_exec_t;
|
2008-07-23 21:38:39 +00:00
|
|
|
init_daemon_domain(ypserv_t, ypserv_exec_t)
|
2005-06-24 19:49:46 +00:00
|
|
|
|
|
|
|
type ypserv_conf_t;
|
2005-06-29 14:26:41 +00:00
|
|
|
files_type(ypserv_conf_t)
|
2005-06-24 19:49:46 +00:00
|
|
|
|
|
|
|
type ypserv_tmp_t;
|
|
|
|
files_tmp_file(ypserv_tmp_t)
|
|
|
|
|
|
|
|
type ypserv_var_run_t;
|
|
|
|
files_pid_file(ypserv_var_run_t)
|
|
|
|
|
2006-03-23 19:19:38 +00:00
|
|
|
type ypxfr_t;
|
|
|
|
type ypxfr_exec_t;
|
2008-07-23 21:38:39 +00:00
|
|
|
init_daemon_domain(ypxfr_t, ypxfr_exec_t)
|
2006-03-23 19:19:38 +00:00
|
|
|
|
2010-04-09 15:52:54 +00:00
|
|
|
type ypxfr_var_run_t;
|
|
|
|
files_pid_file(ypxfr_var_run_t)
|
|
|
|
|
2005-06-24 19:49:46 +00:00
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# ypbind local policy
|
|
|
|
|
|
|
|
dontaudit ypbind_t self:capability { net_admin sys_tty_config };
|
2006-12-12 20:08:08 +00:00
|
|
|
allow ypbind_t self:fifo_file rw_fifo_file_perms;
|
2005-11-25 19:09:08 +00:00
|
|
|
allow ypbind_t self:process signal_perms;
|
2005-06-24 19:49:46 +00:00
|
|
|
allow ypbind_t self:{ unix_dgram_socket unix_stream_socket } create_socket_perms;
|
|
|
|
allow ypbind_t self:netlink_route_socket r_netlink_socket_perms;
|
2005-11-25 19:09:08 +00:00
|
|
|
allow ypbind_t self:tcp_socket create_stream_socket_perms;
|
|
|
|
allow ypbind_t self:udp_socket create_socket_perms;
|
2005-06-24 19:49:46 +00:00
|
|
|
|
2008-07-23 21:38:39 +00:00
|
|
|
manage_dirs_pattern(ypbind_t, ypbind_tmp_t, ypbind_tmp_t)
|
|
|
|
manage_files_pattern(ypbind_t, ypbind_tmp_t, ypbind_tmp_t)
|
2006-02-21 18:40:44 +00:00
|
|
|
files_tmp_filetrans(ypbind_t, ypbind_tmp_t, { file dir })
|
2005-06-24 19:49:46 +00:00
|
|
|
|
2008-07-23 21:38:39 +00:00
|
|
|
manage_files_pattern(ypbind_t, ypbind_var_run_t, ypbind_var_run_t)
|
|
|
|
files_pid_filetrans(ypbind_t, ypbind_var_run_t, file)
|
2005-06-24 19:49:46 +00:00
|
|
|
|
2008-07-23 21:38:39 +00:00
|
|
|
manage_files_pattern(ypbind_t, var_yp_t, var_yp_t)
|
2005-06-24 19:49:46 +00:00
|
|
|
|
2010-04-09 15:52:54 +00:00
|
|
|
kernel_read_system_state(ypbind_t)
|
2006-01-31 16:49:43 +00:00
|
|
|
kernel_read_kernel_sysctls(ypbind_t)
|
2005-06-24 19:49:46 +00:00
|
|
|
|
2007-06-27 15:23:21 +00:00
|
|
|
corenet_all_recvfrom_unlabeled(ypbind_t)
|
|
|
|
corenet_all_recvfrom_netlabel(ypbind_t)
|
2009-01-06 20:24:10 +00:00
|
|
|
corenet_tcp_sendrecv_generic_if(ypbind_t)
|
|
|
|
corenet_udp_sendrecv_generic_if(ypbind_t)
|
2009-01-09 19:48:02 +00:00
|
|
|
corenet_tcp_sendrecv_generic_node(ypbind_t)
|
|
|
|
corenet_udp_sendrecv_generic_node(ypbind_t)
|
2005-06-24 19:49:46 +00:00
|
|
|
corenet_tcp_sendrecv_all_ports(ypbind_t)
|
|
|
|
corenet_udp_sendrecv_all_ports(ypbind_t)
|
2009-01-09 19:48:02 +00:00
|
|
|
corenet_tcp_bind_generic_node(ypbind_t)
|
|
|
|
corenet_udp_bind_generic_node(ypbind_t)
|
2005-06-24 19:49:46 +00:00
|
|
|
corenet_tcp_bind_generic_port(ypbind_t)
|
|
|
|
corenet_udp_bind_generic_port(ypbind_t)
|
|
|
|
corenet_tcp_bind_reserved_port(ypbind_t)
|
|
|
|
corenet_udp_bind_reserved_port(ypbind_t)
|
2006-05-17 14:50:31 +00:00
|
|
|
corenet_tcp_bind_all_rpc_ports(ypbind_t)
|
2006-07-28 15:13:58 +00:00
|
|
|
corenet_udp_bind_all_rpc_ports(ypbind_t)
|
2005-09-12 21:40:56 +00:00
|
|
|
corenet_tcp_connect_all_ports(ypbind_t)
|
2005-06-24 19:49:46 +00:00
|
|
|
corenet_dontaudit_tcp_bind_all_reserved_ports(ypbind_t)
|
|
|
|
corenet_dontaudit_udp_bind_all_reserved_ports(ypbind_t)
|
2006-06-02 15:06:45 +00:00
|
|
|
corenet_sendrecv_all_client_packets(ypbind_t)
|
|
|
|
corenet_sendrecv_generic_server_packets(ypbind_t)
|
2005-06-24 19:49:46 +00:00
|
|
|
|
|
|
|
dev_read_sysfs(ypbind_t)
|
|
|
|
|
|
|
|
fs_getattr_all_fs(ypbind_t)
|
2005-06-27 16:30:55 +00:00
|
|
|
fs_search_auto_mountpoints(ypbind_t)
|
2005-06-24 19:49:46 +00:00
|
|
|
|
2006-02-20 21:33:25 +00:00
|
|
|
domain_use_interactive_fds(ypbind_t)
|
2005-06-24 19:49:46 +00:00
|
|
|
|
2005-06-29 14:26:41 +00:00
|
|
|
files_read_etc_files(ypbind_t)
|
2005-10-27 13:37:36 +00:00
|
|
|
files_list_var(ypbind_t)
|
2005-06-24 19:49:46 +00:00
|
|
|
|
|
|
|
logging_send_syslog_msg(ypbind_t)
|
|
|
|
|
|
|
|
miscfiles_read_localization(ypbind_t)
|
|
|
|
|
|
|
|
sysnet_read_config(ypbind_t)
|
|
|
|
|
2006-02-20 21:33:25 +00:00
|
|
|
userdom_dontaudit_use_unpriv_user_fds(ypbind_t)
|
2008-11-05 16:10:46 +00:00
|
|
|
userdom_dontaudit_search_user_home_dirs(ypbind_t)
|
2005-06-24 19:49:46 +00:00
|
|
|
|
2009-06-25 15:16:29 +00:00
|
|
|
optional_policy(`
|
|
|
|
dbus_system_bus_client(ypbind_t)
|
|
|
|
dbus_connect_system_bus(ypbind_t)
|
|
|
|
init_dbus_chat_script(ypbind_t)
|
|
|
|
|
|
|
|
optional_policy(`
|
|
|
|
networkmanager_dbus_chat(ypbind_t)
|
|
|
|
')
|
|
|
|
')
|
|
|
|
|
2006-03-24 16:13:54 +00:00
|
|
|
optional_policy(`
|
2005-06-29 14:26:41 +00:00
|
|
|
seutil_sigchld_newrole(ypbind_t)
|
2005-06-24 19:49:46 +00:00
|
|
|
')
|
|
|
|
|
2006-03-24 16:13:54 +00:00
|
|
|
optional_policy(`
|
2005-06-24 19:49:46 +00:00
|
|
|
udev_read_db(ypbind_t)
|
|
|
|
')
|
|
|
|
|
2005-11-28 16:44:51 +00:00
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# yppasswdd local policy
|
|
|
|
#
|
|
|
|
|
2009-06-25 15:16:29 +00:00
|
|
|
allow yppasswdd_t self:capability dac_override;
|
2005-11-28 16:44:51 +00:00
|
|
|
dontaudit yppasswdd_t self:capability sys_tty_config;
|
2006-12-12 20:08:08 +00:00
|
|
|
allow yppasswdd_t self:fifo_file rw_fifo_file_perms;
|
2010-04-09 15:52:54 +00:00
|
|
|
allow yppasswdd_t self:process { getsched setfscreate signal_perms };
|
2005-11-28 16:44:51 +00:00
|
|
|
allow yppasswdd_t self:unix_dgram_socket create_socket_perms;
|
|
|
|
allow yppasswdd_t self:unix_stream_socket create_stream_socket_perms;
|
|
|
|
allow yppasswdd_t self:netlink_route_socket r_netlink_socket_perms;
|
|
|
|
allow yppasswdd_t self:tcp_socket create_stream_socket_perms;
|
|
|
|
allow yppasswdd_t self:udp_socket create_socket_perms;
|
|
|
|
|
2008-07-23 21:38:39 +00:00
|
|
|
manage_files_pattern(yppasswdd_t, yppasswdd_var_run_t, yppasswdd_var_run_t)
|
|
|
|
files_pid_filetrans(yppasswdd_t, yppasswdd_var_run_t, file)
|
2005-11-28 16:44:51 +00:00
|
|
|
|
2008-07-23 21:38:39 +00:00
|
|
|
manage_files_pattern(yppasswdd_t, var_yp_t, var_yp_t)
|
|
|
|
manage_lnk_files_pattern(yppasswdd_t, var_yp_t, var_yp_t)
|
2005-11-28 16:44:51 +00:00
|
|
|
|
|
|
|
kernel_list_proc(yppasswdd_t)
|
|
|
|
kernel_read_proc_symlinks(yppasswdd_t)
|
|
|
|
kernel_getattr_proc_files(yppasswdd_t)
|
2006-01-31 16:49:43 +00:00
|
|
|
kernel_read_kernel_sysctls(yppasswdd_t)
|
2005-11-28 16:44:51 +00:00
|
|
|
|
2007-06-27 15:23:21 +00:00
|
|
|
corenet_all_recvfrom_unlabeled(yppasswdd_t)
|
|
|
|
corenet_all_recvfrom_netlabel(yppasswdd_t)
|
2005-11-28 16:44:51 +00:00
|
|
|
corenet_tcp_sendrecv_generic_if(yppasswdd_t)
|
|
|
|
corenet_udp_sendrecv_generic_if(yppasswdd_t)
|
2009-01-09 19:48:02 +00:00
|
|
|
corenet_tcp_sendrecv_generic_node(yppasswdd_t)
|
|
|
|
corenet_udp_sendrecv_generic_node(yppasswdd_t)
|
2005-11-28 16:44:51 +00:00
|
|
|
corenet_tcp_sendrecv_all_ports(yppasswdd_t)
|
|
|
|
corenet_udp_sendrecv_all_ports(yppasswdd_t)
|
2009-01-09 19:48:02 +00:00
|
|
|
corenet_tcp_bind_generic_node(yppasswdd_t)
|
|
|
|
corenet_udp_bind_generic_node(yppasswdd_t)
|
2009-06-25 15:16:29 +00:00
|
|
|
corenet_tcp_bind_all_rpc_ports(yppasswdd_t)
|
|
|
|
corenet_udp_bind_all_rpc_ports(yppasswdd_t)
|
2005-11-28 16:44:51 +00:00
|
|
|
corenet_dontaudit_tcp_bind_all_reserved_ports(yppasswdd_t)
|
|
|
|
corenet_dontaudit_udp_bind_all_reserved_ports(yppasswdd_t)
|
2006-06-02 15:06:45 +00:00
|
|
|
corenet_sendrecv_generic_server_packets(yppasswdd_t)
|
2005-11-28 16:44:51 +00:00
|
|
|
|
|
|
|
dev_read_sysfs(yppasswdd_t)
|
|
|
|
|
|
|
|
fs_getattr_all_fs(yppasswdd_t)
|
|
|
|
fs_search_auto_mountpoints(yppasswdd_t)
|
|
|
|
|
|
|
|
selinux_get_fs_mount(yppasswdd_t)
|
|
|
|
|
|
|
|
auth_manage_shadow(yppasswdd_t)
|
|
|
|
auth_relabel_shadow(yppasswdd_t)
|
2006-05-03 20:29:14 +00:00
|
|
|
auth_etc_filetrans_shadow(yppasswdd_t)
|
2005-11-28 16:44:51 +00:00
|
|
|
|
|
|
|
corecmd_exec_bin(yppasswdd_t)
|
|
|
|
corecmd_exec_shell(yppasswdd_t)
|
|
|
|
|
2006-02-20 21:33:25 +00:00
|
|
|
domain_use_interactive_fds(yppasswdd_t)
|
2005-11-28 16:44:51 +00:00
|
|
|
|
|
|
|
files_read_etc_files(yppasswdd_t)
|
|
|
|
files_read_etc_runtime_files(yppasswdd_t)
|
|
|
|
files_relabel_etc_files(yppasswdd_t)
|
|
|
|
|
|
|
|
logging_send_syslog_msg(yppasswdd_t)
|
|
|
|
|
|
|
|
miscfiles_read_localization(yppasswdd_t)
|
|
|
|
|
|
|
|
sysnet_read_config(yppasswdd_t)
|
|
|
|
|
2006-02-20 21:33:25 +00:00
|
|
|
userdom_dontaudit_use_unpriv_user_fds(yppasswdd_t)
|
2008-11-05 16:10:46 +00:00
|
|
|
userdom_dontaudit_search_user_home_dirs(yppasswdd_t)
|
2005-11-28 16:44:51 +00:00
|
|
|
|
2006-03-24 16:13:54 +00:00
|
|
|
optional_policy(`
|
2005-11-28 16:44:51 +00:00
|
|
|
hostname_exec(yppasswdd_t)
|
|
|
|
')
|
|
|
|
|
2006-03-24 16:13:54 +00:00
|
|
|
optional_policy(`
|
2008-12-03 18:33:19 +00:00
|
|
|
seutil_sigchld_newrole(yppasswdd_t)
|
2005-11-28 16:44:51 +00:00
|
|
|
')
|
|
|
|
|
2006-03-24 16:13:54 +00:00
|
|
|
optional_policy(`
|
2008-12-03 18:33:19 +00:00
|
|
|
udev_read_db(yppasswdd_t)
|
2005-11-28 16:44:51 +00:00
|
|
|
')
|
|
|
|
|
2005-06-24 19:49:46 +00:00
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# ypserv local policy
|
|
|
|
#
|
|
|
|
|
|
|
|
dontaudit ypserv_t self:capability sys_tty_config;
|
2006-12-12 20:08:08 +00:00
|
|
|
allow ypserv_t self:fifo_file rw_fifo_file_perms;
|
2005-11-25 19:09:08 +00:00
|
|
|
allow ypserv_t self:process signal_perms;
|
2005-06-24 19:49:46 +00:00
|
|
|
allow ypserv_t self:unix_dgram_socket create_socket_perms;
|
2006-03-23 19:19:38 +00:00
|
|
|
allow ypserv_t self:unix_stream_socket create_stream_socket_perms;
|
2005-06-24 19:49:46 +00:00
|
|
|
allow ypserv_t self:netlink_route_socket r_netlink_socket_perms;
|
2005-11-25 19:09:08 +00:00
|
|
|
allow ypserv_t self:tcp_socket connected_stream_socket_perms;
|
|
|
|
allow ypserv_t self:udp_socket create_socket_perms;
|
2005-06-24 19:49:46 +00:00
|
|
|
|
2009-06-26 14:40:13 +00:00
|
|
|
manage_files_pattern(ypserv_t, var_yp_t, var_yp_t)
|
2005-06-24 19:49:46 +00:00
|
|
|
|
2008-10-16 16:09:20 +00:00
|
|
|
allow ypserv_t ypserv_conf_t:file read_file_perms;
|
2005-06-24 19:49:46 +00:00
|
|
|
|
2008-07-23 21:38:39 +00:00
|
|
|
manage_dirs_pattern(ypserv_t, ypserv_tmp_t, ypserv_tmp_t)
|
|
|
|
manage_files_pattern(ypserv_t, ypserv_tmp_t, ypserv_tmp_t)
|
2006-02-21 18:40:44 +00:00
|
|
|
files_tmp_filetrans(ypserv_t, ypserv_tmp_t, { file dir })
|
2005-06-24 19:49:46 +00:00
|
|
|
|
2008-07-23 21:38:39 +00:00
|
|
|
manage_files_pattern(ypserv_t, ypserv_var_run_t, ypserv_var_run_t)
|
|
|
|
files_pid_filetrans(ypserv_t, ypserv_var_run_t, file)
|
2005-06-24 19:49:46 +00:00
|
|
|
|
2006-01-31 16:49:43 +00:00
|
|
|
kernel_read_kernel_sysctls(ypserv_t)
|
2005-07-12 20:34:24 +00:00
|
|
|
kernel_list_proc(ypserv_t)
|
|
|
|
kernel_read_proc_symlinks(ypserv_t)
|
2005-06-24 19:49:46 +00:00
|
|
|
|
2007-06-27 15:23:21 +00:00
|
|
|
corenet_all_recvfrom_unlabeled(ypserv_t)
|
|
|
|
corenet_all_recvfrom_netlabel(ypserv_t)
|
2009-01-06 20:24:10 +00:00
|
|
|
corenet_tcp_sendrecv_generic_if(ypserv_t)
|
|
|
|
corenet_udp_sendrecv_generic_if(ypserv_t)
|
2009-01-09 19:48:02 +00:00
|
|
|
corenet_tcp_sendrecv_generic_node(ypserv_t)
|
|
|
|
corenet_udp_sendrecv_generic_node(ypserv_t)
|
2005-06-24 19:49:46 +00:00
|
|
|
corenet_tcp_sendrecv_all_ports(ypserv_t)
|
2005-09-28 18:10:48 +00:00
|
|
|
corenet_udp_sendrecv_all_ports(ypserv_t)
|
2009-01-09 19:48:02 +00:00
|
|
|
corenet_tcp_bind_generic_node(ypserv_t)
|
|
|
|
corenet_udp_bind_generic_node(ypserv_t)
|
2010-04-09 15:52:54 +00:00
|
|
|
corenet_tcp_bind_reserved_port(ypserv_t)
|
|
|
|
corenet_udp_bind_reserved_port(ypserv_t)
|
2009-06-25 15:16:29 +00:00
|
|
|
corenet_tcp_bind_all_rpc_ports(ypserv_t)
|
|
|
|
corenet_udp_bind_all_rpc_ports(ypserv_t)
|
2005-06-24 19:49:46 +00:00
|
|
|
corenet_dontaudit_tcp_bind_all_reserved_ports(ypserv_t)
|
|
|
|
corenet_dontaudit_udp_bind_all_reserved_ports(ypserv_t)
|
2006-06-02 15:06:45 +00:00
|
|
|
corenet_sendrecv_generic_server_packets(ypserv_t)
|
2005-06-24 19:49:46 +00:00
|
|
|
|
|
|
|
dev_read_sysfs(ypserv_t)
|
|
|
|
|
|
|
|
fs_getattr_all_fs(ypserv_t)
|
2005-06-27 16:30:55 +00:00
|
|
|
fs_search_auto_mountpoints(ypserv_t)
|
2005-06-24 19:49:46 +00:00
|
|
|
|
2005-10-13 20:59:36 +00:00
|
|
|
corecmd_exec_bin(ypserv_t)
|
|
|
|
|
2006-02-20 21:33:25 +00:00
|
|
|
domain_use_interactive_fds(ypserv_t)
|
2005-06-24 19:49:46 +00:00
|
|
|
|
2005-10-27 13:37:36 +00:00
|
|
|
files_read_var_files(ypserv_t)
|
2007-02-16 23:01:42 +00:00
|
|
|
files_read_etc_files(ypserv_t)
|
2005-10-27 13:37:36 +00:00
|
|
|
|
2005-06-24 19:49:46 +00:00
|
|
|
logging_send_syslog_msg(ypserv_t)
|
|
|
|
|
|
|
|
miscfiles_read_localization(ypserv_t)
|
|
|
|
|
2006-03-23 19:19:38 +00:00
|
|
|
nis_domtrans_ypxfr(ypserv_t)
|
|
|
|
|
2005-06-24 19:49:46 +00:00
|
|
|
sysnet_read_config(ypserv_t)
|
|
|
|
|
2006-02-20 21:33:25 +00:00
|
|
|
userdom_dontaudit_use_unpriv_user_fds(ypserv_t)
|
2008-11-05 16:10:46 +00:00
|
|
|
userdom_dontaudit_search_user_home_dirs(ypserv_t)
|
2005-06-24 19:49:46 +00:00
|
|
|
|
2006-03-24 16:13:54 +00:00
|
|
|
optional_policy(`
|
2005-06-29 14:26:41 +00:00
|
|
|
seutil_sigchld_newrole(ypserv_t)
|
2005-06-24 19:49:46 +00:00
|
|
|
')
|
|
|
|
|
2006-03-24 16:13:54 +00:00
|
|
|
optional_policy(`
|
2005-06-24 19:49:46 +00:00
|
|
|
udev_read_db(ypserv_t)
|
|
|
|
')
|
2006-03-23 19:19:38 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# ypxfr local policy
|
|
|
|
#
|
|
|
|
|
|
|
|
allow ypxfr_t self:unix_stream_socket create_stream_socket_perms;
|
2007-02-23 19:52:52 +00:00
|
|
|
allow ypxfr_t self:unix_dgram_socket create_stream_socket_perms;
|
|
|
|
allow ypxfr_t self:tcp_socket create_stream_socket_perms;
|
2007-02-16 23:01:42 +00:00
|
|
|
allow ypxfr_t self:udp_socket create_socket_perms;
|
2007-02-23 19:52:52 +00:00
|
|
|
allow ypxfr_t self:netlink_route_socket r_netlink_socket_perms;
|
2007-02-16 23:01:42 +00:00
|
|
|
|
|
|
|
manage_files_pattern(ypxfr_t, var_yp_t, var_yp_t)
|
2006-03-23 19:19:38 +00:00
|
|
|
|
2006-12-04 20:10:56 +00:00
|
|
|
allow ypxfr_t ypserv_t:tcp_socket { read write };
|
|
|
|
allow ypxfr_t ypserv_t:udp_socket { read write };
|
|
|
|
|
2008-10-16 16:09:20 +00:00
|
|
|
allow ypxfr_t ypserv_conf_t:file read_file_perms;
|
2006-12-12 20:08:08 +00:00
|
|
|
|
2010-04-09 15:52:54 +00:00
|
|
|
manage_files_pattern(ypxfr_t, ypxfr_var_run_t, ypxfr_var_run_t)
|
|
|
|
files_pid_filetrans(ypxfr_t, ypxfr_var_run_t, file)
|
|
|
|
|
2007-06-27 15:23:21 +00:00
|
|
|
corenet_all_recvfrom_unlabeled(ypxfr_t)
|
|
|
|
corenet_all_recvfrom_netlabel(ypxfr_t)
|
2009-01-06 20:24:10 +00:00
|
|
|
corenet_tcp_sendrecv_generic_if(ypxfr_t)
|
|
|
|
corenet_udp_sendrecv_generic_if(ypxfr_t)
|
2009-01-09 19:48:02 +00:00
|
|
|
corenet_tcp_sendrecv_generic_node(ypxfr_t)
|
|
|
|
corenet_udp_sendrecv_generic_node(ypxfr_t)
|
2006-03-23 19:19:38 +00:00
|
|
|
corenet_tcp_sendrecv_all_ports(ypxfr_t)
|
|
|
|
corenet_udp_sendrecv_all_ports(ypxfr_t)
|
2009-01-09 19:48:02 +00:00
|
|
|
corenet_tcp_bind_generic_node(ypxfr_t)
|
|
|
|
corenet_udp_bind_generic_node(ypxfr_t)
|
2010-04-09 15:52:54 +00:00
|
|
|
corenet_tcp_bind_reserved_port(ypxfr_t)
|
|
|
|
corenet_udp_bind_reserved_port(ypxfr_t)
|
2009-06-25 15:16:29 +00:00
|
|
|
corenet_tcp_bind_all_rpc_ports(ypxfr_t)
|
|
|
|
corenet_udp_bind_all_rpc_ports(ypxfr_t)
|
2006-03-23 19:19:38 +00:00
|
|
|
corenet_dontaudit_tcp_bind_all_reserved_ports(ypxfr_t)
|
|
|
|
corenet_dontaudit_udp_bind_all_reserved_ports(ypxfr_t)
|
|
|
|
corenet_tcp_connect_all_ports(ypxfr_t)
|
2006-06-02 15:06:45 +00:00
|
|
|
corenet_sendrecv_generic_server_packets(ypxfr_t)
|
|
|
|
corenet_sendrecv_all_client_packets(ypxfr_t)
|
2006-03-23 19:19:38 +00:00
|
|
|
|
|
|
|
files_read_etc_files(ypxfr_t)
|
2006-12-04 20:10:56 +00:00
|
|
|
files_search_usr(ypxfr_t)
|
|
|
|
|
2007-02-23 19:52:52 +00:00
|
|
|
logging_send_syslog_msg(ypxfr_t)
|
|
|
|
|
|
|
|
miscfiles_read_localization(ypxfr_t)
|
|
|
|
|
2007-02-16 23:01:42 +00:00
|
|
|
sysnet_read_config(ypxfr_t)
|