X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Fexecute.h;h=c45dde53a6452af5641199ba94000b05038ccc19;hb=45071fcaa03eafc27352987fa2277b2792725036;hp=9c1f249cd4a59e5ddb655ae85e3f4f2945b08cee;hpb=e44da745d19b9e02e67e32ea82c3bad86175120c;p=elogind.git diff --git a/src/core/execute.h b/src/core/execute.h index 9c1f249cd..c45dde53a 100644 --- a/src/core/execute.h +++ b/src/core/execute.h @@ -204,6 +204,7 @@ struct ExecParameters { bool apply_chroot; bool apply_tty_stdin; bool confirm_spawn; + bool selinux_context_net; CGroupControllerMask cgroup_supported; const char *cgroup_path; const char *runtime_prefix; @@ -232,6 +233,7 @@ void exec_command_dump(ExecCommand *c, FILE *f, const char *prefix); void exec_command_dump_list(ExecCommand *c, FILE *f, const char *prefix); void exec_command_append_list(ExecCommand **l, ExecCommand *e); int exec_command_set(ExecCommand *c, const char *path, ...); +int exec_command_append(ExecCommand *c, const char *path, ...); void exec_context_init(ExecContext *c); void exec_context_done(ExecContext *c); @@ -239,7 +241,7 @@ void exec_context_dump(ExecContext *c, FILE* f, const char *prefix); int exec_context_destroy_runtime_directory(ExecContext *c, const char *runtime_root); -int exec_context_load_environment(const ExecContext *c, char ***l); +int exec_context_load_environment(const ExecContext *c, const char *unit_id, char ***l); bool exec_context_may_touch_console(ExecContext *c);