chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
service: optionally, call setsid() on services
[elogind.git]
/
execute.h
diff --git
a/execute.h
b/execute.h
index cb69bb3bd82c43f8f2b06116b76e69053a5133ed..5099a82435595a6769d924dbcb2d7a725e9f7cfc 100644
(file)
--- a/
execute.h
+++ b/
execute.h
@@
-93,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;
@@
-148,7
+149,8
@@
typedef enum ExitStatus {
EXIT_GROUP,
EXIT_USER,
EXIT_CAPABILITIES,
EXIT_GROUP,
EXIT_USER,
EXIT_CAPABILITIES,
- EXIT_CGROUP
+ EXIT_CGROUP, /* 220 */
+ EXIT_SETSID
} ExitStatus;
int exec_spawn(const ExecCommand *command,
} ExitStatus;
int exec_spawn(const ExecCommand *command,