From nobody Thu Sep 28 15:10:53 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RxH3x71jVz4tv44; Thu, 28 Sep 2023 15:10:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RxH3x5QRTz3YkQ; Thu, 28 Sep 2023 15:10:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695913853; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=J/fetu3wzsHMIWGEgWqek6rB5hy+iBBFpHBV1lah9kE=; b=sNNBhJlZWwTdj9jz92YBK42xqsHHZalkrJ8CHp84eg+UVieXw2bYQLE8hMkB0QEWUvqmiJ gFczVb0BJMVUCDrslZUoI1qnpvy4KXdJFIeCUZRzXPbLIqIpfW7iCilDlPuNrFDz9edFbJ MWvETVkXWJaztsSD7RnvcMpQl887PDkGkpULCfOqLTpDW2LZ7RW5d9h+zjLQ+G/deWopJv H1yyO03VAwn/tEwO/2/ni9nnlMUVKlaHEkohFrrVCk+3Iix6GPgiRehzaaoHgnGGeDdvcs xCDrlTvsCU/PlOIUcgldjWswqwNAyMOVBMWZ6pDFGdQJo1WFRZIcgAYDQ5Sw2w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695913853; a=rsa-sha256; cv=none; b=dy2/rh2q9Mhlkr3nc6o+XO1ri65gjxnSIdSzO8XqLbwrWWh0IR+uMKtwRb64n8AI3cuAPi zx1CMG6NkPXYjf84P5xjWr5TL3gu/rvt/38bQmcrSyQlV1LxVmDyhvN8AedosJ8xLY1SIL mRcMFCYdnedH4FTvoG2q5ujrEiOkS7DqxgYf/TqnPkvbF/4CIBOnZcOtSZMNO3VGcZYYq9 iGgo53U+usnvYbdGoqPdtjru1O6Aj62TZuHyTRC5nPiodnx6rTGwr8YEUyOv2AFCwuwcWc o5do1yaszQ5j0PDnDGZho+FRWSYRiDC8U/7nHUtRFDBi4Et3YqjaTI5gfyqIOg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695913853; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=J/fetu3wzsHMIWGEgWqek6rB5hy+iBBFpHBV1lah9kE=; b=RJs8fgIjIXx6FbLozgBU0hLnp8OZ5D8Mi7RDuPiYBEU2W6ThLXJsB+sE7TOgKdhI84+upI qiwQI+qvw3A5v5K9Fb+gP0sYoNQIx1ZC2Kft8Fq3TuOPtmxgjoM345FplB3HFPbWgyRFpg cPc8s8jDsIevAZoSIyiAFtsac59xham9eatiCZFgGA3mPX+5FO7PWu+7dP8QeiRi5+isuj YTmQm4oMmfLAekJyBemg55wfPIjOhAL/PBsR2r8zCZj8yqSj8+V6cK6irAoQGCmFzkgPlq PHd2tJb7AWjePGvnEjR5Cmh1MbX9TBw8lSC2wB8XmSWh7YgvCrKE1FiZHTlOVQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RxH3x4WMYzBXg; Thu, 28 Sep 2023 15:10:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 38SFAruD047935; Thu, 28 Sep 2023 15:10:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38SFArFg047932; Thu, 28 Sep 2023 15:10:53 GMT (envelope-from git) Date: Thu, 28 Sep 2023 15:10:53 GMT Message-Id: <202309281510.38SFArFg047932@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mitchell Horne Subject: git: 0452dd841336 - main - cr_canseeothergids(): Policy change's manual pages impact List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mhorne X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0452dd841336cea7cd979b13ef12b6ea5e992eff Auto-Submitted: auto-generated The branch main has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=0452dd841336cea7cd979b13ef12b6ea5e992eff commit 0452dd841336cea7cd979b13ef12b6ea5e992eff Author: Olivier Certner AuthorDate: 2023-08-17 23:54:46 +0000 Commit: Mitchell Horne CommitDate: 2023-09-28 15:05:46 +0000 cr_canseeothergids(): Policy change's manual pages impact See previous commit that made cr_canseeothergids() use the new realgroupmember() function, taking into account real group IDs instead of effective ones. PR: 272093 Reviewed by: pauamma_gundo.com, mhorne MFC after: 2 weeks Sponsored by: Kumacom SAS Differential Revision: https://reviews.freebsd.org/D40644 --- share/man/man9/cr_bsd_visible.9 | 2 +- share/man/man9/cr_canseeothergids.9 | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/share/man/man9/cr_bsd_visible.9 b/share/man/man9/cr_bsd_visible.9 index bd676e6f5705..f2d42f3835dc 100644 --- a/share/man/man9/cr_bsd_visible.9 +++ b/share/man/man9/cr_bsd_visible.9 @@ -97,7 +97,7 @@ and are not members of any common group .Po as determined by -.Xr groupmember 9 +.Xr realgroupmember 9 .Pc . .It Bq Er ESRCH Credentials diff --git a/share/man/man9/cr_canseeothergids.9 b/share/man/man9/cr_canseeothergids.9 index f0c1e5c4e726..109d41a8545d 100644 --- a/share/man/man9/cr_canseeothergids.9 +++ b/share/man/man9/cr_canseeothergids.9 @@ -48,9 +48,9 @@ This function checks if a subject associated to credentials is denied seeing a subject or object associated to credentials .Fa u2 by a policy that requires both credentials to have at least one group in common. -For this determination, the effective and supplementary group IDs are used, but -not the real group IDs, as per -.Xr groupmember 9 . +For this determination, the real and supplementary group IDs are used, but +not the effective group IDs, as per +.Xr realgroupmember 9 . .Pp This policy is active if and only if the .Xr sysctl 8 @@ -79,5 +79,5 @@ Otherwise, it returns .Er ESRCH . .Sh SEE ALSO .Xr cr_bsd_visible 9 , -.Xr groupmember 9 , +.Xr realgroupmember 9 , .Xr priv_check_cred 9