2023-11-09 03:13:01 +01:00
|
|
|
####################################
|
|
|
|
# is_flag_enabled(flag, rules)
|
|
|
|
# SELinux rules which apply only if given feature is turned on
|
2023-11-17 10:02:25 +01:00
|
|
|
define(`is_flag_enabled', `ifelse(target_flag_$1, `true', `$2')')
|
2023-11-09 03:13:01 +01:00
|
|
|
|
|
|
|
####################################
|
|
|
|
# is_flag_disabled(flag, rules)
|
|
|
|
# SELinux rules which apply only if given feature is turned off
|
2023-11-17 10:02:25 +01:00
|
|
|
define(`is_flag_disabled', `ifelse(target_flag_$1, `true', , `$2')')
|