|
Chris PeBenito |
9570b2 |
policy_module(rwho, 1.6.0)
|
|
Chris PeBenito |
6a2975 |
|
|
Chris PeBenito |
6a2975 |
########################################
|
|
Chris PeBenito |
6a2975 |
#
|
|
Chris PeBenito |
6a2975 |
# Declarations
|
|
Chris PeBenito |
6a2975 |
#
|
|
Chris PeBenito |
6a2975 |
|
|
Chris PeBenito |
6a2975 |
type rwho_t;
|
|
Chris PeBenito |
6a2975 |
type rwho_exec_t;
|
|
Chris PeBenito |
6a2975 |
init_daemon_domain(rwho_t, rwho_exec_t)
|
|
Chris PeBenito |
6a2975 |
|
|
Chris PeBenito |
e87221 |
type rwho_initrc_exec_t;
|
|
Chris PeBenito |
e87221 |
init_script_file(rwho_initrc_exec_t)
|
|
Chris PeBenito |
e87221 |
|
|
Chris PeBenito |
72f82c |
type rwho_log_t;
|
|
Chris PeBenito |
72f82c |
files_type(rwho_log_t)
|
|
Chris PeBenito |
72f82c |
|
|
Chris PeBenito |
6a2975 |
type rwho_spool_t;
|
|
Chris PeBenito |
6a2975 |
files_type(rwho_spool_t)
|
|
Chris PeBenito |
6a2975 |
|
|
Chris PeBenito |
6a2975 |
########################################
|
|
Chris PeBenito |
6a2975 |
#
|
|
Chris PeBenito |
6a2975 |
# rwho local policy
|
|
Chris PeBenito |
6a2975 |
#
|
|
Chris PeBenito |
6a2975 |
|
|
Chris PeBenito |
6a2975 |
allow rwho_t self:capability sys_chroot;
|
|
Chris PeBenito |
6a2975 |
allow rwho_t self:unix_dgram_socket create;
|
|
Chris PeBenito |
6a2975 |
allow rwho_t self:fifo_file rw_file_perms;
|
|
Chris PeBenito |
6a2975 |
allow rwho_t self:unix_stream_socket create_stream_socket_perms;
|
|
Chris PeBenito |
6a2975 |
allow rwho_t self:udp_socket create_socket_perms;
|
|
Chris PeBenito |
6a2975 |
|
|
Chris PeBenito |
72f82c |
allow rwho_t rwho_log_t:dir manage_dir_perms;
|
|
Chris PeBenito |
72f82c |
allow rwho_t rwho_log_t:file manage_file_perms;
|
|
Chris PeBenito |
72f82c |
logging_log_filetrans(rwho_t, rwho_log_t, { file dir })
|
|
Chris PeBenito |
72f82c |
|
|
Chris PeBenito |
6a2975 |
allow rwho_t rwho_spool_t:dir manage_dir_perms;
|
|
Chris PeBenito |
6a2975 |
allow rwho_t rwho_spool_t:file manage_file_perms;
|
|
Chris PeBenito |
0bfccd |
files_spool_filetrans(rwho_t, rwho_spool_t, { file dir })
|
|
Chris PeBenito |
6a2975 |
|
|
Chris PeBenito |
6a2975 |
kernel_read_system_state(rwho_t)
|
|
Chris PeBenito |
6a2975 |
|
|
Chris PeBenito |
190066 |
corenet_all_recvfrom_unlabeled(rwho_t)
|
|
Chris PeBenito |
190066 |
corenet_all_recvfrom_netlabel(rwho_t)
|
|
Chris PeBenito |
668b30 |
corenet_udp_sendrecv_generic_if(rwho_t)
|
|
Chris PeBenito |
c12621 |
corenet_udp_sendrecv_generic_node(rwho_t)
|
|
Chris PeBenito |
6a2975 |
corenet_udp_sendrecv_all_ports(rwho_t)
|
|
Chris PeBenito |
c12621 |
corenet_udp_bind_generic_node(rwho_t)
|
|
Chris PeBenito |
6a2975 |
corenet_udp_bind_rwho_port(rwho_t)
|
|
Chris PeBenito |
6a2975 |
corenet_sendrecv_rwho_server_packets(rwho_t)
|
|
Chris PeBenito |
6a2975 |
|
|
Chris PeBenito |
6a2975 |
domain_use_interactive_fds(rwho_t)
|
|
Chris PeBenito |
6a2975 |
|
|
Chris PeBenito |
6a2975 |
files_read_etc_files(rwho_t)
|
|
Chris PeBenito |
6a2975 |
|
|
Chris PeBenito |
6a2975 |
init_read_utmp(rwho_t)
|
|
Chris PeBenito |
6a2975 |
init_dontaudit_write_utmp(rwho_t)
|
|
Chris PeBenito |
6a2975 |
|
|
Dan Walsh |
f5b49a |
logging_send_syslog_msg(rwho_t)
|
|
Dan Walsh |
f5b49a |
|
|
Chris PeBenito |
6a2975 |
miscfiles_read_localization(rwho_t)
|
|
Chris PeBenito |
6a2975 |
|
|
Chris PeBenito |
6a2975 |
sysnet_dns_name_resolve(rwho_t)
|
|
Dan Walsh |
f5b49a |
|