]> err.no Git - linux-2.6/commit
[S390] protect _PAGE_SPECIAL bit against mprotect
authorNick Piggin <npiggin@suse.de>
Tue, 8 Jul 2008 09:31:06 +0000 (11:31 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 8 Jul 2008 09:31:15 +0000 (11:31 +0200)
commit138c9021ca68d6f8a6fac3418995fee102a3cc22
treef345a4754d5551b8578051379a68594618dda190
parent7b51ba38d9baca207152d1c97ec793cfb673a6cd
[S390] protect _PAGE_SPECIAL bit against mprotect

Stop mprotect's pte_modify from wiping out the s390 pte_special bit, which
caused oops thereafter when vm_normal_page thought X's abnormal was normal.

Debugged-by: Ryan Hope <rmh3093@gmail.com>
Debugged-by: Zan Lynx <zlynx@acm.org>
Acked-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
include/asm-s390/pgtable.h