diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2016-12-12 13:50:26 +0000 |
---|---|---|
committer | Amit Pundir <amit.pundir@linaro.org> | 2017-01-16 15:00:56 +0530 |
commit | 5838a6dbb1cd44a824e6dfcf6316636631084831 (patch) | |
tree | f3eb1b0a85438a025cb0f3d369037b22d5a3bcc9 /net/socket.c | |
parent | af43b1ce6227db54b5ffb8d97d2bd88c80d03a47 (diff) |
UPSTREAM: arm64: Disable PAN on uaccess_enable()
Commit 4b65a5db3627 ("arm64: Introduce uaccess_{disable,enable}
functionality based on TTBR0_EL1") added conditional user access
enable/disable. Unfortunately, a typo prevents the PAN bit from being
cleared for user access functions.
Restore the PAN functionality by adding the missing '!'.
Fixes: b65a5db3627 ("arm64: Introduce uaccess_{disable,enable} functionality based on TTBR0_EL1")
Reported-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Bug: 31432001
Change-Id: If61cb6cc756affc7df7fa06213723a8b96eb1e80
(cherry picked from commit 75037120e62b58c536999eb23d70cfcb6d6c0bcc)
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions