Messages in this thread |  | | Date | Sat, 03 Nov 2001 00:20:44 +0100 | From | Roman Zippel <> | Subject | Re: null pointer questions |
| |
Hi,
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 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/
|  |