HomeFreeBSD

MFC r330820:

Description

MFC r330820:

Reject ioctls to SCSI enclosures from 32-bit compat processes.

The ioctl objects contain pointers and require translation and some
refactoring of the infrastructure to work. For now prevent opertion
on garbage values. This is very slightly overbroad in that ENCIOC_INIT
is safe.

Reviewed by: imp, kib
Obtained from: CheriBSD
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D14671

Details

Provenance
brooksAuthored on
Reviewer
imp
Differential Revision
D14671: Reject ioctls to SCSI enclosures from 32-bit compat processes.
Parents
rS331632: MFC r330819, r330885, r330934
Branches
Unknown
Tags
Unknown