Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Oct 2017 10:52:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-standards@FreeBSD.org
Subject:   [Bug 220779] getgroups result is affected by setegid
Message-ID:  <bug-220779-15-FndzsvmEuV@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-220779-15@https.bugs.freebsd.org/bugzilla/>
References:  <bug-220779-15@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220779

--- Comment #4 from Michael Zuo <muh.muhten@gmail.com> ---
The supplementary group list contains the egid.

If we set the supplementary group list with setgroups, then change the egid
with setegid, the previous egid is lost from the list of supplementary grou=
ps.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220779-15-FndzsvmEuV>