HomeFreeBSD

Approved, oprócz użycie RESTORE_ERRNO() do ustawiania errno.

Description

Approved, oprócz użycie RESTORE_ERRNO() do ustawiania errno.

Change the nvlist_recv() function to take additional argument that
specifies flags expected on the received nvlist. Receiving a nvlist with
different set of flags than the ones we expect might lead to undefined
behaviour, which might be potentially dangerous.

Update consumers of this and related functions and update the tests.

Approved by: pjd (mentor)

Update man page for nvlist_unpack, nvlist_recv, nvlist_xfer, cap_recv_nvlist
and cap_xfer_nvlist.

Reviewed by: AllanJude
Approved by: pjd (mentor)

Details

Provenance
oshogboAuthored on
Reviewer
allanjude
Parents
rS282345: Initialize PxCMD on reset and make its read-only bits such.
Branches
Unknown
Tags
Unknown