From eef65bf3ee6f73afa4a5de23ae3a794a279f30c0 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Thu, 20 Feb 2014 16:19:44 +0100 Subject: 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. --- src/shared/exit-status.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/shared/exit-status.h') diff --git a/src/shared/exit-status.h b/src/shared/exit-status.h index dde5bdda8b..de379f1aa0 100644 --- a/src/shared/exit-status.h +++ b/src/shared/exit-status.h @@ -69,7 +69,8 @@ typedef enum ExitStatus { EXIT_NO_NEW_PRIVILEGES, EXIT_SECCOMP, EXIT_SELINUX_CONTEXT, - EXIT_PERSONALITY /* 230 */ + EXIT_PERSONALITY, /* 230 */ + EXIT_APPARMOR_PROFILE } ExitStatus; typedef enum ExitStatusLevel { -- cgit v1.2.3-54-g00ecf