diff options
Diffstat (limited to 'src/core/socket.h')
-rw-r--r-- | src/core/socket.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/socket.h b/src/core/socket.h index 0983e8c..5e3929c 100644 --- a/src/core/socket.h +++ b/src/core/socket.h @@ -92,6 +92,7 @@ struct Socket { CGroupContext cgroup_context; ExecRuntime *exec_runtime; + CGroupRuntime *cgroup_runtime; /* For Accept=no sockets refers to the one service we'll * activate. For Accept=yes sockets is either NULL, or filled @@ -128,6 +129,7 @@ struct Socket { bool transparent; bool broadcast; bool pass_cred; + bool pass_fds_to_exec; bool pass_sec; bool pass_pktinfo; SocketTimestamping timestamping; @@ -170,7 +172,7 @@ int socket_acquire_peer(Socket *s, int fd, SocketPeer **p); DEFINE_TRIVIAL_CLEANUP_FUNC(SocketPeer*, socket_peer_unref); /* Called from the service code when collecting fds */ -int socket_collect_fds(Socket *s, int **fds); +int socket_collect_fds(Socket *s, int **ret); /* Called from the service code when a per-connection service ended */ void socket_connection_unref(Socket *s); |