chiark / gitweb /
core: Add AppArmor profile switching
[elogind.git] / src / core / execute.h
index 06b6b3fb2da8895b1d2b31360f06b1bd876008b5..2bfe227145365534ed2b2eef9578c34fdda4bccc 100644 (file)
@@ -138,8 +138,12 @@ struct ExecContext {
 
         char *utmp_id;
 
+        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;
 
@@ -167,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;