[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
copy_from_user
- To: linux-mm@kvack.org
- Subject: copy_from_user
- From: Amol Kumar Lad <amolk@ishoni.com>
- Date: 21 Dec 2002 18:26:30 -0500
- Fake-Sender: owner-linux-mm@kvack.org
- Original-Recipient: rfc822;linux-mm-archive@humbolt.geo.uu.nl
- Sender: Rik van Riel <riel@nl.linux.org>
Hi,
Suppose kernel tries to do copy_from_user from a pointer that does not
have any mapping. i.e. not in any VMA (and not in stack area too..).
Now (for 1386)
access_ok --> __range_ok
Suppose the 'from' ptr is within range then how kernel is making sure
that 'from' is invalid ??
The page fault handler will see that 'from' has no mapping and it will
die..
Please help
Amol
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/