HomeFreeBSD

usb: real freebsd32 support for most ioctls

Description

usb: real freebsd32 support for most ioctls

Use thunks or alternative access methods to support ioctls without
the COMPAT_32BIT hacks that store pointers in uint64_t's on 32-bit
platforms. This should allow a normal i386 libusb to work.

On CheriBSD, the sizes of the structs will differ between CheriABI
(the default) and freebsd64 no matter what so we need proper compat
support there. This change paves the way.

(cherry picked from commit 45b48cbc2b5819cd6e3dee3632d66e55d5d7c101)

Details

Provenance
brooksAuthored on Dec 17 2021, 9:28 PM
wulfCommitted on Dec 26 2022, 9:46 PM
Parents
rG9d56f34ba29d: hidraw: Return string lengths for certain ioctls
Branches
Unknown
Tags
Unknown