remove unneeded gen_require in can_exec
This commit is contained in:
parent
ab23bb905c
commit
a5d54655dd
@ -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 };')
|
||||
|
||||
########################################
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user