]> err.no Git - linux-2.6/commit
[PATCH] Add the canary field to the PDA area and the task struct
authorArjan van de Ven <arjan@linux.intel.com>
Tue, 26 Sep 2006 08:52:38 +0000 (10:52 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 26 Sep 2006 08:52:38 +0000 (10:52 +0200)
commit0a4254058037eb172758961d0a5b94f4320a1425
treee9e64daf007952322c7ab0671b2f2f841085c04d
parentb62a5c740df1e3d49a97349fce0c6a23f633d7fe
[PATCH] Add the canary field to the PDA area and the task struct

This patch adds the per thread cookie field to the task struct and the PDA.
Also it makes sure that the PDA value gets the new cookie value at context
switch, and that a new task gets a new cookie at task creation time.

Signed-off-by: Arjan van Ven <arjan@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andi Kleen <ak@suse.de>
CC: Andi Kleen <ak@suse.de>
arch/x86_64/kernel/process.c
include/asm-x86_64/pda.h
include/linux/sched.h
kernel/fork.c