Messages in this thread | | | Date | Mon, 9 Jan 2006 09:31:08 -0200 | From | Arnaldo Carvalho de Melo <> | Subject | Re: [PATCH] net: 32 bit (socket layer) ioctl emulation for 64 bit kernels |
| |
On 1/9/06, Arnd Bergmann <arnd@arndb.de> wrote: > On Monday 09 January 2006 06:46, Shaun Pereira wrote:
> > Since we are interested in ioctl's from userspace I have not added the > > .compat_ioctl function pointer to struct net_device. The assumption > > being once the userspace data has reached the kernel via the socket api, > > if the socket layer protocol knows how to handle the data, it will > > prepare it for the device. > > I think we need to have it in the long run, but if you don't need it > for x25, then it's not your call to implement net_device->compat_ioctl. > I've been thinking about how to get it right before, but did not > reach a proper conclusion, since dev_ioctl is called in so many places > that would all need to be changed for this.
Nowadays dev_ioctl is only called from one funcion: sock_ioctl in net/socket.c, this is after a recent changeset by hch.
- Arnaldo - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |