## On-line manual database.
########################################
##
## Execute the mandb program in
## the mandb domain.
##
##
##
## Domain allowed to transition.
##
##
#
interface(`mandb_domtrans',`
gen_require(`
type mandb_t, mandb_exec_t;
')
corecmd_search_bin($1)
domtrans_pattern($1, mandb_exec_t, mandb_t)
')
########################################
##
## Execute mandb in the mandb
## domain, and allow the specified
## role the mandb domain.
##
##
##
## Domain allowed to transition.
##
##
##
##
## Role allowed access.
##
##
#
interface(`mandb_run',`
gen_require(`
attribute_role mandb_roles;
')
mandb_domtrans($1)
roleattribute $2 mandb_roles;
')
########################################
##
## All of the rules required to
## administrate an mandb environment.
##
##
##
## Domain allowed access.
##
##
##
##
## Role allowed access.
##
##
##
#
interface(`mandb_admin',`
gen_require(`
type mandb_t;
')
admin_process_pattern($1, mandb_t)
mandb_run($1, $2)
')