summaryrefslogtreecommitdiff
path: root/src/condition.h
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2011-04-03 18:16:59 +0200
committerLennart Poettering <lennart@poettering.net>2011-04-03 22:16:37 +0200
commit07e833bc1d60e282b062eb205bb13215dc0e8cdf (patch)
tree6a633fb7489fd23049f35c2cd1b7487ee71376b9 /src/condition.h
parent41584525cf0a9d3a8bfb76008a3fc663b86bfdde (diff)
condition: add ConditionSecurity
Using ConditionSecurity a unit can depend on a security module being enabled/disabled. For now the only recognized security module is SELinux. I'd like to use this feature for a unit that creates /.autorelabel if SELinux is disabled, to ensure a relabel is done automatically when the system is later rebooted with SELinux enabled.
Diffstat (limited to 'src/condition.h')
-rw-r--r--src/condition.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/condition.h b/src/condition.h
index 9913c8c840..84028028c4 100644
--- a/src/condition.h
+++ b/src/condition.h
@@ -32,6 +32,7 @@ typedef enum ConditionType {
CONDITION_DIRECTORY_NOT_EMPTY,
CONDITION_KERNEL_COMMAND_LINE,
CONDITION_VIRTUALIZATION,
+ CONDITION_SECURITY,
CONDITION_NULL,
_CONDITION_TYPE_MAX,
_CONDITION_TYPE_INVALID = -1