chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build-sys: automatically figure out names of dbus/syslog services
[elogind.git]
/
execute.h
diff --git
a/execute.h
b/execute.h
index d64111b156f6d3081e191872b386cbb5ab358dd2..5099a82435595a6769d924dbcb2d7a725e9f7cfc 100644
(file)
--- a/
execute.h
+++ b/
execute.h
@@
-33,11
+33,13
@@
typedef struct ExecContext ExecContext;
#include <stdio.h>
#include <sched.h>
#include <stdio.h>
#include <sched.h>
+struct CGroupBonding;
+
#include "list.h"
#include "util.h"
/* Abstract namespace! */
#include "list.h"
#include "util.h"
/* Abstract namespace! */
-#define LOGGER_SOCKET "/org/freedesktop
.org
/systemd1/logger"
+#define LOGGER_SOCKET "/org/freedesktop/systemd1/logger"
typedef enum ExecOutput {
EXEC_OUTPUT_CONSOLE,
typedef enum ExecOutput {
EXEC_OUTPUT_CONSOLE,
@@
-91,6
+93,7
@@
struct ExecContext {
bool cpu_sched_reset_on_fork;
bool non_blocking;
bool cpu_sched_reset_on_fork;
bool non_blocking;
+ bool new_session;
ExecInput input;
ExecOutput output;
ExecInput input;
ExecOutput output;
@@
-145,7
+148,9
@@
typedef enum ExitStatus {
EXIT_CPUAFFINITY,
EXIT_GROUP,
EXIT_USER,
EXIT_CPUAFFINITY,
EXIT_GROUP,
EXIT_USER,
- EXIT_CAPABILITIES
+ EXIT_CAPABILITIES,
+ EXIT_CGROUP, /* 220 */
+ EXIT_SETSID
} ExitStatus;
int exec_spawn(const ExecCommand *command,
} ExitStatus;
int exec_spawn(const ExecCommand *command,
@@
-153,6
+158,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);