|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
policy_module(rdisc,1.1.1)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
########################################
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
# Declarations
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type rdisc_t;
|
|
Chris PeBenito |
17de1b |
type rdisc_exec_t;
|
|
Chris PeBenito |
17de1b |
init_daemon_domain(rdisc_t,rdisc_exec_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
########################################
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
# Local policy
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
allow rdisc_t self:capability net_raw;
|
|
Chris PeBenito |
17de1b |
dontaudit rdisc_t self:capability sys_tty_config;
|
|
Chris PeBenito |
17de1b |
allow rdisc_t self:process signal_perms;
|
|
Chris PeBenito |
17de1b |
allow rdisc_t self:unix_stream_socket create_stream_socket_perms;
|
|
Chris PeBenito |
17de1b |
allow rdisc_t self:udp_socket create_socket_perms;
|
|
Chris PeBenito |
17de1b |
allow rdisc_t self:rawip_socket create_socket_perms;
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
kernel_list_proc(rdisc_t)
|
|
Chris PeBenito |
17de1b |
kernel_read_proc_symlinks(rdisc_t)
|
|
Chris PeBenito |
17de1b |
kernel_read_kernel_sysctls(rdisc_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
corenet_non_ipsec_sendrecv(rdisc_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_sendrecv_generic_if(rdisc_t)
|
|
Chris PeBenito |
17de1b |
corenet_raw_sendrecv_generic_if(rdisc_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_sendrecv_all_nodes(rdisc_t)
|
|
Chris PeBenito |
17de1b |
corenet_raw_sendrecv_all_nodes(rdisc_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_sendrecv_all_ports(rdisc_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
dev_read_sysfs(rdisc_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
fs_search_auto_mountpoints(rdisc_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
term_dontaudit_use_console(rdisc_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
domain_use_interactive_fds(rdisc_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
files_read_etc_files(rdisc_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
init_use_fds(rdisc_t)
|
|
Chris PeBenito |
17de1b |
init_use_script_ptys(rdisc_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
libs_use_ld_so(rdisc_t)
|
|
Chris PeBenito |
17de1b |
libs_use_shared_libs(rdisc_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
logging_send_syslog_msg(rdisc_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
sysnet_read_config(rdisc_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
userdom_dontaudit_use_unpriv_user_fds(rdisc_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
ifdef(`targeted_policy',`
|
|
Chris PeBenito |
17de1b |
term_dontaudit_use_unallocated_ttys(rdisc_t)
|
|
Chris PeBenito |
17de1b |
term_dontaudit_use_generic_ptys(rdisc_t)
|
|
Chris PeBenito |
17de1b |
files_dontaudit_read_root_files(rdisc_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
seutil_sigchld_newrole(rdisc_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
udev_read_db(rdisc_t)
|
|
Chris PeBenito |
17de1b |
')
|