commit | 28e928c2dd5e48a9e6fe9d129ba93356aa3a22ab | [log] [tgz] |
---|---|---|
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | Mon Jan 22 20:41:57 2018 +0000 |
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | Mon Jun 11 10:02:37 2018 +0200 |
tree | 1fe35fadf72ada3441f2db7aa3d06691ed069b96 | |
parent | 75afaf959e3fa2b6760a1e9ceb6a065497560b7d [diff] |
arm64: kernel: use a unique stack canary value for each task Enable the support plugin and expose an appropriate value for __stack_chk_guard_tsk_offset so that function prologues and epilogues emitted by GCC read the stack canary value straight from the task_struct. This sidesteps any concurrency issues resulting from the use of per-CPU variables to store the canary value of the currently running task. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>