From 811ba7a0e292eda0f2f470613cc28a97bda7ee66 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 4 Jun 2014 16:19:00 +0200 Subject: 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. --- src/core/socket.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/socket.h') 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; -- cgit v1.2.3-54-g00ecf