diff options
author | Julien Thierry | 2019-01-15 14:58:27 +0100 |
---|---|---|
committer | Catalin Marinas | 2019-01-25 13:30:48 +0100 |
commit | 0bd3ef34d2a8dd4056560567073d8bfc5da92e39 (patch) | |
tree | 54e5db9859e03f183308bb2e86058664eba4ef07 /arch/x86/crypto/morus1280_glue.c | |
parent | arm64: uaccess: Cleanup get/put_user() (diff) | |
download | kernel-qcow2-linux-0bd3ef34d2a8dd4056560567073d8bfc5da92e39.tar.gz kernel-qcow2-linux-0bd3ef34d2a8dd4056560567073d8bfc5da92e39.tar.xz kernel-qcow2-linux-0bd3ef34d2a8dd4056560567073d8bfc5da92e39.zip |
arm64: uaccess: Implement unsafe accessors
Current implementation of get/put_user_unsafe default to get/put_user
which toggle PAN before each access, despite having been told by the caller
that multiple accesses to user memory were about to happen.
Provide implementations for user_access_begin/end to turn PAN off/on and
implement unsafe accessors that assume PAN was already turned off.
Signed-off-by: Julien Thierry <julien.thierry@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/x86/crypto/morus1280_glue.c')
0 files changed, 0 insertions, 0 deletions