X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=execute.h;h=655f1e4f7b4aec9a66446a5e90c089d863ac7e25;hb=8d567588cad053f79abe603ab113e1b85a92f1da;hp=135c8bab5fafab64f59b42e9b7ff379d997ce1cd;hpb=2076ca540e4ffdd320e086c8b570a5bf19546022;p=elogind.git diff --git a/execute.h b/execute.h index 135c8bab5..655f1e4f7 100644 --- a/execute.h +++ b/execute.h @@ -97,6 +97,13 @@ struct ExecContext { bool cpu_affinity_set:1; bool timer_slack_ns_set:1; + /* This is not exposed to the user but available + * internally. We need it to make sure that whenever we spawn + * /bin/mount it is run in the same process group as us so + * that the autofs logic detects that it belongs to us and we + * don't enter a trigger loop. */ + bool no_setsid:1; + bool cpu_sched_reset_on_fork; bool non_blocking;