diff options
author | Julien Thierry <julien.thierry@arm.com> | 2019-01-15 16:58:27 +0300 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2019-01-25 15:30:48 +0300 |
commit | 0bd3ef34d2a8dd4056560567073d8bfc5da92e39 (patch) | |
tree | 54e5db9859e03f183308bb2e86058664eba4ef07 /arch/arm64/mm/ptdump_debugfs.c | |
parent | 13e4cdd785867a632516f9cb5dfbe5ba20822820 (diff) | |
download | linux-0bd3ef34d2a8dd4056560567073d8bfc5da92e39.tar.xz |
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/arm64/mm/ptdump_debugfs.c')
0 files changed, 0 insertions, 0 deletions