chiark / gitweb /
exec: optionally apply cgroup attributes to the cgroups we create
[elogind.git] / src / execute.h
index b376e36a7aacaae720b20e6cdaa99d10b0d74e4a..d5fb61ba265e6fad9a63a96259db1531327d58e5 100644 (file)
@@ -35,6 +35,7 @@ typedef struct ExecContext ExecContext;
 #include <sched.h>
 
 struct CGroupBonding;
+struct CGroupAttribute;
 
 #include "list.h"
 #include "util.h"
@@ -187,6 +188,7 @@ int exec_spawn(ExecCommand *command,
                bool apply_tty_stdin,
                bool confirm_spawn,
                struct CGroupBonding *cgroup_bondings,
+               struct CGroupAttribute *cgroup_attributes,
                pid_t *ret);
 
 void exec_command_done(ExecCommand *c);