Re: AUDIT of 2.5.15 copy_to/from_user
Alan Cox (firstname.lastname@example.org)
Sun, 19 May 2002 19:20:23 +0100 (BST)
> > > After that we always use __copy_from_user() and we trust it not to fail.
> > > Is this correct, or not?
> > This is correct
> Even if another thread unmaps the page we were trying to read from between
> the access_ok() and the actual copy?
The only check done in access_ok on x86 is the 0xC0000000->0xFFFFFFFF check
with isnt affected by remappings.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/