chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
util: move close_all_fds() to util.c
[elogind.git]
/
execute.h
diff --git
a/execute.h
b/execute.h
index d8073e14b022cbf21ef595ae597f61458715badc..cb69bb3bd82c43f8f2b06116b76e69053a5133ed 100644
(file)
--- a/
execute.h
+++ b/
execute.h
@@
-33,6
+33,8
@@
typedef struct ExecContext ExecContext;
#include <stdio.h>
#include <sched.h>
#include <stdio.h>
#include <sched.h>
+struct CGroupBonding;
+
#include "list.h"
#include "util.h"
#include "list.h"
#include "util.h"
@@
-145,7
+147,8
@@
typedef enum ExitStatus {
EXIT_CPUAFFINITY,
EXIT_GROUP,
EXIT_USER,
EXIT_CPUAFFINITY,
EXIT_GROUP,
EXIT_USER,
- EXIT_CAPABILITIES
+ EXIT_CAPABILITIES,
+ EXIT_CGROUP
} ExitStatus;
int exec_spawn(const ExecCommand *command,
} ExitStatus;
int exec_spawn(const ExecCommand *command,
@@
-153,6
+156,7
@@
int exec_spawn(const ExecCommand *command,
int *fds, unsigned n_fds,
bool apply_permissions,
bool apply_chroot,
int *fds, unsigned n_fds,
bool apply_permissions,
bool apply_chroot,
+ struct CGroupBonding *cgroup_bondings,
pid_t *ret);
void exec_command_free_list(ExecCommand *c);
pid_t *ret);
void exec_command_free_list(ExecCommand *c);