summaryrefslogtreecommitdiffstats
path: root/include/asm-generic
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-06-03 22:03:44 +0200
committerArnd Bergmann <arnd@arndb.de>2019-10-23 17:23:46 +0200
commit5f6beb9e0f633f3cc845cdd67973c506372931b4 (patch)
treef8bf54832b3e73b981a1f55646dad4953a712cde /include/asm-generic
parent98aaaec4a150c39219a8aaa68c3adc6eed443ea8 (diff)
downloadtalos-op-linux-5f6beb9e0f633f3cc845cdd67973c506372931b4.tar.gz
talos-op-linux-5f6beb9e0f633f3cc845cdd67973c506372931b4.zip
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: netdev@vger.kernel.org Cc: "David S. Miller" <davem@davemloft.net> Cc: Eric Dumazet <edumazet@google.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'include/asm-generic')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud