HomeFreeBSD

sys/rpc: Define AUTH_SYS_MAX_{GROUPS,HOSTNAME}

Description

sys/rpc: Define AUTH_SYS_MAX_{GROUPS,HOSTNAME}

As, respectively, the maximum number of "supplementary" groups and the
maximum hostname size allowed in the credentials structure for AUTH_SYS
(aka, AUTH_UNIX).

Will be used in subsequent commits.

Reviewed by: rmacklem
MFC after: 2 days
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D52961

Details

Provenance
olceAuthored on Tue, Oct 7, 7:51 AM
Reviewer
rmacklem
Differential Revision
D52961: sys/rpc: Define AUTH_SYS_MAX_{GROUPS,HOSTNAME}
Parents
rG47e9c81d4f13: sys/rpc: UNIX auth: Fix OOB accesses, notably writes on decode
Branches
Unknown
Tags
Unknown