From e910005b1a337093109af29c7bf21b32c343ab56 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 4 Feb 2019 19:04:05 +0000 Subject: Revert -I, but add uid/self and gid/self to uidgid accessrules checking --- doc/libs6/accessrules.html | 15 +++++++++++---- doc/s6-ipcserver-access.html | 7 +++---- doc/upgrade.html | 4 +++- 3 files changed, 17 insertions(+), 9 deletions(-) (limited to 'doc') diff --git a/doc/libs6/accessrules.html b/doc/libs6/accessrules.html index 821575d..2360cfc 100644 --- a/doc/libs6/accessrules.html +++ b/doc/libs6/accessrules.html @@ -124,10 +124,17 @@ is not S6_ACCESSRULES_NOTFOUND. If no match can be found in the whole list, s6_accessrules_keycheck_uidgid interprets key as a pointer to a structure containing an uid u and a gid g. -The function first looks -for a uid/u match; if it cannot find one, it looks for a -gid/g match. If it cannot find one either, it checks -uid/default and returns the result. +The following checks are performed, in this order (i.e. subsequent +checks are not performed if a match is found): +
  • s6_accessrules_keycheck_reversedns interprets key diff --git a/doc/s6-ipcserver-access.html b/doc/s6-ipcserver-access.html index 80b7503..b09d74a 100644 --- a/doc/s6-ipcserver-access.html +++ b/doc/s6-ipcserver-access.html @@ -30,7 +30,7 @@ the application program on the s6-ipcserver command line.

    Interface

    -     s6-ipcserver-access [ -v verbosity ] [ -E | -e ] [ -l localname ] [ -I ] [ -i rulesdir | -x rulesfile ] prog...
    +     s6-ipcserver-access [ -v verbosity ] [ -E | -e ] [ -l localname ] [ -i rulesdir | -x rulesfile ] prog...
     

    in 2.7.2.2

    -- cgit v1.2.3