|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
c12621 |
policy_module(sasl, 1.11.2)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
########################################
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
# Declarations
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
56e1b3 |
## <desc>
|
|
Chris PeBenito |
56e1b3 |
##
|
|
Chris PeBenito |
56e1b3 |
## Allow sasl to read shadow
|
|
Chris PeBenito |
56e1b3 |
##
|
|
Chris PeBenito |
56e1b3 |
## </desc>
|
|
Chris PeBenito |
0bfccd |
gen_tunable(allow_saslauthd_read_shadow, false)
|
|
Chris PeBenito |
56e1b3 |
|
|
Chris PeBenito |
17de1b |
type saslauthd_t;
|
|
Chris PeBenito |
17de1b |
type saslauthd_exec_t;
|
|
Chris PeBenito |
0bfccd |
init_daemon_domain(saslauthd_t, saslauthd_exec_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
06099d |
type saslauthd_initrc_exec_t;
|
|
Chris PeBenito |
06099d |
init_script_file(saslauthd_initrc_exec_t)
|
|
Chris PeBenito |
06099d |
|
|
Chris PeBenito |
697489 |
type saslauthd_tmp_t;
|
|
Chris PeBenito |
697489 |
files_tmp_file(saslauthd_tmp_t)
|
|
Chris PeBenito |
697489 |
|
|
Chris PeBenito |
17de1b |
type saslauthd_var_run_t;
|
|
Chris PeBenito |
17de1b |
files_pid_file(saslauthd_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 |
allow saslauthd_t self:capability setuid;
|
|
Chris PeBenito |
17de1b |
dontaudit saslauthd_t self:capability sys_tty_config;
|
|
Chris PeBenito |
17de1b |
allow saslauthd_t self:process signal_perms;
|
|
Chris PeBenito |
0b36a2 |
allow saslauthd_t self:fifo_file rw_fifo_file_perms;
|
|
Chris PeBenito |
17de1b |
allow saslauthd_t self:unix_dgram_socket create_socket_perms;
|
|
Chris PeBenito |
17de1b |
allow saslauthd_t self:unix_stream_socket create_stream_socket_perms;
|
|
Chris PeBenito |
17de1b |
allow saslauthd_t self:tcp_socket create_socket_perms;
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
697489 |
allow saslauthd_t saslauthd_tmp_t:dir setattr;
|
|
Chris PeBenito |
0bfccd |
manage_files_pattern(saslauthd_t, saslauthd_tmp_t, saslauthd_tmp_t)
|
|
Chris PeBenito |
0bfccd |
files_tmp_filetrans(saslauthd_t, saslauthd_tmp_t, file)
|
|
Chris PeBenito |
697489 |
|
|
Chris PeBenito |
0bfccd |
manage_files_pattern(saslauthd_t, saslauthd_var_run_t, saslauthd_var_run_t)
|
|
Chris PeBenito |
0bfccd |
manage_sock_files_pattern(saslauthd_t, saslauthd_var_run_t, saslauthd_var_run_t)
|
|
Chris PeBenito |
0bfccd |
files_pid_filetrans(saslauthd_t, saslauthd_var_run_t, file)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
kernel_read_kernel_sysctls(saslauthd_t)
|
|
Chris PeBenito |
17de1b |
kernel_read_system_state(saslauthd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
190066 |
corenet_all_recvfrom_unlabeled(saslauthd_t)
|
|
Chris PeBenito |
190066 |
corenet_all_recvfrom_netlabel(saslauthd_t)
|
|
Chris PeBenito |
668b30 |
corenet_tcp_sendrecv_generic_if(saslauthd_t)
|
|
Chris PeBenito |
c12621 |
corenet_tcp_sendrecv_generic_node(saslauthd_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_sendrecv_all_ports(saslauthd_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_connect_pop_port(saslauthd_t)
|
|
Chris PeBenito |
17de1b |
corenet_sendrecv_pop_client_packets(saslauthd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
dev_read_sysfs(saslauthd_t)
|
|
Chris PeBenito |
17de1b |
dev_read_urand(saslauthd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
fs_getattr_all_fs(saslauthd_t)
|
|
Chris PeBenito |
17de1b |
fs_search_auto_mountpoints(saslauthd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
d6d16b |
selinux_compute_access_vector(saslauthd_t)
|
|
Chris PeBenito |
d6d16b |
|
|
Chris PeBenito |
17de1b |
auth_domtrans_chk_passwd(saslauthd_t)
|
|
Chris PeBenito |
17de1b |
auth_use_nsswitch(saslauthd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
domain_use_interactive_fds(saslauthd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
files_read_etc_files(saslauthd_t)
|
|
Chris PeBenito |
17de1b |
files_dontaudit_read_etc_runtime_files(saslauthd_t)
|
|
Chris PeBenito |
17de1b |
files_search_var_lib(saslauthd_t)
|
|
Chris PeBenito |
17de1b |
files_dontaudit_getattr_home_dir(saslauthd_t)
|
|
Chris PeBenito |
17de1b |
files_dontaudit_getattr_tmp_dirs(saslauthd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
init_dontaudit_stream_connect_script(saslauthd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
logging_send_syslog_msg(saslauthd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
miscfiles_read_localization(saslauthd_t)
|
|
Chris PeBenito |
17de1b |
miscfiles_read_certs(saslauthd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
seutil_dontaudit_read_config(saslauthd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
sysnet_read_config(saslauthd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
userdom_dontaudit_use_unpriv_user_fds(saslauthd_t)
|
|
Chris PeBenito |
296273 |
userdom_dontaudit_search_user_home_dirs(saslauthd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
350b6a |
# cjp: typeattribute doesnt work in conditionals
|
|
Chris PeBenito |
17de1b |
auth_can_read_shadow_passwords(saslauthd_t)
|
|
Chris PeBenito |
17de1b |
tunable_policy(`allow_saslauthd_read_shadow',`
|
|
Chris PeBenito |
17de1b |
auth_tunable_read_shadow(saslauthd_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
06099d |
kerberos_keytab_template(saslauthd, saslauthd_t)
|
|
Chris PeBenito |
697489 |
')
|
|
Chris PeBenito |
697489 |
|
|
Chris PeBenito |
697489 |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
mysql_search_db(saslauthd_t)
|
|
Chris PeBenito |
17de1b |
mysql_stream_connect(saslauthd_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
seutil_sigchld_newrole(saslauthd_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
udev_read_db(saslauthd_t)
|
|
Chris PeBenito |
17de1b |
')
|