From 1a7a0c79040d9efa654c151d8a057f34eb9be585 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 11 Dec 2017 19:11:23 +0000 Subject: Add "-a perms" option to s6-ipcserver(-socketbinder) --- doc/s6-ipcserver-socketbinder.html | 6 +++++- doc/s6-ipcserver.html | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/s6-ipcserver-socketbinder.html b/doc/s6-ipcserver-socketbinder.html index 6a291fa..ce43d50 100644 --- a/doc/s6-ipcserver-socketbinder.html +++ b/doc/s6-ipcserver-socketbinder.html @@ -26,7 +26,7 @@ socket, then executes a program.

Interface

-     s6-ipcserver-socketbinder [ -d | -D ] [ -b backlog ] [ -M | -m ] path prog...
+     s6-ipcserver-socketbinder [ -d | -D ] [ -b backlog ] [ -M | -m ] [ -a perms ] path prog...
 

Notes

diff --git a/doc/s6-ipcserver.html b/doc/s6-ipcserver.html index 4d73db1..829febb 100644 --- a/doc/s6-ipcserver.html +++ b/doc/s6-ipcserver.html @@ -108,6 +108,10 @@ Default is 40. It is impossible to set it higher than maxconn.
  • -b backlog : set a maximum of backlog backlog connections on the socket. Extra connection attempts will rejected by the kernel.
  • +
  • -a perms : create the socket with +permissions perms, which is an octal number from 0000 to 0777. +Default is 0777, meaning everyone can connect to it. 0700 means only processes having the +same uid as the s6-ipcserver process can connect to it.
  • -G gidlist : change s6-ipcserver's supplementary group list to gidlist after binding the socket. This is only valid when run as root. gidlist must be a -- cgit v1.3.1