public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Question: ioctl functions
@ 2005-04-22 22:18 Benoit Boissinot
  0 siblings, 0 replies; only message in thread
From: Benoit Boissinot @ 2005-04-22 22:18 UTC (permalink / raw)
  To: Kernel Mailing List

It looks like (i havent checked all the tree) that every function that
is registered as ioctl (or
read_ioctl or fb_ioctl or ...) have an argument "unsigned long arg",
then each function is using
it like this:

void __user *argp = (void __user *)arg;

I am wondering why the argument isn't from type "void __user *".

Thanks,

Benoit

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-04-22 22:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-22 22:18 Question: ioctl functions Benoit Boissinot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox