diff --git a/policy/modules/apps/java.if b/policy/modules/apps/java.if index 6c0345c8c..2a024b79c 100644 --- a/policy/modules/apps/java.if +++ b/policy/modules/apps/java.if @@ -136,7 +136,7 @@ template(`java_role_template',` ## ## # -template(`java_domtrans',` +interface(`java_domtrans',` gen_require(` type java_t, java_exec_t; ') diff --git a/policy/modules/services/lpd.if b/policy/modules/services/lpd.if index 62563717b..fa3e9f28a 100644 --- a/policy/modules/services/lpd.if +++ b/policy/modules/services/lpd.if @@ -200,7 +200,7 @@ interface(`lpd_read_config',` ## ## # -template(`lpd_domtrans_lpr',` +interface(`lpd_domtrans_lpr',` gen_require(` type lpr_t, lpr_exec_t; ')