arm64: ptr auth: Move per-thread keys from thread_info to thread_struct
mainline inclusion from v4.20-rc3 commit 84931327 category: feature bugzilla: 27615 CVE: NA ------------------------------------------------- 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: NWill Deacon <will.deacon@arm.com> Conflicts: arch/arm64/include/asm/thread_info.h [Zheng Zengkai: fix conflicts caused by skipping the following commit. 396244 arm64: preempt: Provide our own implementation of asm/preempt.h] Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com> Reviewed-by: NHanjun Guo <guohanjun@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录