X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Fexecute.h;h=2083c2971ba77660c29cd10c220900a911f54671;hb=62bca2c657bf95fd1f69935eef09915afa5c69d9;hp=fc4c71e534c3d47695ae22125377cf9805f7bcd2;hpb=5430f7f2bc7330f3088b894166bf3524a067e3d8;p=elogind.git diff --git a/src/core/execute.h b/src/core/execute.h index fc4c71e53..2083c2971 100644 --- a/src/core/execute.h +++ b/src/core/execute.h @@ -118,7 +118,7 @@ struct ExecContext { ExecOutput std_output; ExecOutput std_error; - unsigned long timer_slack_nsec; + nsec_t timer_slack_nsec; char *tcpwrap_name; @@ -178,7 +178,6 @@ struct ExecContext { bool nice_set:1; bool ioprio_set:1; bool cpu_sched_set:1; - bool timer_slack_nsec_set:1; }; int exec_spawn(ExecCommand *command, @@ -192,6 +191,9 @@ int exec_spawn(ExecCommand *command, bool confirm_spawn, struct CGroupBonding *cgroup_bondings, struct CGroupAttribute *cgroup_attributes, + const char *cgroup_suffix, + const char *unit_id, + int pipe_fd[2], pid_t *ret); void exec_command_done(ExecCommand *c);