X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Fexecute.h;h=2bfe227145365534ed2b2eef9578c34fdda4bccc;hb=ef417cfd2211ae017a38b9796c6db29130133e63;hp=be811a97c1eed556be9258beb6fd402c83142204;hpb=7b52a628f8b43ba521c302a7f32bccf9d0dc8bfd;p=elogind.git diff --git a/src/core/execute.h b/src/core/execute.h index be811a97c..2bfe22714 100644 --- a/src/core/execute.h +++ b/src/core/execute.h @@ -33,6 +33,11 @@ typedef struct ExecRuntime ExecRuntime; #include #include #include +#ifdef HAVE_SECCOMP +#include + +#include "set.h" +#endif #include "list.h" #include "util.h" @@ -133,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; @@ -162,7 +171,12 @@ struct ExecContext { * don't enter a trigger loop. */ bool same_pgrp; - uint32_t *syscall_filter; + unsigned long personality; + + Set *syscall_filter; + Set *syscall_archs; + int syscall_errno; + bool syscall_whitelist:1; bool oom_score_adjust_set:1; bool nice_set:1;