summaryrefslogtreecommitdiffstats
path: root/src/core/socket.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-06-04 16:19:00 +0200
committerLennart Poettering <lennart@poettering.net>2014-06-04 16:21:17 +0200
commit811ba7a0e292eda0f2f470613cc28a97bda7ee66 (patch)
tree881f55ee5157cfcf266c674bbe65ffc0930fb6dd /src/core/socket.h
parentudev: make sure we always get "change" for the disk (diff)
downloadsystemd-811ba7a0e292eda0f2f470613cc28a97bda7ee66.tar.xz
systemd-811ba7a0e292eda0f2f470613cc28a97bda7ee66.zip
socket: add new Symlinks= option for socket units
With Symlinks= we can manage one or more symlinks to AF_UNIX or FIFO nodes in the file system, with the same lifecycle as the socket itself. This has two benefits: first, this allows us to remove /dev/log and /dev/initctl from /dev, thus leaving only symlinks, device nodes and directories in the /dev tree. More importantly however, this allows us to move /dev/log out of /dev, while still making it accessible there, so that PrivateDevices= can provide /dev/log too.
Diffstat (limited to '')
-rw-r--r--src/core/socket.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/socket.h b/src/core/socket.h
index 42b1a1fe06..f6bc37df8d 100644
--- a/src/core/socket.h
+++ b/src/core/socket.h
@@ -125,6 +125,8 @@ struct Socket {
SocketResult result;
+ char **symlinks;
+
bool accept;
bool remove_on_stop;