## 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;
')
corecmd_search_bin($1)
domtrans_pattern($1, zos_remote_exec_t, zos_remote_t)
')
########################################
##
## Execute zos remote in the zos remote
## domain, and allow the specified role
## the zos remote domain.
##
##
##
## Domain allowed to transition.
##
##
##
##
## Role allowed access.
##
##
#
interface(`zosremote_run',`
gen_require(`
attribute_role zos_remote_roles;
')
zosremote_domtrans($1)
roleattribute $2 zos_remote_roles;
')