diff options
author | Will Deacon <will.deacon@arm.com> | 2013-01-09 11:08:10 +0000 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2013-01-10 10:43:44 +0000 |
commit | 02522463c84748b3b8ad770f9424bcfa70a5b4c4 (patch) | |
tree | 5fc357a4979da3d355735215a01900b3f2e2994c /fs/minix | |
parent | bdba0051ebcb3c6372f9cc0b2524c47cc6ce46fd (diff) | |
download | linux-rt-02522463c84748b3b8ad770f9424bcfa70a5b4c4.tar.gz |
arm64: mm: only wrprotect clean ptes if they are present
Marking non-present ptes as read-only can corrupt file ptes, breaking
things like swap and file mappings.
This patch ensures that we only manipulate user pte bits when the pte
is marked present.
Cc: <stable@vger.kernel.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'fs/minix')
0 files changed, 0 insertions, 0 deletions