HomeFreeBSD

hwt: On attach, ensure owner is a target effective GID's member

Description

hwt: On attach, ensure owner is a target effective GID's member

This restores a check that existed prior to commit be1f7435ef218b1d
("kern: start tracking cr_gid outside of cr_groups[]").

Fixes: be1f7435ef218b1d ("kern: start tracking cr_gid outside of cr_groups[]")
MFC after: 9 days
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D52253

Details

Provenance
olceAuthored on Aug 26 2025, 10:05 AM
Differential Revision
D52253: hwt: On attach, ensure owner is a target effective GID's member
Parents
rG1c40b15971f0: hwpmc: On attach, fix allowing a PMC's owner to attach it to itself
Branches
Unknown
Tags
Unknown