summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-11-05 12:50:19 -0500
committerDave Reisner <dreisner@archlinux.org>2012-11-05 21:17:55 -0500
commitaea54018a5e66a41318afb6c6be745b6aef48d9e (patch)
treea76adbe80c82522b3a15f2a46d6e4258905727d3 /src/shared
parentedca2e2348b314e2d892fe6f8ae276fdc223f014 (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/shared')
-rw-r--r--src/shared/socket-label.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/socket-label.c b/src/shared/socket-label.c
index ff212de825..d105a66fe8 100644
--- a/src/shared/socket-label.c
+++ b/src/shared/socket-label.c
@@ -52,6 +52,7 @@ int socket_address_listen(
int *ret) {
int r, fd, one;
+
assert(a);
assert(ret);