Re: [HEADSUP] ucred / group changes in FreeBSD 15.0
- In reply to: Kyle Evans : "Re: [HEADSUP] ucred / group changes in FreeBSD 15.0"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 08 Aug 2025 13:47:52 UTC
Kyle Evans <kevans@FreeBSD.org> writes: > Dag-Erling Smørgrav <des@FreeBSD.org> writes: > > Why not just: > > gid_t cr_gid; /* effective group id */ > > gid_t cr_groups[XU_NGROUPS - 1]; > > which would be fully ABI compatible? > kib might have a more well-reasoned opinion here, but my perhaps > slightly-paranoid view was that we should consider cr_groups sizing to > be a property of the ABI since it's a cross-platform interface. Uh, yes, in reality we'd have to shrink XU_NGROUPS by 1 instead so the obvious `for (i = 0; i < XU_NGROUPS; i++)` doesn't run off the end. DES -- Dag-Erling Smørgrav - des@FreeBSD.org