diff options
author | Michael Scherer <misc@zarb.org> | 2014-02-06 10:05:16 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-02-10 13:18:16 +0100 |
commit | 7b52a628f8b43ba521c302a7f32bccf9d0dc8bfd (patch) | |
tree | d23ed2ee1153ffa4e45c1752a077ae2df6901a36 /src/shared/exit-status.c | |
parent | 36e0e6311bb4df37385db19b5eca03973b26b5ff (diff) |
exec: Add SELinuxContext configuration item
This permit to let system administrators decide of the domain of a service.
This can be used with templated units to have each service in a différent
domain ( for example, a per customer database, using MLS or anything ),
or can be used to force a non selinux enabled system (jvm, erlang, etc)
to start in a different domain for each service.
Diffstat (limited to 'src/shared/exit-status.c')
-rw-r--r-- | src/shared/exit-status.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shared/exit-status.c b/src/shared/exit-status.c index ef2d63f57d..70789f5136 100644 --- a/src/shared/exit-status.c +++ b/src/shared/exit-status.c @@ -130,6 +130,9 @@ const char* exit_status_to_string(ExitStatus status, ExitStatusLevel level) { case EXIT_SECCOMP: return "SECCOMP"; + + case EXIT_SELINUX_CONTEXT: + return "SELINUX_CONTEXT"; } } |