|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
12e9ea |
policy_module(nis,1.5.1)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
########################################
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
# Declarations
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type var_yp_t;
|
|
Chris PeBenito |
17de1b |
files_type(var_yp_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type ypbind_t;
|
|
Chris PeBenito |
17de1b |
type ypbind_exec_t;
|
|
Chris PeBenito |
17de1b |
init_daemon_domain(ypbind_t,ypbind_exec_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type ypbind_tmp_t;
|
|
Chris PeBenito |
17de1b |
files_tmp_file(ypbind_tmp_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type ypbind_var_run_t;
|
|
Chris PeBenito |
17de1b |
files_pid_file(ypbind_var_run_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type yppasswdd_t;
|
|
Chris PeBenito |
17de1b |
type yppasswdd_exec_t;
|
|
Chris PeBenito |
17de1b |
init_daemon_domain(yppasswdd_t,yppasswdd_exec_t)
|
|
Chris PeBenito |
17de1b |
domain_obj_id_change_exemption(yppasswdd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type yppasswdd_var_run_t;
|
|
Chris PeBenito |
17de1b |
files_pid_file(yppasswdd_var_run_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type ypserv_t;
|
|
Chris PeBenito |
17de1b |
type ypserv_exec_t;
|
|
Chris PeBenito |
17de1b |
init_daemon_domain(ypserv_t,ypserv_exec_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type ypserv_conf_t;
|
|
Chris PeBenito |
17de1b |
files_type(ypserv_conf_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type ypserv_tmp_t;
|
|
Chris PeBenito |
17de1b |
files_tmp_file(ypserv_tmp_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type ypserv_var_run_t;
|
|
Chris PeBenito |
17de1b |
files_pid_file(ypserv_var_run_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type ypxfr_t;
|
|
Chris PeBenito |
17de1b |
type ypxfr_exec_t;
|
|
Chris PeBenito |
17de1b |
init_daemon_domain(ypxfr_t,ypxfr_exec_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
########################################
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
# ypbind local policy
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
dontaudit ypbind_t self:capability { net_admin sys_tty_config };
|
|
Chris PeBenito |
c0868a |
allow ypbind_t self:fifo_file rw_fifo_file_perms;
|
|
Chris PeBenito |
17de1b |
allow ypbind_t self:process signal_perms;
|
|
Chris PeBenito |
17de1b |
allow ypbind_t self:{ unix_dgram_socket unix_stream_socket } create_socket_perms;
|
|
Chris PeBenito |
17de1b |
allow ypbind_t self:netlink_route_socket r_netlink_socket_perms;
|
|
Chris PeBenito |
17de1b |
allow ypbind_t self:tcp_socket create_stream_socket_perms;
|
|
Chris PeBenito |
17de1b |
allow ypbind_t self:udp_socket create_socket_perms;
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
c0868a |
manage_dirs_pattern(ypbind_t,ypbind_tmp_t,ypbind_tmp_t)
|
|
Chris PeBenito |
c0868a |
manage_files_pattern(ypbind_t,ypbind_tmp_t,ypbind_tmp_t)
|
|
Chris PeBenito |
17de1b |
files_tmp_filetrans(ypbind_t, ypbind_tmp_t, { file dir })
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
c0868a |
manage_files_pattern(ypbind_t,ypbind_var_run_t,ypbind_var_run_t)
|
|
Chris PeBenito |
17de1b |
files_pid_filetrans(ypbind_t,ypbind_var_run_t,file)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
c0868a |
manage_files_pattern(ypbind_t,var_yp_t,var_yp_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
kernel_read_kernel_sysctls(ypbind_t)
|
|
Chris PeBenito |
17de1b |
kernel_list_proc(ypbind_t)
|
|
Chris PeBenito |
17de1b |
kernel_read_proc_symlinks(ypbind_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
190066 |
corenet_all_recvfrom_unlabeled(ypbind_t)
|
|
Chris PeBenito |
190066 |
corenet_all_recvfrom_netlabel(ypbind_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_sendrecv_all_if(ypbind_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_sendrecv_all_if(ypbind_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_sendrecv_all_nodes(ypbind_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_sendrecv_all_nodes(ypbind_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_sendrecv_all_ports(ypbind_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_sendrecv_all_ports(ypbind_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_bind_all_nodes(ypbind_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_bind_all_nodes(ypbind_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_bind_generic_port(ypbind_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_bind_generic_port(ypbind_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_bind_reserved_port(ypbind_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_bind_reserved_port(ypbind_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_bind_all_rpc_ports(ypbind_t)
|
|
Chris PeBenito |
465510 |
corenet_udp_bind_all_rpc_ports(ypbind_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_connect_all_ports(ypbind_t)
|
|
Chris PeBenito |
17de1b |
corenet_dontaudit_tcp_bind_all_reserved_ports(ypbind_t)
|
|
Chris PeBenito |
17de1b |
corenet_dontaudit_udp_bind_all_reserved_ports(ypbind_t)
|
|
Chris PeBenito |
17de1b |
corenet_sendrecv_all_client_packets(ypbind_t)
|
|
Chris PeBenito |
17de1b |
corenet_sendrecv_generic_server_packets(ypbind_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
dev_read_sysfs(ypbind_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
fs_getattr_all_fs(ypbind_t)
|
|
Chris PeBenito |
17de1b |
fs_search_auto_mountpoints(ypbind_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
domain_use_interactive_fds(ypbind_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
files_read_etc_files(ypbind_t)
|
|
Chris PeBenito |
17de1b |
files_list_var(ypbind_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
libs_use_ld_so(ypbind_t)
|
|
Chris PeBenito |
17de1b |
libs_use_shared_libs(ypbind_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
logging_send_syslog_msg(ypbind_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
miscfiles_read_localization(ypbind_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
sysnet_read_config(ypbind_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
userdom_dontaudit_use_unpriv_user_fds(ypbind_t)
|
|
Chris PeBenito |
17de1b |
userdom_dontaudit_search_sysadm_home_dirs(ypbind_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
seutil_sigchld_newrole(ypbind_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
udev_read_db(ypbind_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
########################################
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
# yppasswdd local policy
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
dontaudit yppasswdd_t self:capability sys_tty_config;
|
|
Chris PeBenito |
c0868a |
allow yppasswdd_t self:fifo_file rw_fifo_file_perms;
|
|
Chris PeBenito |
17de1b |
allow yppasswdd_t self:process { setfscreate signal_perms };
|
|
Chris PeBenito |
17de1b |
allow yppasswdd_t self:unix_dgram_socket create_socket_perms;
|
|
Chris PeBenito |
17de1b |
allow yppasswdd_t self:unix_stream_socket create_stream_socket_perms;
|
|
Chris PeBenito |
17de1b |
allow yppasswdd_t self:netlink_route_socket r_netlink_socket_perms;
|
|
Chris PeBenito |
17de1b |
allow yppasswdd_t self:tcp_socket create_stream_socket_perms;
|
|
Chris PeBenito |
17de1b |
allow yppasswdd_t self:udp_socket create_socket_perms;
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
c0868a |
manage_files_pattern(yppasswdd_t,yppasswdd_var_run_t,yppasswdd_var_run_t)
|
|
Chris PeBenito |
17de1b |
files_pid_filetrans(yppasswdd_t,yppasswdd_var_run_t,file)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
c0868a |
manage_files_pattern(yppasswdd_t,var_yp_t,var_yp_t)
|
|
Chris PeBenito |
c0868a |
manage_lnk_files_pattern(yppasswdd_t,var_yp_t,var_yp_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
kernel_list_proc(yppasswdd_t)
|
|
Chris PeBenito |
17de1b |
kernel_read_proc_symlinks(yppasswdd_t)
|
|
Chris PeBenito |
17de1b |
kernel_getattr_proc_files(yppasswdd_t)
|
|
Chris PeBenito |
17de1b |
kernel_read_kernel_sysctls(yppasswdd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
190066 |
corenet_all_recvfrom_unlabeled(yppasswdd_t)
|
|
Chris PeBenito |
190066 |
corenet_all_recvfrom_netlabel(yppasswdd_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_sendrecv_generic_if(yppasswdd_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_sendrecv_generic_if(yppasswdd_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_sendrecv_all_nodes(yppasswdd_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_sendrecv_all_nodes(yppasswdd_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_sendrecv_all_ports(yppasswdd_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_sendrecv_all_ports(yppasswdd_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_bind_all_nodes(yppasswdd_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_bind_all_nodes(yppasswdd_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_bind_reserved_port(yppasswdd_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_bind_reserved_port(yppasswdd_t)
|
|
Chris PeBenito |
17de1b |
corenet_dontaudit_tcp_bind_all_reserved_ports(yppasswdd_t)
|
|
Chris PeBenito |
17de1b |
corenet_dontaudit_udp_bind_all_reserved_ports(yppasswdd_t)
|
|
Chris PeBenito |
17de1b |
corenet_sendrecv_generic_server_packets(yppasswdd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
dev_read_sysfs(yppasswdd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
fs_getattr_all_fs(yppasswdd_t)
|
|
Chris PeBenito |
17de1b |
fs_search_auto_mountpoints(yppasswdd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
selinux_get_fs_mount(yppasswdd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
auth_manage_shadow(yppasswdd_t)
|
|
Chris PeBenito |
17de1b |
auth_relabel_shadow(yppasswdd_t)
|
|
Chris PeBenito |
17de1b |
auth_etc_filetrans_shadow(yppasswdd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
corecmd_exec_bin(yppasswdd_t)
|
|
Chris PeBenito |
17de1b |
corecmd_exec_shell(yppasswdd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
domain_use_interactive_fds(yppasswdd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
files_read_etc_files(yppasswdd_t)
|
|
Chris PeBenito |
17de1b |
files_read_etc_runtime_files(yppasswdd_t)
|
|
Chris PeBenito |
17de1b |
files_relabel_etc_files(yppasswdd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
libs_use_ld_so(yppasswdd_t)
|
|
Chris PeBenito |
17de1b |
libs_use_shared_libs(yppasswdd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
logging_send_syslog_msg(yppasswdd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
miscfiles_read_localization(yppasswdd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
sysnet_read_config(yppasswdd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
userdom_dontaudit_use_unpriv_user_fds(yppasswdd_t)
|
|
Chris PeBenito |
17de1b |
userdom_dontaudit_search_sysadm_home_dirs(yppasswdd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
hostname_exec(yppasswdd_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
seutil_sigchld_newrole(yppasswdd_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
udev_read_db(yppasswdd_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
########################################
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
# ypserv local policy
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
dontaudit ypserv_t self:capability sys_tty_config;
|
|
Chris PeBenito |
c0868a |
allow ypserv_t self:fifo_file rw_fifo_file_perms;
|
|
Chris PeBenito |
17de1b |
allow ypserv_t self:process signal_perms;
|
|
Chris PeBenito |
17de1b |
allow ypserv_t self:unix_dgram_socket create_socket_perms;
|
|
Chris PeBenito |
17de1b |
allow ypserv_t self:unix_stream_socket create_stream_socket_perms;
|
|
Chris PeBenito |
17de1b |
allow ypserv_t self:netlink_route_socket r_netlink_socket_perms;
|
|
Chris PeBenito |
17de1b |
allow ypserv_t self:tcp_socket connected_stream_socket_perms;
|
|
Chris PeBenito |
17de1b |
allow ypserv_t self:udp_socket create_socket_perms;
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
c0868a |
manage_files_pattern(ypserv_t,var_yp_t,var_yp_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
allow ypserv_t ypserv_conf_t:file { getattr read };
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
c0868a |
manage_dirs_pattern(ypserv_t,ypserv_tmp_t,ypserv_tmp_t)
|
|
Chris PeBenito |
c0868a |
manage_files_pattern(ypserv_t,ypserv_tmp_t,ypserv_tmp_t)
|
|
Chris PeBenito |
17de1b |
files_tmp_filetrans(ypserv_t, ypserv_tmp_t, { file dir })
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
c0868a |
manage_files_pattern(ypserv_t,ypserv_var_run_t,ypserv_var_run_t)
|
|
Chris PeBenito |
17de1b |
files_pid_filetrans(ypserv_t,ypserv_var_run_t,file)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
kernel_read_kernel_sysctls(ypserv_t)
|
|
Chris PeBenito |
17de1b |
kernel_list_proc(ypserv_t)
|
|
Chris PeBenito |
17de1b |
kernel_read_proc_symlinks(ypserv_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
190066 |
corenet_all_recvfrom_unlabeled(ypserv_t)
|
|
Chris PeBenito |
190066 |
corenet_all_recvfrom_netlabel(ypserv_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_sendrecv_all_if(ypserv_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_sendrecv_all_if(ypserv_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_sendrecv_all_nodes(ypserv_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_sendrecv_all_nodes(ypserv_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_sendrecv_all_ports(ypserv_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_sendrecv_all_ports(ypserv_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_bind_all_nodes(ypserv_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_bind_all_nodes(ypserv_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_bind_reserved_port(ypserv_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_bind_reserved_port(ypserv_t)
|
|
Chris PeBenito |
17de1b |
corenet_dontaudit_tcp_bind_all_reserved_ports(ypserv_t)
|
|
Chris PeBenito |
17de1b |
corenet_dontaudit_udp_bind_all_reserved_ports(ypserv_t)
|
|
Chris PeBenito |
17de1b |
corenet_sendrecv_generic_server_packets(ypserv_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
dev_read_sysfs(ypserv_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
fs_getattr_all_fs(ypserv_t)
|
|
Chris PeBenito |
17de1b |
fs_search_auto_mountpoints(ypserv_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
corecmd_exec_bin(ypserv_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
domain_use_interactive_fds(ypserv_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
files_read_var_files(ypserv_t)
|
|
Chris PeBenito |
6b19be |
files_read_etc_files(ypserv_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
libs_use_ld_so(ypserv_t)
|
|
Chris PeBenito |
17de1b |
libs_use_shared_libs(ypserv_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
logging_send_syslog_msg(ypserv_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
miscfiles_read_localization(ypserv_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
nis_domtrans_ypxfr(ypserv_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
sysnet_read_config(ypserv_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
userdom_dontaudit_use_unpriv_user_fds(ypserv_t)
|
|
Chris PeBenito |
17de1b |
userdom_dontaudit_search_sysadm_home_dirs(ypserv_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
seutil_sigchld_newrole(ypserv_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
udev_read_db(ypserv_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
########################################
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
# ypxfr local policy
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
allow ypxfr_t self:unix_stream_socket create_stream_socket_perms;
|
|
Chris PeBenito |
468521 |
allow ypxfr_t self:unix_dgram_socket create_stream_socket_perms;
|
|
Chris PeBenito |
468521 |
allow ypxfr_t self:tcp_socket create_stream_socket_perms;
|
|
Chris PeBenito |
6b19be |
allow ypxfr_t self:udp_socket create_socket_perms;
|
|
Chris PeBenito |
468521 |
allow ypxfr_t self:netlink_route_socket r_netlink_socket_perms;
|
|
Chris PeBenito |
6b19be |
|
|
Chris PeBenito |
6b19be |
manage_files_pattern(ypxfr_t, var_yp_t, var_yp_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
d6d16b |
allow ypxfr_t ypserv_t:tcp_socket { read write };
|
|
Chris PeBenito |
d6d16b |
allow ypxfr_t ypserv_t:udp_socket { read write };
|
|
Chris PeBenito |
d6d16b |
|
|
Chris PeBenito |
468521 |
allow ypxfr_t ypserv_conf_t:file { getattr read };
|
|
Chris PeBenito |
c0868a |
|
|
Chris PeBenito |
190066 |
corenet_all_recvfrom_unlabeled(ypxfr_t)
|
|
Chris PeBenito |
190066 |
corenet_all_recvfrom_netlabel(ypxfr_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_sendrecv_all_if(ypxfr_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_sendrecv_all_if(ypxfr_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_sendrecv_all_nodes(ypxfr_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_sendrecv_all_nodes(ypxfr_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_sendrecv_all_ports(ypxfr_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_sendrecv_all_ports(ypxfr_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_bind_all_nodes(ypxfr_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_bind_all_nodes(ypxfr_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_bind_reserved_port(ypxfr_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_bind_reserved_port(ypxfr_t)
|
|
Chris PeBenito |
17de1b |
corenet_dontaudit_tcp_bind_all_reserved_ports(ypxfr_t)
|
|
Chris PeBenito |
17de1b |
corenet_dontaudit_udp_bind_all_reserved_ports(ypxfr_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_connect_all_ports(ypxfr_t)
|
|
Chris PeBenito |
17de1b |
corenet_sendrecv_generic_server_packets(ypxfr_t)
|
|
Chris PeBenito |
17de1b |
corenet_sendrecv_all_client_packets(ypxfr_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
files_read_etc_files(ypxfr_t)
|
|
Chris PeBenito |
d6d16b |
files_search_usr(ypxfr_t)
|
|
Chris PeBenito |
d6d16b |
|
|
Chris PeBenito |
d6d16b |
libs_use_shared_libs(ypxfr_t)
|
|
Chris PeBenito |
d6d16b |
libs_use_ld_so(ypxfr_t)
|
|
Chris PeBenito |
6b19be |
|
|
Chris PeBenito |
468521 |
logging_send_syslog_msg(ypxfr_t)
|
|
Chris PeBenito |
468521 |
|
|
Chris PeBenito |
468521 |
miscfiles_read_localization(ypxfr_t)
|
|
Chris PeBenito |
468521 |
|
|
Chris PeBenito |
6b19be |
sysnet_read_config(ypxfr_t)
|