From: Jan Glauber Date: Tue, 15 Mar 2011 16:08:22 +0000 (+0100) Subject: [S390] Write protect module text and RO data X-Git-Tag: v2.6.39-rc1~455^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=305b1523250faf9675919def94906775992ce52d;p=pandora-kernel.git [S390] Write protect module text and RO data Implement write protection for kernel modules text and read-only data sections by implementing set_memory_[ro|rw] on s390. Since s390 has no execute bit in the pte's NX is not supported. set_memory_[ro|rw] will only work on normal pages and not on large pages, so in case a large page should be modified bail out with a warning. Signed-off-by: Jan Glauber Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed