setcred.2: Remove now obsolete mention of setgroups(2)'s different behavior

Reviewed by:    gbe
Fixes:          9da2fe96ff ("kern: fix setgroups(2) and getgroups(2) to match other platforms")
MFC after:      5 days
MFC to:         stable/15
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D52285
This commit is contained in:
Olivier Certner
2025-08-29 17:12:59 +02:00
parent 6d22cd6b5f
commit 66b54c48b2
+1 -6
View File
@@ -6,7 +6,7 @@
.\" This documentation was written by Olivier Certner <olce.freebsd@certner.fr> .\" This documentation was written by Olivier Certner <olce.freebsd@certner.fr>
.\" at Kumacom SARL under sponsorship from the FreeBSD Foundation. .\" at Kumacom SARL under sponsorship from the FreeBSD Foundation.
.\" .\"
.Dd December 19, 2024 .Dd August 29, 2025
.Dt SETCRED 2 .Dt SETCRED 2
.Os .Os
.Sh NAME .Sh NAME
@@ -119,11 +119,6 @@ It must be less than or equal to
An array of IDs to set the supplementary groups to, if flag An array of IDs to set the supplementary groups to, if flag
.Dv SETCREDF_SUPP_GROUPS .Dv SETCREDF_SUPP_GROUPS
is specified. is specified.
Note that all groups in this array will be set as supplementary groups only, in
contrast to
.Xr setgroups 2
which treats the first element specially as the new effective group, not adding
it to supplementary groups.
.It Fa sc_label .It Fa sc_label
A pointer to a valid MAC label structure, e.g., built with the A pointer to a valid MAC label structure, e.g., built with the
.Xr mac_from_text 3 .Xr mac_from_text 3