[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.021 / U:36.488 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site