diff options
author | Arnd Bergmann <[email protected]> | 2019-06-03 22:03:44 +0200 |
---|---|---|
committer | Arnd Bergmann <[email protected]> | 2019-10-23 17:23:46 +0200 |
commit | 5f6beb9e0f633f3cc845cdd67973c506372931b4 (patch) | |
tree | f8bf54832b3e73b981a1f55646dad4953a712cde /lib/mpi/mpiutil.c | |
parent | 98aaaec4a150c39219a8aaa68c3adc6eed443ea8 (diff) |
af_unix: add compat_ioctl support
The af_unix protocol family has a custom ioctl command (inexplicibly
based on SIOCPROTOPRIVATE), but never had a compat_ioctl handler for
32-bit applications.
Since all commands are compatible here, add a trivial wrapper that
performs the compat_ptr() conversion for SIOCOUTQ/SIOCINQ. SIOCUNIXFILE
does not use the argument, but it doesn't hurt to also use compat_ptr()
here.
Fixes: ba94f3088b79 ("unix: add ioctl to open a unix socket file with O_PATH")
Cc: [email protected]
Cc: "David S. Miller" <[email protected]>
Cc: Eric Dumazet <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions