summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorMichael Scherer <misc@zarb.org>2014-02-06 10:05:18 +0100
committerLennart Poettering <lennart@poettering.net>2014-02-10 13:18:16 +0100
commit0d3f7bb3a5bc6d5c0712f88a080fed388981bca3 (patch)
tree34dc9f0f4b3d794bafc0b7ed04c8d2fe3988754c /man
parent5c56a259e07661a66e806cc2fbc71de96a75f78e (diff)
exec: Add support for ignoring errors on SELinuxContext by prefixing it with -, like for others settings.
Also remove call to security_check_context, as this doesn't serve anything, since setexeccon will fail anyway.
Diffstat (limited to 'man')
-rw-r--r--man/systemd.exec.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/man/systemd.exec.xml b/man/systemd.exec.xml
index 4281c03cf6..ecf48a73c9 100644
--- a/man/systemd.exec.xml
+++ b/man/systemd.exec.xml
@@ -956,7 +956,9 @@
<listitem><para>Set the SELinux context of the
executed process. If set, this will override the
automated domain transition. However, the policy
- still need to autorize the transition. See
+ still need to autorize the transition. This directive
+ is ignored if SELinux is disabled. If prefixed by <literal>-</literal>,
+ all errors will be ignored. See
<citerefentry><refentrytitle>setexeccon</refentrytitle><manvolnum>3</manvolnum></citerefentry>
for details.</para></listitem>
</varlistentry>