|
Chris PeBenito |
9570b2 |
policy_module(rshd, 1.7.0)
|
|
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 |
01e9e7 |
allow rshd_t self:capability { kill 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 |
c12621 |
corenet_tcp_sendrecv_generic_node(rshd_t)
|
|
Chris PeBenito |
c12621 |
corenet_udp_sendrecv_generic_node(rshd_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_sendrecv_all_ports(rshd_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_sendrecv_all_ports(rshd_t)
|
|
Chris PeBenito |
c12621 |
corenet_tcp_bind_generic_node(rshd_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_bind_rsh_port(rshd_t)
|
|
Chris PeBenito |
01e9e7 |
corenet_tcp_bind_all_rpc_ports(rshd_t)
|
|
Chris PeBenito |
01e9e7 |
corenet_tcp_connect_all_ports(rshd_t)
|
|
Chris PeBenito |
01e9e7 |
corenet_tcp_connect_all_rpc_ports(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 |
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 |
01e9e7 |
auth_login_pgm_domain(rshd_t)
|
|
Chris PeBenito |
01e9e7 |
auth_write_login_records(rshd_t)
|
|
Chris PeBenito |
01e9e7 |
|
|
Chris PeBenito |
01e9e7 |
init_rw_utmp(rshd_t)
|
|
Chris PeBenito |
09e216 |
|
|
Chris PeBenito |
17de1b |
logging_send_syslog_msg(rshd_t)
|
|
Chris PeBenito |
01e9e7 |
logging_search_logs(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 |
296273 |
userdom_search_user_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 |
01e9e7 |
kerberos_keytab_template(rshd, rshd_t)
|
|
Chris PeBenito |
01e9e7 |
kerberos_manage_host_rcache(rshd_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
455155 |
rlogin_read_home_content(rshd_t)
|
|
Chris PeBenito |
455155 |
')
|
|
Chris PeBenito |
455155 |
|
|
Chris PeBenito |
455155 |
optional_policy(`
|
|
Chris PeBenito |
0bfccd |
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 |
01e9e7 |
unconfined_signal(rshd_t)
|
|
Chris PeBenito |
350b6a |
')
|