chiark / gitweb /
core: Add AppArmor profile switching
[elogind.git] / src / core / execute.h
index b98ef952e157fcefc5e9db07ca234fadd961a2b9..2bfe227145365534ed2b2eef9578c34fdda4bccc 100644 (file)
@@ -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;
 
@@ -168,6 +171,8 @@ struct ExecContext {
          * don't enter a trigger loop. */
         bool same_pgrp;
 
+        unsigned long personality;
+
         Set *syscall_filter;
         Set *syscall_archs;
         int syscall_errno;