On Fri, Mar 15, 2013 at 11:01 AM, Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote: > > get_user_pages() does check permissions. It looks up the vma and > checks them there, which is much more than access_ok() ever does. To clarify: the fact that a vma exists at all already means "it's a user mapping" (with the special gate area being a secondary user mapping). So you don't need any kind of explicit user check. Linus -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html