HomeFreeBSD

libc/nss: Ensure that setgroupent(3) actually works as advertised

Description

libc/nss: Ensure that setgroupent(3) actually works as advertised

Because the "files" and "compat" implementations failed to set the
"stayopen", keyed lookups would close the database handle, contrary to
the purpose of setgroupent(3). setpassent(3)'s implementation does not
have this bug.

PR: 165527
Submitted by: Andrey Simonenko
MFC after: 1 month

Details

Provenance
markjAuthored on Jan 21 2021, 7:30 PM
Parents
rG6e411d8b14ec: libc/nss tests: Add regression tests for commit 55444c823e1f
Branches
Unknown
Tags
Unknown