Chris PeBenito 17de1b
Chris PeBenito 12e9ea
policy_module(rshd,1.4.1)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
########################################
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
# Declarations
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
type rshd_t;
Chris PeBenito 17de1b
type rshd_exec_t;
Chris PeBenito 8242f5
inetd_tcp_service_domain(rshd_t, rshd_exec_t)
Chris PeBenito 17de1b
domain_subj_id_change_exemption(rshd_t)
Chris PeBenito 17de1b
domain_role_change_exemption(rshd_t)
Chris PeBenito 17de1b
role system_r types rshd_t;
Chris PeBenito 17de1b
Chris PeBenito 17de1b
########################################
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
# Local policy
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
allow rshd_t self:capability { setuid setgid fowner fsetid chown dac_override };
Chris PeBenito 17de1b
allow rshd_t self:process { signal_perms fork setsched setpgid setexec };
Chris PeBenito c0868a
allow rshd_t self:fifo_file rw_fifo_file_perms;
Chris PeBenito 17de1b
allow rshd_t self:tcp_socket create_stream_socket_perms;
Chris PeBenito 17de1b
Chris PeBenito 17de1b
kernel_read_kernel_sysctls(rshd_t)
Chris PeBenito 17de1b
Chris PeBenito 190066
corenet_all_recvfrom_unlabeled(rshd_t)
Chris PeBenito 190066
corenet_all_recvfrom_netlabel(rshd_t)
Chris PeBenito 17de1b
corenet_tcp_sendrecv_generic_if(rshd_t)
Chris PeBenito 17de1b
corenet_udp_sendrecv_generic_if(rshd_t)
Chris PeBenito 17de1b
corenet_tcp_sendrecv_all_nodes(rshd_t)
Chris PeBenito 17de1b
corenet_udp_sendrecv_all_nodes(rshd_t)
Chris PeBenito 17de1b
corenet_tcp_sendrecv_all_ports(rshd_t)
Chris PeBenito 17de1b
corenet_udp_sendrecv_all_ports(rshd_t)
Chris PeBenito 17de1b
corenet_tcp_bind_all_nodes(rshd_t)
Chris PeBenito 17de1b
corenet_tcp_bind_rsh_port(rshd_t)
Chris PeBenito 17de1b
corenet_sendrecv_rsh_server_packets(rshd_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
dev_read_urand(rshd_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
selinux_get_fs_mount(rshd_t)
Chris PeBenito 17de1b
selinux_validate_context(rshd_t)
Chris PeBenito 17de1b
selinux_compute_access_vector(rshd_t)
Chris PeBenito 17de1b
selinux_compute_create_context(rshd_t)
Chris PeBenito 17de1b
selinux_compute_relabel_context(rshd_t)
Chris PeBenito 17de1b
selinux_compute_user_contexts(rshd_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
auth_domtrans_chk_passwd(rshd_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
corecmd_read_bin_symlinks(rshd_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
files_list_home(rshd_t)
Chris PeBenito 17de1b
files_read_etc_files(rshd_t)
Chris PeBenito 17de1b
files_search_tmp(rshd_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
libs_use_ld_so(rshd_t)
Chris PeBenito 17de1b
libs_use_shared_libs(rshd_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
logging_send_syslog_msg(rshd_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
miscfiles_read_localization(rshd_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
seutil_read_config(rshd_t)
Chris PeBenito 17de1b
seutil_read_default_contexts(rshd_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
sysnet_read_config(rshd_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
userdom_search_all_users_home_content(rshd_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
tunable_policy(`use_nfs_home_dirs',`
Chris PeBenito 17de1b
	fs_read_nfs_files(rshd_t)
Chris PeBenito 17de1b
	fs_read_nfs_symlinks(rshd_t)
Chris PeBenito 17de1b
')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
tunable_policy(`use_samba_home_dirs',`
Chris PeBenito 17de1b
	fs_read_cifs_files(rshd_t)
Chris PeBenito 17de1b
	fs_read_cifs_symlinks(rshd_t)
Chris PeBenito 17de1b
')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
optional_policy(`
Chris PeBenito 17de1b
	kerberos_use(rshd_t)
Chris PeBenito 17de1b
')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
optional_policy(`
Chris PeBenito 17de1b
	nscd_socket_use(rshd_t)
Chris PeBenito 17de1b
')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
optional_policy(`
Chris PeBenito 8242f5
	tcpd_wrapped_domain(rshd_t,rshd_exec_t)
Chris PeBenito 17de1b
')
Chris PeBenito 350b6a
Chris PeBenito 350b6a
optional_policy(`
Chris PeBenito 350b6a
	unconfined_shell_domtrans(rshd_t)
Chris PeBenito 350b6a
')