core: introduce ConditionSecurity=audit

And conditionalize journald audit support with it
This commit is contained in:
Lennart Poettering
2014-11-03 21:51:28 +01:00
parent 875c2e220e
commit cfb1f5df7c
5 changed files with 32 additions and 7 deletions
+8 -7
View File
@@ -1080,14 +1080,15 @@
<para><varname>ConditionSecurity=</varname>
may be used to check whether the given
security module is enabled on the
system. Currently the recognized values
values are <varname>selinux</varname>,
system. Currently the recognized
values values are
<varname>selinux</varname>,
<varname>apparmor</varname>,
<varname>ima</varname> and
<varname>smack</varname>.
The test may be negated by prepending
an exclamation
mark.</para>
<varname>ima</varname>,
<varname>smack</varname> and
<varname>audit</varname>. The test may
be negated by prepending an
exclamation mark.</para>
<para><varname>ConditionCapability=</varname>
may be used to check whether the given