|
Chris PeBenito |
29af4c |
policy_module(fetchmail, 1.10.0)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
########################################
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
# Declarations
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type fetchmail_t;
|
|
Chris PeBenito |
17de1b |
type fetchmail_exec_t;
|
|
Chris PeBenito |
0bfccd |
init_daemon_domain(fetchmail_t, fetchmail_exec_t)
|
|
Chris PeBenito |
455155 |
application_executable_file(fetchmail_exec_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type fetchmail_var_run_t;
|
|
Chris PeBenito |
17de1b |
files_pid_file(fetchmail_var_run_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type fetchmail_etc_t;
|
|
Chris PeBenito |
8a948c |
files_config_file(fetchmail_etc_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type fetchmail_uidl_cache_t;
|
|
Chris PeBenito |
17de1b |
files_type(fetchmail_uidl_cache_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 fetchmail_t self:capability sys_tty_config;
|
|
Chris PeBenito |
17de1b |
allow fetchmail_t self:process { signal_perms setrlimit };
|
|
Chris PeBenito |
17de1b |
allow fetchmail_t self:unix_dgram_socket create_socket_perms;
|
|
Chris PeBenito |
17de1b |
allow fetchmail_t self:unix_stream_socket create_stream_socket_perms;
|
|
Chris PeBenito |
17de1b |
allow fetchmail_t self:netlink_route_socket r_netlink_socket_perms;
|
|
Chris PeBenito |
17de1b |
allow fetchmail_t self:tcp_socket create_socket_perms;
|
|
Chris PeBenito |
17de1b |
allow fetchmail_t self:udp_socket create_socket_perms;
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
c0868a |
allow fetchmail_t fetchmail_etc_t:file read_file_perms;
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
c0868a |
allow fetchmail_t fetchmail_uidl_cache_t:file manage_file_perms;
|
|
Chris PeBenito |
0bfccd |
mta_spool_filetrans(fetchmail_t, fetchmail_uidl_cache_t, file)
|
|
Chris PeBenito |
17de1b |
|
|
Dan Walsh |
3eaa99 |
manage_dirs_pattern(fetchmail_t, fetchmail_var_run_t, fetchmail_var_run_t)
|
|
Chris PeBenito |
0bfccd |
manage_files_pattern(fetchmail_t, fetchmail_var_run_t, fetchmail_var_run_t)
|
|
Dan Walsh |
3eaa99 |
files_pid_filetrans(fetchmail_t, fetchmail_var_run_t, { dir file })
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
kernel_read_kernel_sysctls(fetchmail_t)
|
|
Chris PeBenito |
17de1b |
kernel_list_proc(fetchmail_t)
|
|
Chris PeBenito |
17de1b |
kernel_getattr_proc_files(fetchmail_t)
|
|
Chris PeBenito |
17de1b |
kernel_read_proc_symlinks(fetchmail_t)
|
|
Chris PeBenito |
17de1b |
kernel_dontaudit_read_system_state(fetchmail_t)
|
|
Chris PeBenito |
17de1b |
|
|
Jeremy Solt |
414a57 |
#looks like it uses system command - calls uname
|
|
Jeremy Solt |
414a57 |
corecmd_exec_bin(fetchmail_t)
|
|
Chris PeBenito |
ef6ea5 |
corecmd_exec_shell(fetchmail_t)
|
|
Chris PeBenito |
ef6ea5 |
|
|
Chris PeBenito |
190066 |
corenet_all_recvfrom_unlabeled(fetchmail_t)
|
|
Chris PeBenito |
190066 |
corenet_all_recvfrom_netlabel(fetchmail_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_sendrecv_generic_if(fetchmail_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_sendrecv_generic_if(fetchmail_t)
|
|
Chris PeBenito |
c12621 |
corenet_tcp_sendrecv_generic_node(fetchmail_t)
|
|
Chris PeBenito |
c12621 |
corenet_udp_sendrecv_generic_node(fetchmail_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_sendrecv_dns_port(fetchmail_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_sendrecv_dns_port(fetchmail_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_sendrecv_pop_port(fetchmail_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_sendrecv_smtp_port(fetchmail_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_connect_all_ports(fetchmail_t)
|
|
Chris PeBenito |
17de1b |
corenet_sendrecv_all_client_packets(fetchmail_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
dev_read_sysfs(fetchmail_t)
|
|
Chris PeBenito |
17de1b |
dev_read_rand(fetchmail_t)
|
|
Chris PeBenito |
17de1b |
dev_read_urand(fetchmail_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
files_read_etc_files(fetchmail_t)
|
|
Chris PeBenito |
17de1b |
files_read_etc_runtime_files(fetchmail_t)
|
|
Chris PeBenito |
17de1b |
files_dontaudit_search_home(fetchmail_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
fs_getattr_all_fs(fetchmail_t)
|
|
Chris PeBenito |
17de1b |
fs_search_auto_mountpoints(fetchmail_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
domain_use_interactive_fds(fetchmail_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
logging_send_syslog_msg(fetchmail_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
miscfiles_read_localization(fetchmail_t)
|
|
Chris PeBenito |
17de1b |
miscfiles_read_certs(fetchmail_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
sysnet_read_config(fetchmail_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
userdom_dontaudit_use_unpriv_user_fds(fetchmail_t)
|
|
Chris PeBenito |
296273 |
userdom_dontaudit_search_user_home_dirs(fetchmail_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
6c9118 |
procmail_domtrans(fetchmail_t)
|
|
Chris PeBenito |
6c9118 |
')
|
|
Chris PeBenito |
6c9118 |
|
|
Chris PeBenito |
6c9118 |
optional_policy(`
|
|
Chris PeBenito |
657c22 |
sendmail_manage_log(fetchmail_t)
|
|
Chris PeBenito |
657c22 |
')
|
|
Chris PeBenito |
657c22 |
|
|
Chris PeBenito |
657c22 |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
seutil_sigchld_newrole(fetchmail_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
udev_read_db(fetchmail_t)
|
|
Chris PeBenito |
17de1b |
')
|