0254454772
For _IO() ioctls, addr is a pointer to uap->data which is a caddr_t. When the caddr_t stores an int, dereferencing addr as an (int *) results in truncation on little-endian 64-bit systems and corruption (owing to extracting top bits) on big-endian 64-bit systems. In practice the value of chan was probably always zero on systems of the latter type as all such FreeBSD platforms use a register-based calling convention. Reviewed by: mav Obtained from: CheriBSD MFC after: 1 week Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D14673 |
||
---|---|---|
.. | ||
DriverManual.txt | ||
Hardware.txt | ||
isp_freebsd.c | ||
isp_freebsd.h | ||
isp_ioctl.h | ||
isp_library.c | ||
isp_library.h | ||
isp_pci.c | ||
isp_sbus.c | ||
isp_stds.h | ||
isp_target.c | ||
isp_target.h | ||
isp.c | ||
ispmbox.h | ||
ispreg.h | ||
ispvar.h |