arm64: mte: Allow {set,get}_tagged_addr_ctrl() on non-current tasks
authorCatalin Marinas <catalin.marinas@arm.com>
Fri, 3 Jul 2020 13:25:50 +0000 (14:25 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 4 Sep 2020 11:46:07 +0000 (12:46 +0100)
commit93f067f6caf5941cc730e99ce72042304e0e6ff5
tree9909eeb3f842bbcb594976c7d02967c783f3ee03
parent39d08e8318c49c5fd2bda9cadfd2bc54d2d3dfd8
arm64: mte: Allow {set,get}_tagged_addr_ctrl() on non-current tasks

In preparation for ptrace() access to the prctl() value, allow calling
these functions on non-current tasks.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
arch/arm64/include/asm/mte.h
arch/arm64/include/asm/processor.h
arch/arm64/kernel/mte.c
arch/arm64/kernel/process.c