diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-11-05 12:50:19 -0500 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-11-05 21:17:55 -0500 |
commit | aea54018a5e66a41318afb6c6be745b6aef48d9e (patch) | |
tree | a76adbe80c82522b3a15f2a46d6e4258905727d3 /src/core/load-fragment-gperf.gperf.m4 | |
parent | edca2e2348b314e2d892fe6f8ae276fdc223f014 (diff) |
Implement SocketUser= and SocketGroup= for [Socket]
Since we already allow defining the mode of AF_UNIX sockets and FIFO, it
makes sense to also allow specific user/group ownership of the socket
file for restricting access.
Diffstat (limited to 'src/core/load-fragment-gperf.gperf.m4')
-rw-r--r-- | src/core/load-fragment-gperf.gperf.m4 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/load-fragment-gperf.gperf.m4 b/src/core/load-fragment-gperf.gperf.m4 index 0c5ccebd73..b48e9e9f56 100644 --- a/src/core/load-fragment-gperf.gperf.m4 +++ b/src/core/load-fragment-gperf.gperf.m4 @@ -189,6 +189,8 @@ Socket.ExecStopPost, config_parse_exec, SOCKET_EXEC Socket.TimeoutSec, config_parse_usec, 0, offsetof(Socket, timeout_usec) Socket.DirectoryMode, config_parse_mode, 0, offsetof(Socket, directory_mode) Socket.SocketMode, config_parse_mode, 0, offsetof(Socket, socket_mode) +Socket.SocketUser, config_parse_string, 0, offsetof(Socket, socket_user) +Socket.SocketGroup, config_parse_string, 0, offsetof(Socket, socket_group) Socket.Accept, config_parse_bool, 0, offsetof(Socket, accept) Socket.MaxConnections, config_parse_unsigned, 0, offsetof(Socket, max_connections) Socket.KeepAlive, config_parse_bool, 0, offsetof(Socket, keep_alive) |