|
Chris PeBenito |
29af4c |
policy_module(dcc, 1.9.0)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
########################################
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
# Declarations
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type cdcc_t;
|
|
Chris PeBenito |
17de1b |
type cdcc_exec_t;
|
|
Chris PeBenito |
0bfccd |
application_domain(cdcc_t, cdcc_exec_t)
|
|
Chris PeBenito |
17de1b |
role system_r types cdcc_t;
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type cdcc_tmp_t;
|
|
Chris PeBenito |
17de1b |
files_tmp_file(cdcc_tmp_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type dcc_client_t;
|
|
Chris PeBenito |
17de1b |
type dcc_client_exec_t;
|
|
Chris PeBenito |
0bfccd |
application_domain(dcc_client_t, dcc_client_exec_t)
|
|
Chris PeBenito |
17de1b |
role system_r types dcc_client_t;
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type dcc_client_map_t;
|
|
Chris PeBenito |
17de1b |
files_type(dcc_client_map_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type dcc_client_tmp_t;
|
|
Chris PeBenito |
17de1b |
files_tmp_file(dcc_client_tmp_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type dcc_dbclean_t;
|
|
Chris PeBenito |
17de1b |
type dcc_dbclean_exec_t;
|
|
Chris PeBenito |
0bfccd |
application_domain(dcc_dbclean_t, dcc_dbclean_exec_t)
|
|
Chris PeBenito |
17de1b |
role system_r types dcc_dbclean_t;
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type dcc_dbclean_tmp_t;
|
|
Chris PeBenito |
17de1b |
files_tmp_file(dcc_dbclean_tmp_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type dcc_var_t;
|
|
Chris PeBenito |
17de1b |
files_type(dcc_var_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type dcc_var_run_t;
|
|
Chris PeBenito |
17de1b |
files_type(dcc_var_run_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type dccd_t;
|
|
Chris PeBenito |
17de1b |
type dccd_exec_t;
|
|
Chris PeBenito |
0bfccd |
init_daemon_domain(dccd_t, dccd_exec_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type dccd_tmp_t;
|
|
Chris PeBenito |
17de1b |
files_tmp_file(dccd_tmp_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type dccd_var_run_t;
|
|
Chris PeBenito |
17de1b |
files_pid_file(dccd_var_run_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type dccifd_t;
|
|
Chris PeBenito |
17de1b |
type dccifd_exec_t;
|
|
Chris PeBenito |
0bfccd |
init_daemon_domain(dccifd_t, dccifd_exec_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type dccifd_tmp_t;
|
|
Chris PeBenito |
17de1b |
files_tmp_file(dccifd_tmp_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type dccifd_var_run_t;
|
|
Chris PeBenito |
17de1b |
files_pid_file(dccifd_var_run_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type dccm_t;
|
|
Chris PeBenito |
17de1b |
type dccm_exec_t;
|
|
Chris PeBenito |
0bfccd |
init_daemon_domain(dccm_t, dccm_exec_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type dccm_tmp_t;
|
|
Chris PeBenito |
17de1b |
files_tmp_file(dccm_tmp_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type dccm_var_run_t;
|
|
Chris PeBenito |
17de1b |
files_pid_file(dccm_var_run_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
# NOTE: DCC has writeable files in /etc/dcc that should probably be in
|
|
Chris PeBenito |
17de1b |
# /var/lib/dcc. For now this policy supports both directories being
|
|
Chris PeBenito |
17de1b |
# writable.
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
# cjp: dccifd and dccm should be merged, as
|
|
Chris PeBenito |
17de1b |
# they have the same rules.
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
########################################
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
# dcc daemon controller local policy
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
|
|
Jeremy Solt |
c586c1 |
allow cdcc_t self:capability { setuid setgid };
|
|
Chris PeBenito |
17de1b |
allow cdcc_t self:unix_dgram_socket create_socket_perms;
|
|
Chris PeBenito |
17de1b |
allow cdcc_t self:udp_socket create_socket_perms;
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
0bfccd |
manage_dirs_pattern(cdcc_t, cdcc_tmp_t, cdcc_tmp_t)
|
|
Chris PeBenito |
0bfccd |
manage_files_pattern(cdcc_t, cdcc_tmp_t, cdcc_tmp_t)
|
|
Chris PeBenito |
17de1b |
files_tmp_filetrans(cdcc_t, cdcc_tmp_t, { file dir })
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
allow cdcc_t dcc_client_map_t:file rw_file_perms;
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
# Access files in /var/dcc. The map file can be updated
|
|
Chris PeBenito |
c0868a |
allow cdcc_t dcc_var_t:dir list_dir_perms;
|
|
Chris PeBenito |
0bfccd |
read_files_pattern(cdcc_t, dcc_var_t, dcc_var_t)
|
|
Chris PeBenito |
0bfccd |
read_lnk_files_pattern(cdcc_t, dcc_var_t, dcc_var_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
190066 |
corenet_all_recvfrom_unlabeled(cdcc_t)
|
|
Chris PeBenito |
190066 |
corenet_all_recvfrom_netlabel(cdcc_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_sendrecv_generic_if(cdcc_t)
|
|
Chris PeBenito |
c12621 |
corenet_udp_sendrecv_generic_node(cdcc_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_sendrecv_all_ports(cdcc_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
files_read_etc_files(cdcc_t)
|
|
Chris PeBenito |
17de1b |
files_read_etc_runtime_files(cdcc_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
fcee22 |
auth_use_nsswitch(cdcc_t)
|
|
Chris PeBenito |
fcee22 |
|
|
Chris PeBenito |
17de1b |
logging_send_syslog_msg(cdcc_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
miscfiles_read_localization(cdcc_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
296273 |
userdom_use_user_terminals(cdcc_t)
|
|
Chris PeBenito |
296273 |
|
|
Chris PeBenito |
17de1b |
########################################
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
# dcc procmail interface local policy
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
fcee22 |
allow dcc_client_t self:capability { setuid setgid };
|
|
Chris PeBenito |
17de1b |
allow dcc_client_t self:unix_dgram_socket create_socket_perms;
|
|
Chris PeBenito |
17de1b |
allow dcc_client_t self:udp_socket create_socket_perms;
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
allow dcc_client_t dcc_client_map_t:file rw_file_perms;
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
0bfccd |
manage_dirs_pattern(dcc_client_t, dcc_client_tmp_t, dcc_client_tmp_t)
|
|
Chris PeBenito |
0bfccd |
manage_files_pattern(dcc_client_t, dcc_client_tmp_t, dcc_client_tmp_t)
|
|
Chris PeBenito |
17de1b |
files_tmp_filetrans(dcc_client_t, dcc_client_tmp_t, { file dir })
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
# Access files in /var/dcc. The map file can be updated
|
|
Chris PeBenito |
c0868a |
allow dcc_client_t dcc_var_t:dir list_dir_perms;
|
|
Chris PeBenito |
dcabb1 |
manage_files_pattern(dcc_client_t, dcc_var_t, dcc_var_t)
|
|
Chris PeBenito |
0bfccd |
read_lnk_files_pattern(dcc_client_t, dcc_var_t, dcc_var_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
fcee22 |
kernel_read_system_state(dcc_client_t)
|
|
Chris PeBenito |
fcee22 |
|
|
Chris PeBenito |
190066 |
corenet_all_recvfrom_unlabeled(dcc_client_t)
|
|
Chris PeBenito |
190066 |
corenet_all_recvfrom_netlabel(dcc_client_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_sendrecv_generic_if(dcc_client_t)
|
|
Chris PeBenito |
c12621 |
corenet_udp_sendrecv_generic_node(dcc_client_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_sendrecv_all_ports(dcc_client_t)
|
|
Chris PeBenito |
80348b |
corenet_udp_bind_generic_node(dcc_client_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
files_read_etc_files(dcc_client_t)
|
|
Chris PeBenito |
17de1b |
files_read_etc_runtime_files(dcc_client_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
dcabb1 |
fs_getattr_all_fs(dcc_client_t)
|
|
Chris PeBenito |
dcabb1 |
|
|
Chris PeBenito |
fcee22 |
auth_use_nsswitch(dcc_client_t)
|
|
Chris PeBenito |
fcee22 |
|
|
Chris PeBenito |
17de1b |
logging_send_syslog_msg(dcc_client_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
miscfiles_read_localization(dcc_client_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
296273 |
userdom_use_user_terminals(dcc_client_t)
|
|
Chris PeBenito |
296273 |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
dcabb1 |
amavis_read_spool_files(dcc_client_t)
|
|
Chris PeBenito |
dcabb1 |
')
|
|
Chris PeBenito |
dcabb1 |
|
|
Chris PeBenito |
dcabb1 |
optional_policy(`
|
|
Chris PeBenito |
fcee22 |
spamassassin_read_spamd_tmp_files(dcc_client_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
########################################
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
# Database cleanup tool local policy
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
allow dcc_dbclean_t self:unix_dgram_socket create_socket_perms;
|
|
Chris PeBenito |
17de1b |
allow dcc_dbclean_t self:udp_socket create_socket_perms;
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
allow dcc_dbclean_t dcc_client_map_t:file rw_file_perms;
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
0bfccd |
manage_dirs_pattern(dcc_dbclean_t, dcc_dbclean_tmp_t, dcc_dbclean_tmp_t)
|
|
Chris PeBenito |
0bfccd |
manage_files_pattern(dcc_dbclean_t, dcc_dbclean_tmp_t, dcc_dbclean_tmp_t)
|
|
Chris PeBenito |
17de1b |
files_tmp_filetrans(dcc_dbclean_t, dcc_dbclean_tmp_t, { file dir })
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
0bfccd |
manage_dirs_pattern(dcc_dbclean_t, dcc_var_t, dcc_var_t)
|
|
Chris PeBenito |
0bfccd |
manage_files_pattern(dcc_dbclean_t, dcc_var_t, dcc_var_t)
|
|
Chris PeBenito |
0bfccd |
manage_lnk_files_pattern(dcc_dbclean_t, dcc_var_t, dcc_var_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
kernel_read_system_state(dcc_dbclean_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
190066 |
corenet_all_recvfrom_unlabeled(dcc_dbclean_t)
|
|
Chris PeBenito |
190066 |
corenet_all_recvfrom_netlabel(dcc_dbclean_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_sendrecv_generic_if(dcc_dbclean_t)
|
|
Chris PeBenito |
c12621 |
corenet_udp_sendrecv_generic_node(dcc_dbclean_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_sendrecv_all_ports(dcc_dbclean_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
files_read_etc_files(dcc_dbclean_t)
|
|
Chris PeBenito |
17de1b |
files_read_etc_runtime_files(dcc_dbclean_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
fcee22 |
auth_use_nsswitch(dcc_dbclean_t)
|
|
Chris PeBenito |
fcee22 |
|
|
Chris PeBenito |
17de1b |
logging_send_syslog_msg(dcc_dbclean_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
miscfiles_read_localization(dcc_dbclean_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
296273 |
userdom_use_user_terminals(dcc_dbclean_t)
|
|
Chris PeBenito |
296273 |
|
|
Chris PeBenito |
17de1b |
########################################
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
# Server daemon local policy
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
allow dccd_t self:capability net_admin;
|
|
Chris PeBenito |
17de1b |
dontaudit dccd_t self:capability sys_tty_config;
|
|
Chris PeBenito |
17de1b |
allow dccd_t self:process signal_perms;
|
|
Chris PeBenito |
17de1b |
allow dccd_t self:unix_stream_socket create_socket_perms;
|
|
Chris PeBenito |
17de1b |
allow dccd_t self:netlink_route_socket { bind create getattr nlmsg_read read write };
|
|
Chris PeBenito |
17de1b |
allow dccd_t self:udp_socket create_socket_perms;
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
allow dccd_t dcc_client_map_t:file rw_file_perms;
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
# Access files in /var/dcc. The map file can be updated
|
|
Chris PeBenito |
c0868a |
allow dccd_t dcc_var_t:dir list_dir_perms;
|
|
Chris PeBenito |
0bfccd |
read_files_pattern(dccd_t, dcc_var_t, dcc_var_t)
|
|
Chris PeBenito |
0bfccd |
read_lnk_files_pattern(dccd_t, dcc_var_t, dcc_var_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
# Runs the dbclean program
|
|
Chris PeBenito |
c0868a |
domtrans_pattern(dccd_t, dcc_dbclean_exec_t, dcc_dbclean_t)
|
|
Chris PeBenito |
17de1b |
corecmd_search_bin(dccd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
# Updating dcc_db, flod, ...
|
|
Chris PeBenito |
0bfccd |
manage_dirs_pattern(dccd_t, dcc_var_t, dcc_var_t)
|
|
Chris PeBenito |
0bfccd |
manage_files_pattern(dccd_t, dcc_var_t, dcc_var_t)
|
|
Chris PeBenito |
0bfccd |
manage_lnk_files_pattern(dccd_t, dcc_var_t, dcc_var_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
0bfccd |
manage_dirs_pattern(dccd_t, dccd_tmp_t, dccd_tmp_t)
|
|
Chris PeBenito |
0bfccd |
manage_files_pattern(dccd_t, dccd_tmp_t, dccd_tmp_t)
|
|
Chris PeBenito |
17de1b |
files_tmp_filetrans(dccd_t, dccd_tmp_t, { file dir })
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
0bfccd |
manage_files_pattern(dccd_t, dccd_var_run_t, dccd_var_run_t)
|
|
Chris PeBenito |
0bfccd |
files_pid_filetrans(dccd_t, dccd_var_run_t, file)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
kernel_read_system_state(dccd_t)
|
|
Chris PeBenito |
17de1b |
kernel_read_kernel_sysctls(dccd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
190066 |
corenet_all_recvfrom_unlabeled(dccd_t)
|
|
Chris PeBenito |
190066 |
corenet_all_recvfrom_netlabel(dccd_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_sendrecv_generic_if(dccd_t)
|
|
Chris PeBenito |
c12621 |
corenet_udp_sendrecv_generic_node(dccd_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_sendrecv_all_ports(dccd_t)
|
|
Chris PeBenito |
c12621 |
corenet_udp_bind_generic_node(dccd_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_bind_dcc_port(dccd_t)
|
|
Chris PeBenito |
17de1b |
corenet_sendrecv_dcc_server_packets(dccd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
dev_read_sysfs(dccd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
domain_use_interactive_fds(dccd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
files_read_etc_files(dccd_t)
|
|
Chris PeBenito |
17de1b |
files_read_etc_runtime_files(dccd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
fs_getattr_all_fs(dccd_t)
|
|
Chris PeBenito |
17de1b |
fs_search_auto_mountpoints(dccd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
fcee22 |
auth_use_nsswitch(dccd_t)
|
|
Chris PeBenito |
fcee22 |
|
|
Chris PeBenito |
17de1b |
logging_send_syslog_msg(dccd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
miscfiles_read_localization(dccd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
userdom_dontaudit_use_unpriv_user_fds(dccd_t)
|
|
Chris PeBenito |
296273 |
userdom_dontaudit_search_user_home_dirs(dccd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
seutil_sigchld_newrole(dccd_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
udev_read_db(dccd_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
########################################
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
# Spamassassin and general MTA persistent client local policy
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
dontaudit dccifd_t self:capability sys_tty_config;
|
|
Chris PeBenito |
17de1b |
allow dccifd_t self:process signal_perms;
|
|
Chris PeBenito |
17de1b |
allow dccifd_t self:unix_stream_socket create_stream_socket_perms;
|
|
Chris PeBenito |
17de1b |
allow dccifd_t self:unix_dgram_socket create_socket_perms;
|
|
Chris PeBenito |
17de1b |
allow dccifd_t self:udp_socket create_socket_perms;
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
allow dccifd_t dcc_client_map_t:file rw_file_perms;
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
# Updating dcc_db, flod, ...
|
|
Chris PeBenito |
0bfccd |
manage_dirs_pattern(dccifd_t, dcc_var_t, dcc_var_t)
|
|
Chris PeBenito |
0bfccd |
manage_files_pattern(dccifd_t, dcc_var_t, dcc_var_t)
|
|
Chris PeBenito |
0bfccd |
manage_lnk_files_pattern(dccifd_t, dcc_var_t, dcc_var_t)
|
|
Chris PeBenito |
0bfccd |
manage_fifo_files_pattern(dccifd_t, dcc_var_t, dcc_var_t)
|
|
Chris PeBenito |
0bfccd |
manage_sock_files_pattern(dccifd_t, dcc_var_t, dcc_var_t)
|
|
Chris PeBenito |
0bfccd |
|
|
Chris PeBenito |
0bfccd |
manage_dirs_pattern(dccifd_t, dccifd_tmp_t, dccifd_tmp_t)
|
|
Chris PeBenito |
0bfccd |
manage_files_pattern(dccifd_t, dccifd_tmp_t, dccifd_tmp_t)
|
|
Chris PeBenito |
17de1b |
files_tmp_filetrans(dccifd_t, dccifd_tmp_t, { file dir })
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
0bfccd |
manage_files_pattern(dccifd_t, dccifd_var_run_t, dccifd_var_run_t)
|
|
Chris PeBenito |
0bfccd |
manage_sock_files_pattern(dccifd_t, dccifd_var_run_t, dccifd_var_run_t)
|
|
Chris PeBenito |
0bfccd |
filetrans_pattern(dccifd_t, dcc_var_t, dccifd_var_run_t, { file sock_file })
|
|
Chris PeBenito |
0bfccd |
files_pid_filetrans(dccifd_t, dccifd_var_run_t, file)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
kernel_read_system_state(dccifd_t)
|
|
Chris PeBenito |
17de1b |
kernel_read_kernel_sysctls(dccifd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
190066 |
corenet_all_recvfrom_unlabeled(dccifd_t)
|
|
Chris PeBenito |
190066 |
corenet_all_recvfrom_netlabel(dccifd_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_sendrecv_generic_if(dccifd_t)
|
|
Chris PeBenito |
c12621 |
corenet_udp_sendrecv_generic_node(dccifd_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_sendrecv_all_ports(dccifd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
dev_read_sysfs(dccifd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
domain_use_interactive_fds(dccifd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
files_read_etc_files(dccifd_t)
|
|
Chris PeBenito |
17de1b |
files_read_etc_runtime_files(dccifd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
fs_getattr_all_fs(dccifd_t)
|
|
Chris PeBenito |
17de1b |
fs_search_auto_mountpoints(dccifd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
fcee22 |
auth_use_nsswitch(dccifd_t)
|
|
Chris PeBenito |
fcee22 |
|
|
Chris PeBenito |
17de1b |
logging_send_syslog_msg(dccifd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
miscfiles_read_localization(dccifd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
userdom_dontaudit_use_unpriv_user_fds(dccifd_t)
|
|
Chris PeBenito |
296273 |
userdom_dontaudit_search_user_home_dirs(dccifd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
seutil_sigchld_newrole(dccifd_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
udev_read_db(dccifd_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
########################################
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
# sendmail milter client local policy
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
dontaudit dccm_t self:capability sys_tty_config;
|
|
Chris PeBenito |
17de1b |
allow dccm_t self:process signal_perms;
|
|
Chris PeBenito |
17de1b |
allow dccm_t self:unix_stream_socket create_stream_socket_perms;
|
|
Chris PeBenito |
17de1b |
allow dccm_t self:unix_dgram_socket create_socket_perms;
|
|
Chris PeBenito |
17de1b |
allow dccm_t self:udp_socket create_socket_perms;
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
allow dccm_t dcc_client_map_t:file rw_file_perms;
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
0bfccd |
manage_dirs_pattern(dccm_t, dcc_var_t, dcc_var_t)
|
|
Chris PeBenito |
0bfccd |
manage_files_pattern(dccm_t, dcc_var_t, dcc_var_t)
|
|
Chris PeBenito |
0bfccd |
manage_lnk_files_pattern(dccm_t, dcc_var_t, dcc_var_t)
|
|
Chris PeBenito |
0bfccd |
manage_fifo_files_pattern(dccm_t, dcc_var_t, dcc_var_t)
|
|
Chris PeBenito |
0bfccd |
manage_sock_files_pattern(dccm_t, dcc_var_t, dcc_var_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
0bfccd |
manage_dirs_pattern(dccm_t, dccm_tmp_t, dccm_tmp_t)
|
|
Chris PeBenito |
0bfccd |
manage_files_pattern(dccm_t, dccm_tmp_t, dccm_tmp_t)
|
|
Chris PeBenito |
17de1b |
files_tmp_filetrans(dccm_t, dccm_tmp_t, { file dir })
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
0bfccd |
manage_files_pattern(dccm_t, dccm_var_run_t, dccm_var_run_t)
|
|
Chris PeBenito |
0bfccd |
manage_sock_files_pattern(dccm_t, dccm_var_run_t, dccm_var_run_t)
|
|
Chris PeBenito |
0bfccd |
filetrans_pattern(dccm_t, dcc_var_run_t, dccm_var_run_t, { file sock_file })
|
|
Chris PeBenito |
0bfccd |
files_pid_filetrans(dccm_t, dccm_var_run_t, file)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
kernel_read_system_state(dccm_t)
|
|
Chris PeBenito |
17de1b |
kernel_read_kernel_sysctls(dccm_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
190066 |
corenet_all_recvfrom_unlabeled(dccm_t)
|
|
Chris PeBenito |
190066 |
corenet_all_recvfrom_netlabel(dccm_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_sendrecv_generic_if(dccm_t)
|
|
Chris PeBenito |
c12621 |
corenet_udp_sendrecv_generic_node(dccm_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_sendrecv_all_ports(dccm_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
dev_read_sysfs(dccm_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
domain_use_interactive_fds(dccm_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
files_read_etc_files(dccm_t)
|
|
Chris PeBenito |
17de1b |
files_read_etc_runtime_files(dccm_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
fs_getattr_all_fs(dccm_t)
|
|
Chris PeBenito |
17de1b |
fs_search_auto_mountpoints(dccm_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
fcee22 |
auth_use_nsswitch(dccm_t)
|
|
Chris PeBenito |
fcee22 |
|
|
Chris PeBenito |
17de1b |
logging_send_syslog_msg(dccm_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
miscfiles_read_localization(dccm_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
userdom_dontaudit_use_unpriv_user_fds(dccm_t)
|
|
Chris PeBenito |
296273 |
userdom_dontaudit_search_user_home_dirs(dccm_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
seutil_sigchld_newrole(dccm_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
udev_read_db(dccm_t)
|
|
Chris PeBenito |
17de1b |
')
|