HomeFreeBSD

fb: Check for errors from copyin()

Description

fb: Check for errors from copyin()

When compiling with gcc, a function annotated with __result_use_check
cannot have its return value ignored with a void cast. So, try to
handle it.

MFC after: 1 week

Details

Provenance
markjAuthored on Jan 12 2024, 3:09 PM
Parents
rG5df041c4bbf7: bhyveload(8): document some SECURITY CONSIDERATIONS
Branches
Unknown
Tags
Unknown