Thread (5 messages) 5 messages, 3 authors, 2018-09-17

Re: [PATCH 2/2] powerpc/32: stack protector: change the canary value per task

flat view

From: Segher Boessenkool <hidden>
Date: 2018-09-17 16:50:02
Also in: lkml

On Mon, Sep 17, 2018 at 12:15:08PM +0000, Christophe Leroy wrote:
 I would have liked to use -mstack-protector-guard=tls -mstack-protector-guard-reg=r2
 -mstack-protector-guard-offset=offsetof(struct task_struct, stack_canary) but I have
 not found how set the value of offsetof(struct task_struct, stack_canary) in Makefile.
By far the easiest is to have the canary at a fixed offset from r2.


Segher
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help