summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/exit-status.c3
-rw-r--r--src/shared/exit-status.h3
2 files changed, 5 insertions, 1 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";
}
}
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 {