]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] uml: pte_mkread fix
authorJeff Dike <jdike@addtoit.com>
Thu, 1 Mar 2007 04:13:33 +0000 (20:13 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 1 Mar 2007 22:53:38 +0000 (14:53 -0800)
commit1463fdbcc797dfcb8574ababbd39cf6205f6ed00
treed6039c743e89223ff553a2c8a64f59bc2c6cc5ca
parent14251809b1921b1216568700f1be2f91a1cbb5c7
[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 <blaisorblade@yahoo.it>
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-um/pgtable.h