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/core/execute.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/core/execute.h') diff --git a/src/core/execute.h b/src/core/execute.h index 5c4c0b4abe..2bfe227145 100644 --- a/src/core/execute.h +++ b/src/core/execute.h @@ -141,6 +141,9 @@ struct ExecContext { bool selinux_context_ignore; char *selinux_context; + bool apparmor_profile_ignore; + char *apparmor_profile; + char **read_write_dirs, **read_only_dirs, **inaccessible_dirs; unsigned long mount_flags; -- cgit v1.2.3-54-g00ecf