Re: [PATCH 1/5] arm: factor out mmap ASLR into mmap_rnd

2015-03-09 Thread Russell King - ARM Linux
On Mon, Mar 02, 2015 at 04:19:44PM -0800, Kees Cook wrote: > In preparation for exporting per-arch mmap randomization functions, > this moves the ASLR calculations for mmap on ARM into a separate routine. > > Signed-off-by: Kees Cook Looks fine, thanks. Acked-by: Russell King > --- > arch/ar

[PATCH 1/5] arm: factor out mmap ASLR into mmap_rnd

2015-03-02 Thread Kees Cook
In preparation for exporting per-arch mmap randomization functions, this moves the ASLR calculations for mmap on ARM into a separate routine. Signed-off-by: Kees Cook --- arch/arm/mm/mmap.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/arch/arm/mm/mmap.c b/ar

[PATCH 1/5] arm: factor out mmap ASLR into mmap_rnd

2015-02-26 Thread Kees Cook
Move logic for mmap ASLR into separate function. Signed-off-by: Kees Cook --- arch/arm/mm/mmap.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/arch/arm/mm/mmap.c b/arch/arm/mm/mmap.c index 5e85ed371364..0f8bc158f2c6 100644 --- a/arch/arm/mm/mmap.c +++ b/arch/