Re: [PATCH v2 1/3] init/main.c: Give init_task a canary

From
Chuck Ebbert <hidden>
Date
2014-09-11 12:23:52
Also in
lkml
Reply to
Aaron Tomlin, 2014-09-10
On Wed, 10 Sep 2014 14:29:33 +0100
Aaron Tomlin [off-list ref] wrote:
On Wed, Sep 10, 2014 at 02:26:54AM -0500, Chuck Ebbert wrote:
quoted
And has this been tested on parisc and metag, which use STACK_GROWSUP ?
I can't see how end_of_stack() as it's defined now could work on those archs.
AFAIU, dup_task_struct() has always done this explicitly.
I see no reason why init_task requires special attention.
I guess what I'm saying is, I can't see how the stack canary could have ever
detected any problems on parisc and metag. How did you test your patches on x86?
Maybe someone could run tests on those other archs.
Thread (37 messages) 37 messages, 7 authors, last reply 2014-09-15
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help