X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fcore%2Fexecute.h;h=187165cdc26b1c113bdd679495de1f8e43aec528;hp=6c68169a8420cd4fc5e6806bf603ba531b18fb48;hb=8351ceaea9480d9c2979aa2ff0f4982cfdfef58d;hpb=d88a251b125f6e9178b9ca9ea47ab7da3234cb58 diff --git a/src/core/execute.h b/src/core/execute.h index 6c68169a8..187165cdc 100644 --- a/src/core/execute.h +++ b/src/core/execute.h @@ -164,6 +164,8 @@ struct ExecContext { bool private_tmp; bool private_network; + bool no_new_privileges; + bool control_group_modify; int control_group_persistent; @@ -174,6 +176,8 @@ struct ExecContext { * don't enter a trigger loop. */ bool same_pgrp; + uint32_t *syscall_filter; + bool oom_score_adjust_set:1; bool nice_set:1; bool ioprio_set:1; @@ -192,6 +196,7 @@ int exec_spawn(ExecCommand *command, struct CGroupBonding *cgroup_bondings, struct CGroupAttribute *cgroup_attributes, const char *cgroup_suffix, + const char *unit_id, int pipe_fd[2], pid_t *ret);