[lkml]   [2001]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: null pointer questions

Ken Ashcraft wrote:

> Why does it matter if 0 is a valid user space or not? If I make the call
> copy_from_user(0, user_ptr, 4);
> the null pointer is the kernel address, not the user address. Can you
> clarify please?

Sorry, I misunderstood you. The kernel address has to be a valid address
of course, otherwise the behavior is undefined.

bye, Roman
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:12    [W:0.350 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site