lkml.org 
[lkml]   [2002]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: AUDIT of 2.5.15 copy_to/from_user
    Date
    From
    > alan@lxorguk.ukuu.org.uk said:
    > > > > After that we always use __copy_from_user() and we trust it not to fail.
    > > > This is correct
    >
    > > The only check done in access_ok on x86 is the 0xC0000000->0xFFFFFFFF
    > > check with isnt affected by remappings.
    >
    > Right.... so trusting __copy_to_user() not to fail doesn't seem
    > particularly correct.

    EFAULT reporting is not required by posix. Its not so much incorrect as
    slightly rude..
    -
    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: 2005-03-22 13:26    [W:4.066 / U:1.496 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site