| commit | 80176a2c23e082b6f60e8e1e41f30162f016dcf1 | [log] [tgz] |
|---|---|---|
| author | Andy Lutomirski <luto@kernel.org> | Wed Nov 29 08:54:54 2017 -0800 |
| committer | Andy Lutomirski <luto@kernel.org> | Thu Nov 30 22:21:28 2017 -0800 |
| tree | 968bc7788c43ea0697b050d71a2bc8478a23d006 | |
| parent | 284cff85944868a6cae8d7b2b3ebcb6fc817672b [diff] |
x86/entry/64: Validate THUNK GSBASE when CONGIG_DEBUG_ENTRY=y The various asm THUNK helpers must only be called with kernel GSBASE. Just in case they don't end up accessing percpu variables, access one in the THUNK asm (when CONFIG_DEBUG_ENTRY=y) to make mistakes more obvious. Signed-off-by: Andy Lutomirski <luto@kernel.org>