## 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; ') ######################################## ## ## Allow the specified domain to read/write ## games data. ## ## ## ## Domain allowed access. ## ## # interface(`games_rw_data',` gen_require(` type games_data_t; ') rw_files_pattern($1, games_data_t, games_data_t) ')