`c->cpu_sched_reset_on_fork` is serialized using
`exec-context-cpu-sched-reset-on-fork` and
`exec-context-cpu-scheduling-reset-on-fork`. Let's keep only the second one, to
serialize the value only if `cpu_sched_set` is true.
- r = serialize_bool_elide(f, "exec-context-cpu-sched-reset-on-fork", c->cpu_sched_reset_on_fork);
- if (r < 0)
- return r;
-
r = serialize_bool(f, "exec-context-ignore-sigpipe", c->ignore_sigpipe);
if (r < 0)
return r;
r = serialize_bool(f, "exec-context-ignore-sigpipe", c->ignore_sigpipe);
if (r < 0)
return r;
if (r < 0)
return r;
c->same_pgrp = r;
if (r < 0)
return r;
c->same_pgrp = r;
- } else if ((val = startswith(l, "exec-context-cpu-sched-reset-on-fork="))) {
- r = parse_boolean(val);
- if (r < 0)
- return r;
- c->cpu_sched_reset_on_fork = r;
} else if ((val = startswith(l, "exec-context-non-blocking="))) {
r = parse_boolean(val);
if (r < 0)
} else if ((val = startswith(l, "exec-context-non-blocking="))) {
r = parse_boolean(val);
if (r < 0)
exec-context-protect-system=
exec-context-mount-api-vfs=
exec-context-same-pgrp=
exec-context-protect-system=
exec-context-mount-api-vfs=
exec-context-same-pgrp=
-exec-context-cpu-sched-reset-on-fork=
exec-context-non-blocking=
exec-context-ignore-sigpipe=
exec-context-memory-deny-write-execute=
exec-context-non-blocking=
exec-context-ignore-sigpipe=
exec-context-memory-deny-write-execute=