All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC, PATCH 0/7] net, compat_ioctl: move handlers to net/socket.c
@ 2009-11-06 18:09 ` Arnd Bergmann
  0 siblings, 0 replies; 18+ messages in thread
From: Arnd Bergmann @ 2009-11-06 18:09 UTC (permalink / raw)
  To: linux-kernel; +Cc: David Miller, Christoph Hellwig, netdev, Arnd Bergmann

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1512 bytes --]

This cleans up some of the socket ioctl handling by moving it
from fs/compat_ioctl.c to net/socket.c. The code is still untested,
so this is an RFC for now. If you're happy with it, I'll do some
testing to see if everything still works.

This series is a prerequisite for cleaning up the rest of
compat_ioctl.c, saving some 30kb of kernel memory in the end.

The first four patches are probably worthwhile independently,
because they fix some bugs in compat_ioctl handling.
There is some obvious conflict with the ATM patch I sent
independently today. That one should probably be worked out
first.

	Arnd <><

---

Arnd Bergmann (7):
  compat: add struct compat_ifreq etc to compat.h
  net/tun: handle compat_ioctl directly
  net, compat_ioctl: handle socket ioctl abuses in tty drivers
  appletalk: handle SIOCATALKDIFADDR compat ioctl
  copy socket ioctl code to net/socket.h
  compat: move sockios handling to net/socket.c
  net, compat_ioctl: handle more ioctls correctly

 drivers/net/hamradio/6pack.c |   16 +
 drivers/net/hamradio/mkiss.c |   16 +
 drivers/net/slip.c           |   21 ++
 drivers/net/tun.c            |   55 +++-
 drivers/net/wan/x25_asy.c    |   15 +
 drivers/net/wireless/strip.c |   12 +
 fs/compat_ioctl.c            |  745 -----------------------------------------
 include/linux/compat.h       |   39 +++
 net/appletalk/ddp.c          |   12 +-
 net/socket.c                 |  748 +++++++++++++++++++++++++++++++++++++++++-
 10 files changed, 914 insertions(+), 765 deletions(-)


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2009-11-09 14:48 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-06 18:09 [RFC, PATCH 0/7] net, compat_ioctl: move handlers to net/socket.c Arnd Bergmann
2009-11-06 18:09 ` Arnd Bergmann
2009-11-06 18:09 ` [PATCH 1/7] compat: add struct compat_ifreq etc to compat.h Arnd Bergmann
2009-11-06 18:17   ` Daniel Walker
2009-11-06 18:09 ` [PATCH 2/7] net/tun: handle compat_ioctl directly Arnd Bergmann
2009-11-06 18:09 ` [PATCH 3/7] net, compat_ioctl: handle socket ioctl abuses in tty drivers Arnd Bergmann
2009-11-06 18:09 ` [PATCH 4/7] appletalk: handle SIOCATALKDIFADDR compat ioctl Arnd Bergmann
2009-11-06 18:09 ` [PATCH 5/7] copy socket ioctl code to net/socket.h Arnd Bergmann
2009-11-06 18:09 ` [PATCH 6/7] compat: move sockios handling to net/socket.c Arnd Bergmann
2009-11-06 18:09 ` [PATCH 7/7] net, compat_ioctl: handle more ioctls correctly Arnd Bergmann
2009-11-07  4:47 ` [RFC, PATCH 0/7] net, compat_ioctl: move handlers to net/socket.c David Miller
2009-11-08 21:31   ` Arnd Bergmann
2009-11-08 21:34     ` [PATCH 1/2] net, compat_ioctl: fix SIOCGMII ioctls Arnd Bergmann
2009-11-09  4:56       ` David Miller
2009-11-08 21:39     ` [PATCH 2/2] net/compat_ioctl: support SIOCWANDEV Arnd Bergmann
2009-11-09  4:57       ` David Miller
2009-11-09 14:48       ` Krzysztof Halasa
2009-11-09  4:55     ` [RFC, PATCH 0/7] net, compat_ioctl: move handlers to net/socket.c David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.