chiark / gitweb /
bus: include connection name in credentials structure
[elogind.git] / src / core / execute.h
index 5143fcaa5899ea1de5b794387807ddf6de2f3e7a..4851152743ba7fd9e9e870fe6ebc6371410056b5 100644 (file)
@@ -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);