Re: [PATCH] MIPS: Add support for ARCH_MMAP_RND_{COMPAT_}BITS

2016-11-28 Thread Dan Cashman
As can be seen from the following comment in arch/arm64/Kconfig: "" # max bits determined by the following formula: # VA_BITS - PAGE_SHIFT - 3 config ARCH_MMAP_RND_BITS_MAX """ The max value was determined based on the available address space (VA_BITS - PAGE_SHIFT) and an account of how far

Re: [PATCH] MIPS: Add support for ARCH_MMAP_RND_{COMPAT_}BITS

2016-11-28 Thread Dan Cashman
As can be seen from the following comment in arch/arm64/Kconfig: "" # max bits determined by the following formula: # VA_BITS - PAGE_SHIFT - 3 config ARCH_MMAP_RND_BITS_MAX """ The max value was determined based on the available address space (VA_BITS - PAGE_SHIFT) and an account of how far

Re: [PATCH 1/2] mm: mmap: Add new /proc tunable for mmap_base ASLR.

2015-10-28 Thread Dan Cashman
> > This all would be much cleaner if the arm architecture code were just to > > register the sysctl itself. > > > > As it sits this looks like a patchset that does not meaninfully bisect, > > and would result in code that is hard to trace and understand. > > I believe the intent is to follow up

Re: [PATCH 1/2] mm: mmap: Add new /proc tunable for mmap_base ASLR.

2015-10-28 Thread Dan Cashman
> > This all would be much cleaner if the arm architecture code were just to > > register the sysctl itself. > > > > As it sits this looks like a patchset that does not meaninfully bisect, > > and would result in code that is hard to trace and understand. > > I believe the intent is to follow up