## Watchdog multiplexing daemon.
########################################
##
## Connect to wdmd with a unix
## domain stream socket.
##
##
##
## Domain allowed access.
##
##
#
interface(`wdmd_stream_connect',`
gen_require(`
type wdmd_t, wdmd_runtime_t;
')
files_search_runtime($1)
stream_connect_pattern($1, wdmd_runtime_t, wdmd_runtime_t, wdmd_t)
')
########################################
##
## All of the rules required to
## administrate an wdmd environment.
##
##
##
## Domain allowed access.
##
##
##
##
## Role allowed access.
##
##
##
#
interface(`wdmd_admin',`
gen_require(`
type wdmd_t, wdmd_initrc_exec_t, wdmd_runtime_t;
')
allow $1 wdmd_t:process { ptrace signal_perms };
ps_process_pattern($1, wdmd_t)
init_startstop_service($1, $2, wdmd_t, wdmd_initrc_exec_t)
files_search_runtime($1)
admin_pattern($1, wdmd_runtime_t)
')