## policy for z/OS Remote-services Audit dispatcher plugin
########################################
##
## Execute a domain transition to run audispd-zos-remote.
##
##
##
## Domain allowed to transition.
##
##
#
interface(`zosremote_domtrans',`
gen_require(`
type zos_remote_t, zos_remote_exec_t;
')
domtrans_pattern($1, zos_remote_exec_t, zos_remote_t)
')
########################################
##
## Allow specified type and role to transition and
## run in the zos_remote_t domain. Allow specified type
## to use zos_remote_t terminal.
##
##
##
## Domain allowed access
##
##
##
##
## Role allowed access.
##
##
#
interface(`zosremote_run',`
gen_require(`
type zos_remote_t;
')
zosremote_domtrans($1)
role $2 types zos_remote_t;
')