HomeFreeBSD

dmesg: accommodate message buffer growth between the sysctl calls

Description

dmesg: accommodate message buffer growth between the sysctl calls

Allocate 12.5% extra space to avoid ENOMEM when the message buffer
is growing steadily.

Reported by: Steve Wahl <steve_wahl@dell.com> (and tested)
Approved by: kib (mentor)
Obtained from: Dell Inc.
MFC after: 1 week

Details

Provenance
vangyzenAuthored on
Parents
rS281786: Add support for building arm64/aarch64 virtual machine images.
Branches
Unknown
Tags
Unknown

Event Timeline