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/socket.h | |
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/socket.h')
-rw-r--r-- | src/core/socket.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/socket.h b/src/core/socket.h index f099520dce..a273ac2740 100644 --- a/src/core/socket.h +++ b/src/core/socket.h @@ -118,6 +118,8 @@ struct Socket { mode_t directory_mode; mode_t socket_mode; + char *socket_user; + char *socket_group; SocketResult result; |