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.

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

(cherry picked from commit f7c4f800cc0b4fac1c99cda8e22d46b67592f9fa)
(cherry picked from commit 37aeac44647dbf2c194c70a56a3fd52aef365aba)

Details

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