From: Jeff Dike Date: Thu, 1 Mar 2007 04:13:33 +0000 (-0800) Subject: [PATCH] uml: pte_mkread fix X-Git-Tag: v2.6.21-rc3~162 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1463fdbcc797dfcb8574ababbd39cf6205f6ed00;p=pandora-kernel.git [PATCH] uml: pte_mkread fix Fix the fact that pte_mkread set _PAGE_RW instead of _PAGE_USER (the logic is copied from i386 in most place, so it is really as bad as you're thinking). Thus currently page tables are more permissive than they should. Such a change may trigger other latent bugs, so be careful with this. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed