diff --git a/refpolicy/doc/example.if b/refpolicy/doc/example.if index 8e9591b1b..48f5bc9b6 100644 --- a/refpolicy/doc/example.if +++ b/refpolicy/doc/example.if @@ -25,7 +25,7 @@ ## # interface(`myapp_domtrans',` - gen_requires(` + gen_require(` type myapp_t, myapp_exec_t; ') @@ -46,7 +46,7 @@ interface(`myapp_domtrans',` ## # interface(`myapp_read_log',` - gen_requires(` + gen_require(` type myapp_log_t; ') diff --git a/refpolicy/policy/modules/services/tor.if b/refpolicy/policy/modules/services/tor.if index aae2e9fc8..7427b97f1 100644 --- a/refpolicy/policy/modules/services/tor.if +++ b/refpolicy/policy/modules/services/tor.if @@ -11,7 +11,7 @@ ## # interface(`tor_domtrans',` - gen_requires(` + gen_require(` type tor_t, tor_exec_t; ') diff --git a/refpolicy/policy/modules/system/xen.if b/refpolicy/policy/modules/system/xen.if index 4bb62780e..bfdc355a4 100644 --- a/refpolicy/policy/modules/system/xen.if +++ b/refpolicy/policy/modules/system/xen.if @@ -11,7 +11,7 @@ ## # interface(`xen_domtrans',` - gen_requires(` + gen_require(` type xend_t, xend_exec_t; ') @@ -118,7 +118,7 @@ interface(`xen_stream_connect',` ## # interface(`xen_domtrans_xm',` - gen_requires(` + gen_require(` type xm_t, xm_exec_t; ')