Re: [PATCH v3 01/11] mm, fs: Move randomize_stack_top from fs to mm

2019-04-17 Thread Kees Cook
On Wed, Apr 17, 2019 at 12:24 AM Alexandre Ghiti wrote: > > This preparatory commit moves this function so that further introduction > of generic topdown mmap layout is contained only in mm/util.c. > > Signed-off-by: Alexandre Ghiti > Reviewed-by: Christoph Hellwig > --- > fs/binfmt_elf.c|

[PATCH v3 01/11] mm, fs: Move randomize_stack_top from fs to mm

2019-04-16 Thread Alexandre Ghiti
This preparatory commit moves this function so that further introduction of generic topdown mmap layout is contained only in mm/util.c. Signed-off-by: Alexandre Ghiti Reviewed-by: Christoph Hellwig --- fs/binfmt_elf.c| 20 include/linux/mm.h | 2 ++ mm/util.c