Renamed support macros for consistency.
This commit is contained in:
parent
eac7c31055
commit
eb5e237573
@ -13,16 +13,8 @@ define(`shiftn',`ifelse($1,0,`shift($*)',`shiftn(decr($1),shift(shift($*)))')')
|
|||||||
|
|
||||||
########################################
|
########################################
|
||||||
#
|
#
|
||||||
# context_template(context,sensitivity)
|
# gen_con(context,sensitivity)
|
||||||
#
|
#
|
||||||
# Optionally put the sensitivity for the file
|
# Optionally put the sensitivity for the file
|
||||||
#
|
#
|
||||||
define(`context_template',`ifdef(`enable_mls',`$1:$2',`$1')') dnl
|
define(`context_template',`ifdef(`enable_mls',`$1:$2',`$1')') dnl
|
||||||
|
|
||||||
########################################
|
|
||||||
#
|
|
||||||
# user_mls(level,range)
|
|
||||||
#
|
|
||||||
define(`user_mls',`ifdef(`enable_mls',`level $1 range $2')') dnl
|
|
||||||
|
|
||||||
define(`can_exec',`allow $1 $2:file { getattr read execute execute_no_trans };')
|
|
@ -1,7 +1,9 @@
|
|||||||
########################################
|
########################################
|
||||||
#
|
#
|
||||||
# Macros for sets of object classes
|
# Support macros for sets of object classes and permissions
|
||||||
#
|
#
|
||||||
|
# This file should only have object class and permission set macros - they
|
||||||
|
# can only reference object classes and/or permissions.
|
||||||
|
|
||||||
#
|
#
|
||||||
# All directory and file classes
|
# All directory and file classes
|
Loading…
Reference in New Issue
Block a user