Re: [PATCH] net: 32 bit (socket layer) ioctl emulation for 64 bit kernels

2006-01-11 Thread Arnd Bergmann
On Wednesday 11 January 2006 06:28, Shaun Pereira wrote: > And the correct x.25 patch, (will build a [PATCH] if this is ok). > Tested with with xot to a Cisco box. Much better now, but > + switch(cmd) { > + case TIOCOUTQ: > + case TIOCINQ: Looking at how these

Re: [PATCH] net: 32 bit (socket layer) ioctl emulation for 64 bit kernels

2006-01-10 Thread Shaun Pereira
And the correct x.25 patch, (will build a [PATCH] if this is ok). Tested with with xot to a Cisco box. Thanks once again for your help /Shaun Index: linux-2.6.15/net/x25/af_x25.c === --- linux-2.6.15.orig/net/x25/af_x25.c +++ linux-

Re: [PATCH] net: 32 bit (socket layer) ioctl emulation for 64 bit kernels

2006-01-09 Thread Arnaldo Carvalho de Melo
On 1/9/06, Arnd Bergmann <[EMAIL PROTECTED]> 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 reach

Re: [PATCH] net: 32 bit (socket layer) ioctl emulation for 64 bit kernels

2006-01-09 Thread Arnd Bergmann
On Monday 09 January 2006 06:46, Shaun Pereira wrote: > Hi all, > The attached patch is a follow up to a post made earlier to this site > with regard to 32 bit (socket layer) ioctl emulation for 64 bit kernels. Ok, cool. Note that I also posted a longer series of patches that does this and much mo

[PATCH] net: 32 bit (socket layer) ioctl emulation for 64 bit kernels

2006-01-08 Thread Shaun Pereira
Hi all, The attached patch is a follow up to a post made earlier to this site with regard to 32 bit (socket layer) ioctl emulation for 64 bit kernels. I needed to implement 32 bit userland ioctl support for modular (x.25) socket ioctls in a 64 bit kernel. With the removal of the register_ioctl32_c