Files
android_kernel_xiaomi_sm8450/arch/powerpc/kernel
Christophe Leroy 06ec27aea9 powerpc/64: add stack protector support
On PPC64, as register r13 points to the paca_struct at all time,
this patch adds a copy of the canary there, which is copied at
task_switch.
That new canary is then used by using the following GCC options:
-mstack-protector-guard=tls
-mstack-protector-guard-reg=r13
-mstack-protector-guard-offset=offsetof(struct paca_struct, canary))

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2018-10-03 15:40:03 +10:00
..
2018-06-03 21:19:40 +10:00
2018-07-30 22:47:53 +10:00
2016-08-07 23:50:09 -04:00
2018-08-13 15:59:06 +10:00
2017-12-11 13:03:35 +11:00
2018-03-31 09:09:36 +11:00
2018-09-17 21:17:25 +10:00
2015-04-07 17:15:13 +10:00
2018-05-25 12:04:46 +10:00