android_kernel_xiaomi_sm8350/net/atm
Arnd Bergmann 805003a41c net/atm: move all compat_ioctl handling to atm/ioctl.c
We have two implementations of the compat_ioctl handling for ATM, the
one that we have had for ages in fs/compat_ioctl.c and the one added to
net/atm/ioctl.c by David Woodhouse. Unfortunately, both versions are
incomplete, and in practice we use a very confusing combination of the
two.

For ioctl numbers that have the same identifier on 32 and 64 bit systems,
we go directly through the compat_ioctl socket operation, for those that

differ, we do a conversion in fs/compat_ioctl.c.

This patch moves both variants into the vcc_compat_ioctl() function,
while preserving the current behaviour. It also kills off the COMPATIBLE_IOCTL
definitions that we never use here.
Doing it this way is clearly not a good solution, but I hope it is a
step into the right direction, so that someone is able to clean up this
mess for real.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Eric Dumazet <eric.dumazet@gmail.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-11-11 19:22:23 -08:00
..
addr.c
addr.h
atm_misc.c
atm_sysfs.c
br2684.c atm/br2684: netif_stop_queue() when atm device busy and netif_wake_queue() when we can send packets again. 2009-09-02 23:46:10 -07:00
clip.c net: make neigh_ops constant 2009-09-01 17:40:57 -07:00
common.c net: Generalize socket rx gap / receive queue overflow cmsg 2009-10-12 13:26:31 -07:00
common.h net: Make setsockopt() optlen be unsigned. 2009-09-30 16:12:20 -07:00
ioctl.c net/atm: move all compat_ioctl handling to atm/ioctl.c 2009-11-11 19:22:23 -08:00
Kconfig
lec_arpc.h
lec.c convert ATM drivers to netdev_tx_t 2009-09-01 01:13:10 -07:00
lec.h
Makefile
mpc.c convert ATM drivers to netdev_tx_t 2009-09-01 01:13:10 -07:00
mpc.h
mpoa_caches.c
mpoa_caches.h
mpoa_proc.c proc 2/2: remove struct proc_dir_entry::owner 2009-03-31 01:14:44 +04:00
pppoatm.c
proc.c net: mark read-only arrays as const 2009-08-05 10:42:58 -07:00
protocols.h
pvc.c net: pass kern to net_proto_family create function 2009-11-05 22:18:14 -08:00
raw.c atm: sk_wmem_alloc initial value is one 2009-06-18 00:29:12 -07:00
resources.c
resources.h
signaling.c
signaling.h
svc.c net: pass kern to net_proto_family create function 2009-11-05 22:18:14 -08:00