HomeFreeBSD

Make pass driver better support CAM_CDB_POINTER flag.

Description

Make pass driver better support CAM_CDB_POINTER flag.

Previously pass driver just ignored the flag, making random kernel code
access user-space pointer, sometime causing crashes even for correctly
written applications if user-level context was switched or swapped out.
This patch tries to copyin the CDB into kernel space to avoid it.

MFC after: 2 weeks

Details

Provenance
mavAuthored on
Parents
rS307522: makesyscalls.sh: remove trailing space on the "created from" line
Branches
Unknown
Tags
Unknown