summaryrefslogtreecommitdiff
path: root/src/socket.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-16 19:42:27 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-16 19:42:27 +0200
commitb15bdda87046f5e46080fd84fda878cba2da0fc8 (patch)
tree982893886ddd99e82e5120a52d2c0a379b4addf1 /src/socket.h
parent0009d2a63339af1ee9b6f18ab6cf42d68d089148 (diff)
socket: prepare for proper selinux labelling of sockets
Diffstat (limited to 'src/socket.h')
-rw-r--r--src/socket.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/socket.h b/src/socket.h
index 8f3cd76ad7..88ebf26f87 100644
--- a/src/socket.h
+++ b/src/socket.h
@@ -84,6 +84,9 @@ struct Socket {
ExecCommand* exec_command[_SOCKET_EXEC_COMMAND_MAX];
ExecContext exec_context;
+ /* For Accept=no sockets refers to the one service we'll
+ activate. For Accept=yes sockets is either NULL, or filled
+ when the next service we spawn. */
Service *service;
SocketState state, deserialized_state;