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.
This commit is contained in:
Dave Reisner
2012-11-05 21:17:55 -05:00
parent edca2e2348
commit aea54018a5
6 changed files with 97 additions and 3 deletions
+1
View File
@@ -52,6 +52,7 @@ int socket_address_listen(
int *ret) {
int r, fd, one;
assert(a);
assert(ret);