HomeFreeBSD

MFC r331077 (brooks): Add _IOC_NEWLEN() and _IOC_NEWTYPE() macros.

Description

MFC r331077 (brooks): Add _IOC_NEWLEN() and _IOC_NEWTYPE() macros.

These macros take an existing ioctl(2) command and replace the length
with the specified length or length of the specified type respectively.
These can be used to define commands for 32-bit compatibility with fewer
opportunities for cut-and-paste errors then a whole new definition.

Obtained from: CheriBSD
Sponsored by: DARPA, AFRL

Details

Provenance
emasteAuthored on
Parents
rS332501: Pull in r325446 from upstream clang trunk (by me):
Branches
Unknown
Tags
Unknown