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

(cherry picked from commit f7c4f800cc0b4fac1c99cda8e22d46b67592f9fa)

Details

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