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/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220779

--- 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 groups.

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

home | help

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