]> git.baikalelectronics.ru Git - kernel.git/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)
commit2e7e744b721ed123c97deb03a96af68dbd445eec
treef345a4754d5551b8578051379a68594618dda190
parente889ed25a14a3072a6baab2c07f524df205b6315
[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