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

Oleg Nesterov oleg at redhat.com
Fri Sep 19 06:27:01 EST 2014


On 09/12, Aaron Tomlin wrote:
>
> Tasks get their end of stack set to STACK_END_MAGIC with the
> aim to catch stack overruns. Currently this feature does not
> apply to init_task. This patch removes this restriction.
>
> Note that a similar patch was posted by Prarit Bhargava [1]
> some time ago but was never merged.
>
> [1]: http://marc.info/?l=linux-kernel&m=127144305403241&w=2
>
> Signed-off-by: Aaron Tomlin <atomlin at redhat.com>
> Acked-by: Michael Ellerman <mpe at ellerman.id.au>

Acked-by: Oleg Nesterov <oleg at redhat.com>



More information about the Linuxppc-dev mailing list