Re: [PATCH 1/2] arm64: Get 'info->page_offset' from PT_LOAD segments to support KASLR boot cases

2018-08-20 Thread Bhupesh Sharma
Hi Kazu, On Mon, Aug 20, 2018 at 8:54 PM, Kazuhito Hagio wrote: > Hello Bhupesh, > > On 8/15/2018 3:55 PM, Bhupesh Sharma wrote: >> The kernel patch is now accepted in Linus's tree: >> commit e401b7c2c69008ad2fcdc154f7c5421281c90042 >> Author: Bhupesh Sharma >> Date: Mon Jul 30 11:54:43 2018

RE: [PATCH 1/2] arm64: Get 'info->page_offset' from PT_LOAD segments to support KASLR boot cases

2018-08-20 Thread Kazuhito Hagio
Hello Bhupesh, On 8/15/2018 3:55 PM, Bhupesh Sharma wrote: > The kernel patch is now accepted in Linus's tree: > commit e401b7c2c69008ad2fcdc154f7c5421281c90042 > Author: Bhupesh Sharma > Date: Mon Jul 30 11:54:43 2018 +0530 > > arm64, kaslr: export offset in VMCOREINFO ELF notes > > Can

Re: [PATCH 1/2] arm64: Get 'info->page_offset' from PT_LOAD segments to support KASLR boot cases

2018-08-15 Thread Bhupesh Sharma
Hi Kazu, On Tue, Jul 24, 2018 at 10:47 AM, Bhupesh Sharma wrote: > Hi Kazu, > > On Mon, Jul 23, 2018 at 10:15 PM, Kazuhito Hagio > wrote: >> Hi Bhupesh, >> >> On 7/22/2018 3:44 AM, Bhupesh Sharma wrote: >>> Hello Kazu, >>> >>> Many thanks for your review comments. >>> >>> On Sat, Jul 21, 2018

Re: [PATCH 1/2] arm64: Get 'info->page_offset' from PT_LOAD segments to support KASLR boot cases

2018-07-23 Thread Bhupesh Sharma
Hi Kazu, On Mon, Jul 23, 2018 at 10:15 PM, Kazuhito Hagio wrote: > Hi Bhupesh, > > On 7/22/2018 3:44 AM, Bhupesh Sharma wrote: >> Hello Kazu, >> >> Many thanks for your review comments. >> >> On Sat, Jul 21, 2018 at 3:18 AM, Kazuhito Hagio >> wrote: >>> >>> On 7/19/2018 1:43 AM, Bhupesh Sharma

RE: [PATCH 1/2] arm64: Get 'info->page_offset' from PT_LOAD segments to support KASLR boot cases

2018-07-23 Thread Kazuhito Hagio
Hi Bhupesh, On 7/22/2018 3:44 AM, Bhupesh Sharma wrote: > Hello Kazu, > > Many thanks for your review comments. > > On Sat, Jul 21, 2018 at 3:18 AM, Kazuhito Hagio wrote: >> >> On 7/19/2018 1:43 AM, Bhupesh Sharma wrote: >>> The existing methodology to obtain 'info->page_offset' from reading

Re: [PATCH 1/2] arm64: Get 'info->page_offset' from PT_LOAD segments to support KASLR boot cases

2018-07-23 Thread Kazuhito Hagio
On 7/19/2018 1:43 AM, Bhupesh Sharma wrote: > The existing methodology to obtain 'info->page_offset' from reading > _stext symbol (from kallsyms) doesn't work well in KASLR boot cases on > arm64 machines as the PAGE_OFFSET (or the virtual address which > indicates the start of the linear region)

Re: [PATCH 1/2] arm64: Get 'info->page_offset' from PT_LOAD segments to support KASLR boot cases

2018-07-22 Thread Bhupesh Sharma
Hello Kazu, Many thanks for your review comments. On Sat, Jul 21, 2018 at 3:18 AM, Kazuhito Hagio wrote: > > On 7/19/2018 1:43 AM, Bhupesh Sharma wrote: >> The existing methodology to obtain 'info->page_offset' from reading >> _stext symbol (from kallsyms) doesn't work well in KASLR boot cases

[PATCH 1/2] arm64: Get 'info->page_offset' from PT_LOAD segments to support KASLR boot cases

2018-07-18 Thread Bhupesh Sharma
The existing methodology to obtain 'info->page_offset' from reading _stext symbol (from kallsyms) doesn't work well in KASLR boot cases on arm64 machines as the PAGE_OFFSET (or the virtual address which indicates the start of the linear region) can be randomized as well on basis of the kaslr-seed.