This is more correct in that ioctl commands have no meaning until they
hit the handler associated with the file descriptor.
Add support for MDIOCRESIZE_32 which was missed when it was added.
Differential D14714
Move 32-bit compat for md(4) ioctls into the md code. brooks on Mar 17 2018, 12:02 AM. Authored by Tags None Referenced Files
Details
This is more correct in that ioctl commands have no meaning until they Add support for MDIOCRESIZE_32 which was missed when it was added.
Diff Detail
Event Timeline
Comment Actions I agree that the move to md code is more correct since numeric ioctl value does not completely identify the operation. OTOH, there is some desire to have compat32.ko, which so far did not resulted in any action.
Comment Actions I think we'll need a COMPAT_FREEBSD32_SUPPORT define for a long time (likely forever) if we do that we can put this tiny bit of code under there when the time comes. We'll need at least a little bit of COMPAT_FREEBSD32_SUPPORT code here to have a fall-through to a loaded handler.
Comment Actions
|