remove unneeded gen_require in can_exec

This commit is contained in:
Chris PeBenito 2006-03-28 18:14:24 +00:00
parent ab23bb905c
commit a5d54655dd

View File

@ -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 };')
########################################
#