]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/core/execute-serialize.h
core/service: remove unnecessary reset of notify_access_override
[thirdparty/systemd.git] / src / core / execute-serialize.h
CommitLineData
5699a168
LB
1/* SPDX-License-Identifier: LGPL-2.1-or-later */
2#pragma once
3
4#include "execute.h"
5
6/* These functions serialize/deserialize for invocation purposes (i.e.: serialized object is passed to a
7 * child process) rather than to save state across reload/reexec. */
8
9int exec_serialize_invocation(FILE *f,
10 FDSet *fds,
b806a5d3 11 const ExecContext *ctx,
beb4ae87 12 const ExecCommand *cmd,
73c12fac 13 const ExecParameters *p,
56df7a46
LB
14 const ExecRuntime *rt,
15 const CGroupContext *cg);
5699a168
LB
16
17int exec_deserialize_invocation(FILE *f,
18 FDSet *fds,
b806a5d3 19 ExecContext *ctx,
beb4ae87 20 ExecCommand *cmd,
73c12fac 21 ExecParameters *p,
56df7a46
LB
22 ExecRuntime *rt,
23 CGroupContext *cg);