Re: What does __user do?

2007-12-07 Thread Thomas Petazzoni
Le Fri, 07 Dec 2007 10:28:53 +0100, Peter Poulsen <[EMAIL PROTECTED]> a écrit : > I have noticed __user in some code, when a pointer points to > userspace code. What does that do exaclty? AFAIK, they are used by sparse[1] to verify that the kernel code doesn't access directly to pointers pointing

Re: What does __user do?

2007-12-07 Thread Robert P. J. Day
On Fri, 7 Dec 2007, Peter Poulsen wrote: > I have noticed __user in some code, when a pointer points to > userspace code. What does that do exaclty? it's meant to denote that the pointer is a pointer to *userspace*, not kernel space. it doesn't actually get involved in the build process, it's fo

What does __user do?

2007-12-07 Thread Peter Poulsen
I have noticed __user in some code, when a pointer points to userspace code. What does that do exaclty? /peter -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to [EMAIL PROTECTED] Please read the FAQ at http://kernelnewbies.org/FAQ