aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorBrian Gerst <[email protected]>2020-06-17 18:56:24 -0400
committerBorislav Petkov <[email protected]>2020-06-18 13:09:17 +0200
commitc9a1ff316bc9b1d1806a4366d0aef6e18833ba52 (patch)
treef2dae0b0a21105a645d90444b3effddc06504c94 /scripts/gdb/linux/utils.py
parenta5ce9f2bb665d1d2b31f139a02dbaa2dfbb62fa6 (diff)
x86/stackprotector: Pre-initialize canary for secondary CPUs
The idle tasks created for each secondary CPU already have a random stack canary generated by fork(). Copy the canary to the percpu variable before starting the secondary CPU which removes the need to call boot_init_stack_canary(). Signed-off-by: Brian Gerst <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions