]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix pointer-is-uint64_t-sized assumption in the ioctl path
authorAdrian Chadd <adrian@freebsd.org>
Thu, 15 Oct 2020 20:02:43 +0000 (13:02 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 10 Nov 2020 23:53:13 +0000 (15:53 -0800)
commit79a357c2a1fb42f9539af57aa729ca175a8115b9
tree3c0237f028ddd887bd395dff5bcfc24021581eb2
parenta4ae4998cbae3bb451642272738ab4d59b9714c4
Fix pointer-is-uint64_t-sized assumption in the ioctl path

This shows up when compiling freebsd-head on amd64 using gcc-6.4.
The lib32 compat build ends up tripping over this assumption.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: adrian chadd <adrian@freebsd.org>
Closes #11068
Closes #11069
lib/libzutil/os/freebsd/zutil_compat.c