Re: [PATCH 0/2] RFC: Adjust powerpc ASLR elf randomness

2017-02-02 Thread Bhupesh Sharma
On 3 Feb 2017 00:49, "Kees Cook" wrote: On Thu, Feb 2, 2017 at 10:08 AM, Bhupesh Sharma wrote: > On Thu, Feb 2, 2017 at 7:51 PM, Kees Cook wrote: >> On Wed, Feb 1, 2017 at 9:42 PM, Bhupesh Sharma wrote: >>> The 2nd patch increases the ELF_ET_DYN_BASE value from the current >>> hardcoded value

Re: [PATCH 0/2] RFC: Adjust powerpc ASLR elf randomness

2017-02-02 Thread Kees Cook
On Thu, Feb 2, 2017 at 10:08 AM, Bhupesh Sharma wrote: > On Thu, Feb 2, 2017 at 7:51 PM, Kees Cook wrote: >> On Wed, Feb 1, 2017 at 9:42 PM, Bhupesh Sharma wrote: >>> The 2nd patch increases the ELF_ET_DYN_BASE value from the current >>> hardcoded value of 0x2000_ to something more practical

Re: [PATCH 0/2] RFC: Adjust powerpc ASLR elf randomness

2017-02-02 Thread Bhupesh Sharma
Hi Balbir, On Thu, Feb 2, 2017 at 12:14 PM, Balbir Singh wrote: > On Thu, Feb 02, 2017 at 11:12:46AM +0530, Bhupesh Sharma wrote: >> This RFC patchset tries to make the powerpc ASLR elf randomness >> implementation similar to other ARCHs (like x86). >> >> The 1st patch introduces the support of A

Re: [PATCH 0/2] RFC: Adjust powerpc ASLR elf randomness

2017-02-02 Thread Bhupesh Sharma
Hi Kees, Thanks for the review. Please see my comments inline. On Thu, Feb 2, 2017 at 7:51 PM, Kees Cook wrote: > On Wed, Feb 1, 2017 at 9:42 PM, Bhupesh Sharma wrote: >> This RFC patchset tries to make the powerpc ASLR elf randomness >> implementation similar to other ARCHs (like x86). >> >> T

Re: [PATCH 0/2] RFC: Adjust powerpc ASLR elf randomness

2017-02-02 Thread Kees Cook
On Wed, Feb 1, 2017 at 9:42 PM, Bhupesh Sharma wrote: > This RFC patchset tries to make the powerpc ASLR elf randomness > implementation similar to other ARCHs (like x86). > > The 1st patch introduces the support of ARCH_MMAP_RND_BITS in powerpc > mmap implementation to allow a sane balance betwee

Re: [PATCH 0/2] RFC: Adjust powerpc ASLR elf randomness

2017-02-01 Thread Balbir Singh
On Thu, Feb 02, 2017 at 11:12:46AM +0530, Bhupesh Sharma wrote: > This RFC patchset tries to make the powerpc ASLR elf randomness > implementation similar to other ARCHs (like x86). > > The 1st patch introduces the support of ARCH_MMAP_RND_BITS in powerpc > mmap implementation to allow a sane bala

[PATCH 0/2] RFC: Adjust powerpc ASLR elf randomness

2017-02-01 Thread Bhupesh Sharma
This RFC patchset tries to make the powerpc ASLR elf randomness implementation similar to other ARCHs (like x86). The 1st patch introduces the support of ARCH_MMAP_RND_BITS in powerpc mmap implementation to allow a sane balance between increased randomness in the mmap address of ASLR elfs and incr