######################################## ## ## Execute racoon and allow the specified role the domain. ## ## ## ## Domain allowed to transition. ## ## ## ## ## Role allowed access. ## ## ## # # interface(`ipsec_run_racoon',` gen_require(` type racoon_t; ') ipsec_domtrans_racoon($1) role $2 types racoon_t; ') # Comment interface(`this_one_fails',` gen_require(` type foo_t; role foo_r; ') allow $1 foo_t:file read; ') # Comment interface(`this_one_fails2',` gen_require(` type foo_t; class file { read }; ') allow $1 foo_t:file read; ') # Comment interface(`this_one_fails3',` gen_require(` type foo_t; class dir { read }; ') allow $1 foo_t:file read; ') # Comment interface(`this_one_fails4',` gen_require(` type foo_t; class dbus { send_msg }; ') allow $1 foo_t:file read; ')