diff --git a/refpolicy/policy/support/misc_macros.spt b/refpolicy/policy/support/misc_macros.spt index 1e57e33..c1b08ed 100644 --- a/refpolicy/policy/support/misc_macros.spt +++ b/refpolicy/policy/support/misc_macros.spt @@ -43,13 +43,7 @@ define(`gen_context',`$1`'ifdef(`enable_mls',`:$2')`'ifdef(`enable_mcs',`:s0`'if # # can_exec(domain,executable) # -define(`can_exec',` - gen_require(` - class file { rx_file_perms execute_no_trans }; - ') - - allow $1 $2:file { rx_file_perms execute_no_trans }; -') +define(`can_exec',`allow $1 $2:file { rx_file_perms execute_no_trans };') ######################################## #