]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
compat_ioctl: move isdn/capi ioctl translation into driver
authorArnd Bergmann <arnd@arndb.de>
Thu, 6 Sep 2018 21:17:20 +0000 (23:17 +0200)
committerArnd Bergmann <arnd@arndb.de>
Wed, 23 Oct 2019 15:23:44 +0000 (17:23 +0200)
commit5565a3cac5038561155e57451604fce2b5eb4dd7
tree60c22373d9f60b9704abceac4af14fc2790fd461
parent0ba9841adb8659856cebb3b54a555e45a5f7fce5
compat_ioctl: move isdn/capi ioctl translation into driver

Neither the old isdn4linux interface nor the newer mISDN stack
ever had working 32-bit compat mode as far as I can tell.

However, the CAPI stack has some ioctl commands that are
correctly listed in fs/compat_ioctl.c.

We can trivially move all of those into the corresponding
file that implement the native handlers by adding a compat_ioctl
redirect to that.

I did notice that treating CAPI_MANUFACTURER_CMD() as compatible
is broken, so I'm also adding a handler for that, realizing that
in all likelyhood, nobody is ever going to call it.

Cc: Karsten Keil <isdn@linux-pingi.de>
Cc: netdev@vger.kernel.org
Cc: isdn4linux@listserv.isdn4linux.de
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/isdn/capi/capi.c
fs/compat_ioctl.c