lkml.org 
[lkml]   [2006]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: copy_from_user / copy_to_user with no swap space
    Date
    Am Montag, 16. Oktober 2006 21:19 schrieb mfbaustx:
    > So, IF you MUST copy_from/to_user when in the context of the process, AND  
    > IF you have no virtual memory/swapping, THEN must it not be true that you  
    > can ALWAYS dereferences your user space pointers?

    No. Your code may be only partially paged into RAM.
    The same can happen for any mmaped data.

    Regards
    Oliver
    -
    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/

    \
     
     \ /
      Last update: 2006-10-16 21:31    [W:0.020 / U:0.272 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site