On Tue, 2005-04-19 at 16:47 +0530, Mandeep Sandhu wrote: > hi all, > > a small Q. :) > > if i dereference a user-space pointer from inside my driver > (kernel code) without the customary checks of of copy_[to/from]_user, you don't even know if that pointer is not ALSO valid in the kernel. For example on s390 or with the x86 kernels with the 4g/4g patch. Kernel and user space are very much different domains. You really should treat them as such. copy_[to/from]_user (and related) are the api to bridge between the domains. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/