## System backup scripts
########################################
##
## Execute backup in the backup domain.
##
##
##
## Domain allowed access.
##
##
#
interface(`backup_domtrans',`
gen_require(`
type backup_t, backup_exec_t;
')
domtrans_pattern($1, backup_exec_t, backup_t)
')
########################################
##
## Execute backup in the backup domain, and
## allow the specified role the backup domain.
##
##
##
## Domain allowed access.
##
##
##
##
## Role allowed access.
##
##
##
#
interface(`backup_run',`
gen_require(`
type backup_t;
')
backup_domtrans($1)
role $2 types backup_t;
')