have can_exec add a require block
This commit is contained in:
parent
bd113c3a8b
commit
8c2f3ac695
|
@ -19,4 +19,10 @@ define(`shiftn',`ifelse($1,0,`shift($*)',`shiftn(decr($1),shift(shift($*)))')')
|
|||
#
|
||||
define(`context_template',`ifdef(`enable_mls',`$1:$2',`$1')') dnl
|
||||
|
||||
define(`can_exec',`allow $1 $2:file { rx_file_perms execute_no_trans };')
|
||||
define(`can_exec',`
|
||||
gen_require(`
|
||||
class file { rx_file_perms execute_no_trans };
|
||||
')
|
||||
|
||||
allow $1 $2:file { rx_file_perms execute_no_trans };
|
||||
')
|
||||
|
|
Loading…
Reference in New Issue