summaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/thread_info.h
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2018-12-13 16:14:06 +0300
committerWill Deacon <will.deacon@arm.com>2018-12-13 19:42:47 +0300
commit84931327a807a4dd65d0d6b53a8ae47845c91f79 (patch)
treef759292fbe46dd83d4b3954eb17eb53bfe480d7f /arch/arm64/include/asm/thread_info.h
parent04ca3204fa09f5f55c8f113b0072004a7b364ff4 (diff)
downloadlinux-84931327a807a4dd65d0d6b53a8ae47845c91f79.tar.xz
arm64: ptr auth: Move per-thread keys from thread_info to thread_struct
We don't need to get at the per-thread keys from assembly at all, so they can live alongside the rest of the per-thread register state in thread_struct instead of thread_info. This will also allow straighforward whitelisting of the keys for hardened usercopy should we expose them via a ptrace request later on. Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/include/asm/thread_info.h')
-rw-r--r--arch/arm64/include/asm/thread_info.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm64/include/asm/thread_info.h b/arch/arm64/include/asm/thread_info.h
index f8f66ad9dd8f..bbca68b54732 100644
--- a/arch/arm64/include/asm/thread_info.h
+++ b/arch/arm64/include/asm/thread_info.h
@@ -28,7 +28,6 @@
struct task_struct;
#include <asm/memory.h>
-#include <asm/pointer_auth.h>
#include <asm/stack_pointer.h>
#include <asm/types.h>
@@ -55,9 +54,6 @@ struct thread_info {
#endif
} preempt;
};
-#ifdef CONFIG_ARM64_PTR_AUTH
- struct ptrauth_keys keys_user;
-#endif
};
#define thread_saved_pc(tsk) \