HomeFreeBSD

cred: group_is_supplementary(): Use bsearch()

Description

cred: group_is_supplementary(): Use bsearch()

This makes that function use a more efficient version of binary search
instead, and removes one more hand-rolled binary search code from the
tree (and the kernel binary).

Reviewed by: mhorne, emaste
Approved by: markj (mentor)
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D46907

Details

Provenance
olceAuthored on Jul 19 2024, 11:23 AM
Reviewer
mhorne
Differential Revision
D46907: cred: group_is_supplementary(): Use bsearch()
Parents
rGb15110fb0dc6: cred: Constify signature of groupmember() and realgroupmember()
Branches
Unknown
Tags
Unknown