Re: ioctl call for network device

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Wed May 02 2001 - 06:44:12 EST


> but I believe that I'm oblige to use the struct ifreq and I can't
> pass any other arguments because an user can't acces kernel space
> so the ioctl call recopy data in the kernel space (this is what I've
> understood, maybe I'm wrong ...).

You can either pass your own data inside of ifr_data[] or you can pass
a pointer in ifr_data and do the copy to/from user space yourself
-
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/



This archive was generated by hypermail 2b29 : Mon May 07 2001 - 21:00:13 EST