aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Certner <olce.freebsd@certner.fr>2023-08-17 23:54:46 +0000
committerMitchell Horne <mhorne@FreeBSD.org>2023-09-28 15:05:46 +0000
commit0452dd841336cea7cd979b13ef12b6ea5e992eff (patch)
tree895943b565c9141150630ff0554327253d572b93
parent5d9f38405a10fdcd9fc108c940dcf2642e9f1833 (diff)
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
-rw-r--r--share/man/man9/cr_bsd_visible.92
-rw-r--r--share/man/man9/cr_canseeothergids.98
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