diff options
author | Michael Scherer <misc@zarb.org> | 2014-02-20 16:19:44 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-02-21 03:44:20 +0100 |
commit | eef65bf3ee6f73afa4a5de23ae3a794a279f30c0 (patch) | |
tree | 366b91cc8b993595fec85469317e1351c98d8ee7 /src/shared/exit-status.c | |
parent | 37f78db2f4a33474fc349f406b0a0a48e9c573a2 (diff) |
core: Add AppArmor profile switching
This permit to switch to a specific apparmor profile when starting a daemon. This
will result in a non operation if apparmor is disabled.
It also add a new build requirement on libapparmor for using this feature.
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 8b096da7e1..902f55ac65 100644 --- a/src/shared/exit-status.c +++ b/src/shared/exit-status.c @@ -136,6 +136,9 @@ const char* exit_status_to_string(ExitStatus status, ExitStatusLevel level) { case EXIT_PERSONALITY: return "PERSONALITY"; + + case EXIT_APPARMOR_PROFILE: + return "APPARMOR"; } } |