HomeFreeBSD

Allow freebsd32 __sysctl(2) to return ENOMEM.

Description

Allow freebsd32 __sysctl(2) to return ENOMEM.

This is required by programs like sockstat that read variably sized
sysctls such as kern.file. The normal path has no such restriction and
the restriction was added without comment along with initial support for
freebsd32 in 2002 (r100384).

Reviewed by: kib
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D15438

Details

Provenance
brooksAuthored on
Reviewer
kib
Differential Revision
D15438: Allow freebsd32 __sysctl(2) to return ENOMEM.
Parents
rS333634: Added a new socketpair() test scenario.
Branches
Unknown
Tags
Unknown