freebsd-dev/sys/fs/devfs
Brooks Davis ed34a7fcf2 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.

Unlike r339174 this change supports both places FIODGNAME is handled.

Reviewed by:	kib
Obtained from:	CheriBSD
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D17475
2018-10-26 17:59:25 +00:00
..
devfs_devs.c Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
devfs_dir.c r326394 is calling malloc with M_WAITOK under a lock, revert for now 2017-11-30 14:06:54 +00:00
devfs_int.h sys/fs: further adoption of SPDX licensing ID tags. 2017-11-27 15:15:37 +00:00
devfs_rule.c sys/fs: further adoption of SPDX licensing ID tags. 2017-11-27 15:15:37 +00:00
devfs_vfsops.c Make it easier for filesystems to count themselves as jail-enabled, 2018-05-04 20:54:27 +00:00
devfs_vnops.c Move 32-bit compat support for FIODGNAME to the right place. 2018-10-26 17:59:25 +00:00
devfs.h sys/fs: further adoption of SPDX licensing ID tags. 2017-11-27 15:15:37 +00:00