|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
9570b2 |
policy_module(monop, 1.7.0)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
########################################
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
# Declarations
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type monopd_t;
|
|
Chris PeBenito |
17de1b |
type monopd_exec_t;
|
|
Chris PeBenito |
0bfccd |
init_daemon_domain(monopd_t, monopd_exec_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type monopd_etc_t;
|
|
Chris PeBenito |
17de1b |
files_config_file(monopd_etc_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type monopd_share_t;
|
|
Chris PeBenito |
17de1b |
files_type(monopd_share_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type monopd_var_run_t;
|
|
Chris PeBenito |
17de1b |
files_pid_file(monopd_var_run_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
########################################
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
# Local policy
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
dontaudit monopd_t self:capability sys_tty_config;
|
|
Chris PeBenito |
17de1b |
allow monopd_t self:process signal_perms;
|
|
Chris PeBenito |
17de1b |
allow monopd_t self:tcp_socket create_stream_socket_perms;
|
|
Chris PeBenito |
17de1b |
allow monopd_t self:udp_socket create_socket_perms;
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
0b36a2 |
allow monopd_t monopd_etc_t:file read_file_perms;
|
|
Chris PeBenito |
17de1b |
files_search_etc(monopd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
c0868a |
allow monopd_t monopd_share_t:dir list_dir_perms;
|
|
Chris PeBenito |
0bfccd |
read_files_pattern(monopd_t, monopd_share_t, monopd_share_t)
|
|
Chris PeBenito |
0bfccd |
read_lnk_files_pattern(monopd_t, monopd_share_t, monopd_share_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
0bfccd |
manage_files_pattern(monopd_t, monopd_var_run_t, monopd_var_run_t)
|
|
Chris PeBenito |
0bfccd |
files_pid_filetrans(monopd_t, monopd_var_run_t, file)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
kernel_read_kernel_sysctls(monopd_t)
|
|
Chris PeBenito |
17de1b |
kernel_list_proc(monopd_t)
|
|
Chris PeBenito |
17de1b |
kernel_read_proc_symlinks(monopd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
190066 |
corenet_all_recvfrom_unlabeled(monopd_t)
|
|
Chris PeBenito |
190066 |
corenet_all_recvfrom_netlabel(monopd_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_sendrecv_generic_if(monopd_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_sendrecv_generic_if(monopd_t)
|
|
Chris PeBenito |
c12621 |
corenet_tcp_sendrecv_generic_node(monopd_t)
|
|
Chris PeBenito |
c12621 |
corenet_udp_sendrecv_generic_node(monopd_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_sendrecv_all_ports(monopd_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_sendrecv_all_ports(monopd_t)
|
|
Chris PeBenito |
c12621 |
corenet_tcp_bind_generic_node(monopd_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_bind_monopd_port(monopd_t)
|
|
Chris PeBenito |
17de1b |
corenet_sendrecv_monopd_server_packets(monopd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
dev_read_sysfs(monopd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
domain_use_interactive_fds(monopd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
files_read_etc_files(monopd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
fs_getattr_all_fs(monopd_t)
|
|
Chris PeBenito |
17de1b |
fs_search_auto_mountpoints(monopd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
logging_send_syslog_msg(monopd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
miscfiles_read_localization(monopd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
sysnet_read_config(monopd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
userdom_dontaudit_use_unpriv_user_fds(monopd_t)
|
|
Chris PeBenito |
296273 |
userdom_dontaudit_search_user_home_dirs(monopd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
nis_use_ypbind(monopd_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
seutil_sigchld_newrole(monopd_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
udev_read_db(monopd_t)
|
|
Chris PeBenito |
17de1b |
')
|