diff options
author | Will Deacon <[email protected]> | 2013-01-09 11:08:10 +0000 |
---|---|---|
committer | Catalin Marinas <[email protected]> | 2013-01-10 10:43:44 +0000 |
commit | 02522463c84748b3b8ad770f9424bcfa70a5b4c4 (patch) | |
tree | 5fc357a4979da3d355735215a01900b3f2e2994c /lib/debugobjects.c | |
parent | bdba0051ebcb3c6372f9cc0b2524c47cc6ce46fd (diff) |
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: <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions