|
Chris PeBenito |
f7ba4a |
|
|
Chris PeBenito |
5ea24b |
policy_module(uucp,1.1.0)
|
|
Chris PeBenito |
f7ba4a |
|
|
Chris PeBenito |
f7ba4a |
########################################
|
|
Chris PeBenito |
f7ba4a |
#
|
|
Chris PeBenito |
f7ba4a |
# Declarations
|
|
Chris PeBenito |
f7ba4a |
#
|
|
Chris PeBenito |
f7ba4a |
type uucpd_t;
|
|
Chris PeBenito |
f7ba4a |
type uucpd_exec_t;
|
|
Chris PeBenito |
f7ba4a |
inetd_tcp_service_domain(uucpd_t,uucpd_exec_t)
|
|
Chris PeBenito |
f7ba4a |
role system_r types uucpd_t;
|
|
Chris PeBenito |
f7ba4a |
|
|
Chris PeBenito |
f7ba4a |
type uucpd_tmp_t;
|
|
Chris PeBenito |
f7ba4a |
files_tmp_file(uucpd_tmp_t)
|
|
Chris PeBenito |
f7ba4a |
|
|
Chris PeBenito |
f7ba4a |
type uucpd_var_run_t;
|
|
Chris PeBenito |
f7ba4a |
files_pid_file(uucpd_var_run_t)
|
|
Chris PeBenito |
f7ba4a |
|
|
Chris PeBenito |
f7ba4a |
type uucpd_rw_t;
|
|
Chris PeBenito |
f7ba4a |
files_type(uucpd_rw_t)
|
|
Chris PeBenito |
f7ba4a |
|
|
Chris PeBenito |
f7ba4a |
type uucpd_ro_t;
|
|
Chris PeBenito |
f7ba4a |
files_type(uucpd_ro_t)
|
|
Chris PeBenito |
f7ba4a |
|
|
Chris PeBenito |
f7ba4a |
type uucpd_spool_t;
|
|
Chris PeBenito |
f7ba4a |
files_type(uucpd_spool_t)
|
|
Chris PeBenito |
f7ba4a |
|
|
Chris PeBenito |
f7ba4a |
type uucpd_log_t;
|
|
Chris PeBenito |
f7ba4a |
logging_log_file(uucpd_log_t)
|
|
Chris PeBenito |
f7ba4a |
|
|
Chris PeBenito |
f7ba4a |
########################################
|
|
Chris PeBenito |
f7ba4a |
#
|
|
Chris PeBenito |
f7ba4a |
# Local policy
|
|
Chris PeBenito |
f7ba4a |
#
|
|
Chris PeBenito |
f7ba4a |
allow uucpd_t self:capability { setuid setgid };
|
|
Chris PeBenito |
f7ba4a |
allow uucpd_t self:process signal_perms;
|
|
Chris PeBenito |
f7ba4a |
allow uucpd_t self:fifo_file rw_file_perms;
|
|
Chris PeBenito |
f7ba4a |
allow uucpd_t self:tcp_socket connected_stream_socket_perms;
|
|
Chris PeBenito |
f7ba4a |
allow uucpd_t self:udp_socket create_socket_perms;
|
|
Chris PeBenito |
f7ba4a |
allow uucpd_t self:netlink_tcpdiag_socket r_netlink_socket_perms;
|
|
Chris PeBenito |
f7ba4a |
|
|
Chris PeBenito |
f7ba4a |
allow uucpd_t uucpd_log_t:file create_file_perms;
|
|
Chris PeBenito |
f7ba4a |
allow uucpd_t uucpd_log_t:dir { rw_dir_perms setattr };
|
|
Chris PeBenito |
103fe2 |
logging_log_filetrans(uucpd_t,uucpd_log_t,{ file dir })
|
|
Chris PeBenito |
f7ba4a |
|
|
Chris PeBenito |
f7ba4a |
allow uucpd_t uucpd_ro_t:dir r_dir_perms;
|
|
Chris PeBenito |
f7ba4a |
allow uucpd_t uucpd_ro_t:file r_file_perms;
|
|
Chris PeBenito |
f7ba4a |
allow uucpd_t uucpd_ro_t:lnk_file { getattr read };
|
|
Chris PeBenito |
f7ba4a |
|
|
Chris PeBenito |
f7ba4a |
allow uucpd_t uucpd_rw_t:dir create_dir_perms;
|
|
Chris PeBenito |
f7ba4a |
allow uucpd_t uucpd_rw_t:file create_file_perms;
|
|
Chris PeBenito |
f7ba4a |
allow uucpd_t uucpd_rw_t:lnk_file create_lnk_perms;
|
|
Chris PeBenito |
f7ba4a |
|
|
Chris PeBenito |
f7ba4a |
allow uucpd_t uucpd_spool_t:dir create_dir_perms;
|
|
Chris PeBenito |
f7ba4a |
allow uucpd_t uucpd_spool_t:file create_file_perms;
|
|
Chris PeBenito |
f7ba4a |
allow uucpd_t uucpd_spool_t:lnk_file create_lnk_perms;
|
|
Chris PeBenito |
f7ba4a |
|
|
Chris PeBenito |
f7ba4a |
allow uucpd_t uucpd_tmp_t:dir create_dir_perms;
|
|
Chris PeBenito |
f7ba4a |
allow uucpd_t uucpd_tmp_t:file create_file_perms;
|
|
Chris PeBenito |
103fe2 |
files_tmp_filetrans(uucpd_t, uucpd_tmp_t, { file dir })
|
|
Chris PeBenito |
f7ba4a |
|
|
Chris PeBenito |
f7ba4a |
allow uucpd_t uucpd_var_run_t:file create_file_perms;
|
|
Chris PeBenito |
f7ba4a |
allow uucpd_t uucpd_var_run_t:dir rw_dir_perms;
|
|
Chris PeBenito |
1c1ac6 |
files_pid_filetrans(uucpd_t,uucpd_var_run_t,file)
|
|
Chris PeBenito |
f7ba4a |
|
|
Chris PeBenito |
445522 |
kernel_read_kernel_sysctls(uucpd_t)
|
|
Chris PeBenito |
f7ba4a |
kernel_read_system_state(uucpd_t)
|
|
Chris PeBenito |
f7ba4a |
kernel_read_network_state(uucpd_t)
|
|
Chris PeBenito |
f7ba4a |
|
|
Chris PeBenito |
f7ba4a |
corenet_tcp_sendrecv_all_if(uucpd_t)
|
|
Chris PeBenito |
f7ba4a |
corenet_udp_sendrecv_all_if(uucpd_t)
|
|
Chris PeBenito |
f7ba4a |
corenet_raw_sendrecv_all_if(uucpd_t)
|
|
Chris PeBenito |
f7ba4a |
corenet_tcp_sendrecv_all_nodes(uucpd_t)
|
|
Chris PeBenito |
f7ba4a |
corenet_udp_sendrecv_all_nodes(uucpd_t)
|
|
Chris PeBenito |
f7ba4a |
corenet_raw_sendrecv_all_nodes(uucpd_t)
|
|
Chris PeBenito |
f7ba4a |
corenet_tcp_sendrecv_all_ports(uucpd_t)
|
|
Chris PeBenito |
f7ba4a |
corenet_udp_sendrecv_all_ports(uucpd_t)
|
|
Chris PeBenito |
bd7037 |
corenet_non_ipsec_sendrecv(uucpd_t)
|
|
Chris PeBenito |
f7ba4a |
corenet_tcp_bind_all_nodes(uucpd_t)
|
|
Chris PeBenito |
f7ba4a |
corenet_udp_bind_all_nodes(uucpd_t)
|
|
Chris PeBenito |
f7ba4a |
|
|
Chris PeBenito |
f7ba4a |
dev_read_urand(uucpd_t)
|
|
Chris PeBenito |
f7ba4a |
|
|
Chris PeBenito |
f7ba4a |
fs_getattr_xattr_fs(uucpd_t)
|
|
Chris PeBenito |
f7ba4a |
|
|
Chris PeBenito |
f7ba4a |
corecmd_exec_sbin(uucpd_t)
|
|
Chris PeBenito |
f7ba4a |
|
|
Chris PeBenito |
f7ba4a |
files_read_etc_files(uucpd_t)
|
|
Chris PeBenito |
f7ba4a |
files_search_home(uucpd_t)
|
|
Chris PeBenito |
f7ba4a |
files_search_spool(uucpd_t)
|
|
Chris PeBenito |
f7ba4a |
|
|
Chris PeBenito |
f7ba4a |
libs_use_ld_so(uucpd_t)
|
|
Chris PeBenito |
f7ba4a |
libs_use_shared_libs(uucpd_t)
|
|
Chris PeBenito |
f7ba4a |
|
|
Chris PeBenito |
f7ba4a |
logging_send_syslog_msg(uucpd_t)
|
|
Chris PeBenito |
f7ba4a |
|
|
Chris PeBenito |
f7ba4a |
miscfiles_read_localization(uucpd_t)
|
|
Chris PeBenito |
f7ba4a |
|
|
Chris PeBenito |
f7ba4a |
sysnet_read_config(uucpd_t)
|
|
Chris PeBenito |
f7ba4a |
|
|
Chris PeBenito |
132880 |
optional_policy(`kerberos',`
|
|
Chris PeBenito |
f7ba4a |
kerberos_use(uucpd_t)
|
|
Chris PeBenito |
f7ba4a |
')
|
|
Chris PeBenito |
f7ba4a |
|
|
Chris PeBenito |
132880 |
optional_policy(`nis',`
|
|
Chris PeBenito |
f7ba4a |
nis_use_ypbind(uucpd_t)
|
|
Chris PeBenito |
f7ba4a |
')
|
|
Chris PeBenito |
f7ba4a |
|
|
Chris PeBenito |
132880 |
optional_policy(`nscd',`
|
|
Chris PeBenito |
1815ba |
nscd_socket_use(uucpd_t)
|
|
Chris PeBenito |
f7ba4a |
')
|