diff --git a/policy/modules/contrib/sendmail.te b/policy/modules/contrib/sendmail.te index 262b0fc645..d3b70e081b 100644 --- a/policy/modules/contrib/sendmail.te +++ b/policy/modules/contrib/sendmail.te @@ -45,7 +45,7 @@ dontaudit sendmail_t self:capability net_admin; dontaudit sendmail_t self:capability2 block_suspend; allow sendmail_t self:process { setsched setpgid setrlimit signal signull }; allow sendmail_t self:fifo_file rw_fifo_file_perms; -allow sendmail_t self:unix_stream_socket create_stream_socket_perms; +allow sendmail_t self:unix_stream_socket { connectto create_stream_socket_perms }; allow sendmail_t self:unix_dgram_socket create_socket_perms; allow sendmail_t self:tcp_socket create_stream_socket_perms; allow sendmail_t self:udp_socket create_socket_perms;