## IRC client policy
########################################
##
## Role access for IRC
##
##
##
## Role allowed access
##
##
##
##
## User domain for the role
##
##
#
interface(`irc_role',`
gen_require(`
type irc_t, irc_exec_t;
')
role $1 types irc_t;
# Transition from the user domain to the derived domain.
domtrans_pattern($2, irc_exec_t, irc_t)
# allow ps to show irc
ps_process_pattern($2, irc_t)
allow $2 irc_t:process signal;
')