## PHP-fpm policy interfaces.
########################################
##
## Do not audit attempts to read and
## write phpfpm unix domain stream sockets.
##
##
##
## Domain to not audit.
##
##
#
interface(`phpfpm_dontaudit_rw_stream_sockets',`
gen_require(`
type phpfpm_t;
')
dontaudit $1 phpfpm_t:unix_stream_socket { read write };
')
########################################
##
## Do not audit attempts to read and
## write phpfpm TCP sockets.
##
##
##
## Domain to not audit.
##
##
#
interface(`phpfpm_dontaudit_rw_tcp_sockets',`
gen_require(`
type phpfpm_t;
')
dontaudit $1 phpfpm_t:tcp_socket { read write };
')