|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
29af4c |
policy_module(uucp, 1.11.0)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
########################################
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
# Declarations
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
type uucpd_t;
|
|
Chris PeBenito |
17de1b |
type uucpd_exec_t;
|
|
Chris PeBenito |
0bfccd |
inetd_tcp_service_domain(uucpd_t, uucpd_exec_t)
|
|
Chris PeBenito |
17de1b |
role system_r types uucpd_t;
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
8f800d |
type uucpd_lock_t;
|
|
Chris PeBenito |
8f800d |
files_lock_file(uucpd_lock_t)
|
|
Chris PeBenito |
8f800d |
|
|
Chris PeBenito |
17de1b |
type uucpd_tmp_t;
|
|
Chris PeBenito |
17de1b |
files_tmp_file(uucpd_tmp_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type uucpd_var_run_t;
|
|
Chris PeBenito |
17de1b |
files_pid_file(uucpd_var_run_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type uucpd_rw_t;
|
|
Chris PeBenito |
17de1b |
files_type(uucpd_rw_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type uucpd_ro_t;
|
|
Chris PeBenito |
17de1b |
files_type(uucpd_ro_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type uucpd_spool_t;
|
|
Chris PeBenito |
17de1b |
files_type(uucpd_spool_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type uucpd_log_t;
|
|
Chris PeBenito |
17de1b |
logging_log_file(uucpd_log_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
d6d16b |
type uux_t;
|
|
Chris PeBenito |
d6d16b |
type uux_exec_t;
|
|
Chris PeBenito |
0bfccd |
application_domain(uux_t, uux_exec_t)
|
|
Chris PeBenito |
d6d16b |
role system_r types uux_t;
|
|
Chris PeBenito |
d6d16b |
|
|
Chris PeBenito |
17de1b |
########################################
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
d6d16b |
# UUCPd Local policy
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
allow uucpd_t self:capability { setuid setgid };
|
|
Chris PeBenito |
17de1b |
allow uucpd_t self:process signal_perms;
|
|
Chris PeBenito |
c0868a |
allow uucpd_t self:fifo_file rw_fifo_file_perms;
|
|
Chris PeBenito |
17de1b |
allow uucpd_t self:tcp_socket connected_stream_socket_perms;
|
|
Chris PeBenito |
17de1b |
allow uucpd_t self:udp_socket create_socket_perms;
|
|
Chris PeBenito |
17de1b |
allow uucpd_t self:netlink_tcpdiag_socket r_netlink_socket_perms;
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
c0868a |
allow uucpd_t uucpd_log_t:dir setattr;
|
|
Chris PeBenito |
0bfccd |
manage_files_pattern(uucpd_t, uucpd_log_t, uucpd_log_t)
|
|
Chris PeBenito |
0bfccd |
logging_log_filetrans(uucpd_t, uucpd_log_t, { file dir })
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
c0868a |
allow uucpd_t uucpd_ro_t:dir list_dir_perms;
|
|
Chris PeBenito |
0bfccd |
read_files_pattern(uucpd_t, uucpd_ro_t, uucpd_ro_t)
|
|
Chris PeBenito |
0bfccd |
read_lnk_files_pattern(uucpd_t, uucpd_ro_t, uucpd_ro_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
0bfccd |
manage_dirs_pattern(uucpd_t, uucpd_rw_t, uucpd_rw_t)
|
|
Chris PeBenito |
0bfccd |
manage_files_pattern(uucpd_t, uucpd_rw_t, uucpd_rw_t)
|
|
Chris PeBenito |
0bfccd |
manage_lnk_files_pattern(uucpd_t, uucpd_rw_t, uucpd_rw_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
d6d16b |
uucp_manage_spool(uucpd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
8f800d |
manage_dirs_pattern(uucpd_t, uucpd_lock_t, uucpd_lock_t)
|
|
Chris PeBenito |
8f800d |
manage_files_pattern(uucpd_t, uucpd_lock_t, uucpd_lock_t)
|
|
Chris PeBenito |
8f800d |
files_search_locks(uucpd_t)
|
|
Chris PeBenito |
8f800d |
|
|
Chris PeBenito |
0bfccd |
manage_dirs_pattern(uucpd_t, uucpd_tmp_t, uucpd_tmp_t)
|
|
Chris PeBenito |
0bfccd |
manage_files_pattern(uucpd_t, uucpd_tmp_t, uucpd_tmp_t)
|
|
Chris PeBenito |
17de1b |
files_tmp_filetrans(uucpd_t, uucpd_tmp_t, { file dir })
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
0bfccd |
manage_files_pattern(uucpd_t, uucpd_var_run_t, uucpd_var_run_t)
|
|
Chris PeBenito |
0bfccd |
files_pid_filetrans(uucpd_t, uucpd_var_run_t, file)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
kernel_read_kernel_sysctls(uucpd_t)
|
|
Chris PeBenito |
17de1b |
kernel_read_system_state(uucpd_t)
|
|
Chris PeBenito |
17de1b |
kernel_read_network_state(uucpd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
190066 |
corenet_all_recvfrom_unlabeled(uucpd_t)
|
|
Chris PeBenito |
190066 |
corenet_all_recvfrom_netlabel(uucpd_t)
|
|
Chris PeBenito |
668b30 |
corenet_tcp_sendrecv_generic_if(uucpd_t)
|
|
Chris PeBenito |
668b30 |
corenet_udp_sendrecv_generic_if(uucpd_t)
|
|
Chris PeBenito |
c12621 |
corenet_tcp_sendrecv_generic_node(uucpd_t)
|
|
Chris PeBenito |
c12621 |
corenet_udp_sendrecv_generic_node(uucpd_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_sendrecv_all_ports(uucpd_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_sendrecv_all_ports(uucpd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
dev_read_urand(uucpd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
fs_getattr_xattr_fs(uucpd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
8021cb |
corecmd_exec_bin(uucpd_t)
|
|
Chris PeBenito |
788ba7 |
corecmd_exec_shell(uucpd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
files_read_etc_files(uucpd_t)
|
|
Chris PeBenito |
17de1b |
files_search_home(uucpd_t)
|
|
Chris PeBenito |
17de1b |
files_search_spool(uucpd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
fee5bb |
term_setattr_controlling_term(uucpd_t)
|
|
Chris PeBenito |
fee5bb |
|
|
Chris PeBenito |
c0cf6e |
auth_use_nsswitch(uucpd_t)
|
|
Chris PeBenito |
c0cf6e |
|
|
Chris PeBenito |
17de1b |
logging_send_syslog_msg(uucpd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
miscfiles_read_localization(uucpd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
788ba7 |
mta_send_mail(uucpd_t)
|
|
Chris PeBenito |
788ba7 |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
fee5bb |
cron_system_entry(uucpd_t, uucpd_exec_t)
|
|
Chris PeBenito |
fee5bb |
')
|
|
Chris PeBenito |
fee5bb |
|
|
Chris PeBenito |
fee5bb |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
kerberos_use(uucpd_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
d6d16b |
########################################
|
|
Chris PeBenito |
d6d16b |
#
|
|
Chris PeBenito |
d6d16b |
# UUX Local policy
|
|
Chris PeBenito |
d6d16b |
#
|
|
Chris PeBenito |
d6d16b |
|
|
Chris PeBenito |
d6d16b |
allow uux_t self:capability { setuid setgid };
|
|
Chris PeBenito |
0b36a2 |
allow uux_t self:fifo_file write_file_perms;
|
|
Chris PeBenito |
d6d16b |
|
|
Chris PeBenito |
d6d16b |
uucp_append_log(uux_t)
|
|
Chris PeBenito |
d6d16b |
uucp_manage_spool(uux_t)
|
|
Chris PeBenito |
d6d16b |
|
|
Chris PeBenito |
8021cb |
corecmd_exec_bin(uux_t)
|
|
Chris PeBenito |
d6d16b |
|
|
Chris PeBenito |
d6d16b |
files_read_etc_files(uux_t)
|
|
Chris PeBenito |
d6d16b |
|
|
Chris PeBenito |
e87221 |
fs_rw_anon_inodefs_files(uux_t)
|
|
Chris PeBenito |
e87221 |
|
|
Chris PeBenito |
d6d16b |
logging_send_syslog_msg(uux_t)
|
|
Chris PeBenito |
d6d16b |
|
|
Chris PeBenito |
d6d16b |
miscfiles_read_localization(uux_t)
|
|
Chris PeBenito |
d6d16b |
|
|
Chris PeBenito |
d6d16b |
optional_policy(`
|
|
Chris PeBenito |
d6d16b |
mta_send_mail(uux_t)
|
|
Chris PeBenito |
9ff89c |
mta_read_queue(uux_t)
|
|
Chris PeBenito |
fee5bb |
sendmail_dontaudit_rw_unix_stream_sockets(uux_t)
|
|
Chris PeBenito |
d6d16b |
')
|
|
Chris PeBenito |
d6d16b |
|
|
Chris PeBenito |
d6d16b |
optional_policy(`
|
|
Chris PeBenito |
d6d16b |
nscd_socket_use(uux_t)
|
|
Chris PeBenito |
d6d16b |
')
|