## Games
############################################################
##
## Role access for games
##
##
##
## Role allowed access
##
##
##
##
## User domain for the role
##
##
#
interface(`games_role',`
gen_require(`
type games_t, games_exec_t;
')
role $1 types games_t;
domtrans_pattern($2, games_exec_t, games_t)
allow $2 games_t:unix_stream_socket connectto;
allow games_t $2:unix_stream_socket connectto;
# Allow the user domain to signal/ps.
ps_process_pattern($2, games_t)
allow $2 games_t:process signal_perms;
')