selinux-policy/policy/modules/services/zosremote.if

46 lines
991 B
Plaintext
Raw Normal View History

2009-03-19 17:56:10 +00:00
## <summary>policy for z/OS Remote-services Audit dispatcher plugin</summary>
########################################
## <summary>
2009-06-26 14:40:13 +00:00
## Execute a domain transition to run audispd-zos-remote.
2009-03-19 17:56:10 +00:00
## </summary>
## <param name="domain">
## <summary>
2009-06-26 14:40:13 +00:00
## Domain allowed to transition.
2009-03-19 17:56:10 +00:00
## </summary>
## </param>
#
interface(`zosremote_domtrans',`
2009-06-26 14:40:13 +00:00
gen_require(`
type zos_remote_t, zos_remote_exec_t;
')
2009-03-19 17:56:10 +00:00
2009-06-26 14:40:13 +00:00
domtrans_pattern($1, zos_remote_exec_t, zos_remote_t)
2009-03-19 17:56:10 +00:00
')
########################################
## <summary>
## Allow specified type and role to transition and
## run in the zos_remote_t domain. Allow specified type
## to use zos_remote_t terminal.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access
## </summary>
## </param>
## <param name="role">
## <summary>
## The role to be allowed the zos_remote domain.
## </summary>
## </param>
#
interface(`zosremote_run',`
gen_require(`
type zos_remote_t;
')
zosremote_domtrans($1)
role $2 types zos_remote_t;
')