aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/cloudabi64
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2018-10-03 20:39:48 +0000
committerBrooks Davis <brooks@FreeBSD.org>2018-10-03 20:39:48 +0000
commit23f2e22802fcf2ec666a31c5727004107b596bd3 (patch)
tree9022871dfe85379ce55dbad1af3d45f4755af93e /sys/compat/cloudabi64
parenta669177576f30de41c8959959012f963254ebe19 (diff)
downloadsrc-23f2e22802fcf2ec666a31c5727004107b596bd3.tar.gz
src-23f2e22802fcf2ec666a31c5727004107b596bd3.zip
Move 32-bit compat support for FIODGNAME to the right place.
ioctl(2) commands only have meaning in the context of a file descriptor so translating them in the syscall layer is incorrect. The new handler users an accessor to retrieve/construct a pointer from the last member of the passed structure and relies on type punning to access the other member which requires no translation. Reviewed by: kib Approved by: re (rgrimes, gjb) Obtained from: CheriBSD Sponsored by: DARPA, AFRL Differential Review: https://reviews.freebsd.org/D17388
Notes
Notes: svn path=/head/; revision=339174
Diffstat (limited to 'sys/compat/cloudabi64')
0 files changed, 0 insertions, 0 deletions