diff options
| author | Arjan van de Ven <arjan@infradead.org> | 2005-03-04 17:25:13 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-03-04 17:25:13 -0800 |
| commit | ccc875c1d2fe18b50020d501f1005ef46fc55fed (patch) | |
| tree | c537ca25c29dc7eff4eb9d96d4aab41041fffb37 /include/asm-arm26 | |
| parent | c518b108234a2418fb65a09e6219202eda316d6c (diff) | |
[PATCH] Randomisation: stack randomisation
The patch below replaces the existing 8Kb randomisation of the userspace stack
pointer (which is currently only done for Hyperthreaded P-IVs) with a more
general randomisation over a 64Kb range. 64Kb is not a lot, but it's a start
and once the dust settles we can increase this value to a more agressive
value.
Signed-off-by: Arjan van de Ven <arjan@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-arm26')
| -rw-r--r-- | include/asm-arm26/system.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-arm26/system.h b/include/asm-arm26/system.h index 6361b6c71f8c..f23fac1938f3 100644 --- a/include/asm-arm26/system.h +++ b/include/asm-arm26/system.h @@ -245,6 +245,8 @@ static inline unsigned long __xchg(unsigned long x, volatile void *ptr, int size #endif /* __ASSEMBLY__ */ +#define arch_align_stack(x) (x) + #endif /* __KERNEL__ */ #endif |
