X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Fexecute.h;h=4851152743ba7fd9e9e870fe6ebc6371410056b5;hb=e5723c894db1ead8a10ffb1800e53e9064656d7e;hp=5143fcaa5899ea1de5b794387807ddf6de2f3e7a;hpb=613b411c947635136637f8cdd66b94512f761eab;p=elogind.git diff --git a/src/core/execute.h b/src/core/execute.h index 5143fcaa5..485115274 100644 --- a/src/core/execute.h +++ b/src/core/execute.h @@ -38,8 +38,6 @@ typedef struct ExecRuntime ExecRuntime; #include "util.h" #include "fdset.h" -typedef struct Unit Unit; - typedef enum ExecInput { EXEC_INPUT_NULL, EXEC_INPUT_TTY, @@ -151,6 +149,7 @@ struct ExecContext { bool non_blocking; bool private_tmp; bool private_network; + bool private_devices; bool no_new_privileges; @@ -183,6 +182,7 @@ int exec_spawn(ExecCommand *command, CGroupControllerMask cgroup_mask, const char *cgroup_path, const char *unit_id, + usec_t watchdog_usec, int pipe_fd[2], ExecRuntime *runtime, pid_t *ret);