Re: [PATCH v2 1/2] x86: introduce kaslr_offset()

2015-04-29 Thread Jiri Kosina
On Wed, 29 Apr 2015, Jiri Kosina wrote: > > Acked-by: Borislav Petkov > > Applied to livepatching.git#for-4.2/kaslr. Thanks, Fengguang's buildbot reported a randconfig build breakage caused by this patch. The fix below is necessary on top. From: Jiri Kosina Subject: [PATCH] x86: kaslr:

Re: [PATCH v2 1/2] x86: introduce kaslr_offset()

2015-04-29 Thread Jiri Kosina
On Tue, 28 Apr 2015, Borislav Petkov wrote: > > > Offset that has been chosen for kaslr during kernel decompression can be > > > easily computed as a difference between _text and __START_KERNEL. We are > > > already making use of this in dump_kernel_offset() notifier and in > > >

Re: [PATCH v2 1/2] x86: introduce kaslr_offset()

2015-04-29 Thread Jiri Kosina
On Wed, 29 Apr 2015, Jiri Kosina wrote: Acked-by: Borislav Petkov b...@suse.de Applied to livepatching.git#for-4.2/kaslr. Thanks, Fengguang's buildbot reported a randconfig build breakage caused by this patch. The fix below is necessary on top. From: Jiri Kosina jkos...@suse.cz

Re: [PATCH v2 1/2] x86: introduce kaslr_offset()

2015-04-29 Thread Jiri Kosina
On Tue, 28 Apr 2015, Borislav Petkov wrote: Offset that has been chosen for kaslr during kernel decompression can be easily computed as a difference between _text and __START_KERNEL. We are already making use of this in dump_kernel_offset() notifier and in

Re: [PATCH v2 1/2] x86: introduce kaslr_offset()

2015-04-28 Thread Borislav Petkov
On Tue, Apr 28, 2015 at 05:57:14PM +0200, Jiri Kosina wrote: > On Tue, 28 Apr 2015, Jiri Kosina wrote: > > > Offset that has been chosen for kaslr during kernel decompression can be > > easily computed as a difference between _text and __START_KERNEL. We are > > already making use of this in

Re: [PATCH v2 1/2] x86: introduce kaslr_offset()

2015-04-28 Thread Jiri Kosina
On Tue, 28 Apr 2015, Jiri Kosina wrote: > Offset that has been chosen for kaslr during kernel decompression can be > easily computed as a difference between _text and __START_KERNEL. We are > already making use of this in dump_kernel_offset() notifier and in > arch_crash_save_vmcoreinfo(). >

[PATCH v2 1/2] x86: introduce kaslr_offset()

2015-04-28 Thread Jiri Kosina
Offset that has been chosen for kaslr during kernel decompression can be easily computed as a difference between _text and __START_KERNEL. We are already making use of this in dump_kernel_offset() notifier and in arch_crash_save_vmcoreinfo(). Introduce kaslr_offset() that makes this

Re: [PATCH v2 1/2] x86: introduce kaslr_offset()

2015-04-28 Thread Borislav Petkov
On Tue, Apr 28, 2015 at 05:57:14PM +0200, Jiri Kosina wrote: On Tue, 28 Apr 2015, Jiri Kosina wrote: Offset that has been chosen for kaslr during kernel decompression can be easily computed as a difference between _text and __START_KERNEL. We are already making use of this in

[PATCH v2 1/2] x86: introduce kaslr_offset()

2015-04-28 Thread Jiri Kosina
Offset that has been chosen for kaslr during kernel decompression can be easily computed as a difference between _text and __START_KERNEL. We are already making use of this in dump_kernel_offset() notifier and in arch_crash_save_vmcoreinfo(). Introduce kaslr_offset() that makes this

Re: [PATCH v2 1/2] x86: introduce kaslr_offset()

2015-04-28 Thread Jiri Kosina
On Tue, 28 Apr 2015, Jiri Kosina wrote: Offset that has been chosen for kaslr during kernel decompression can be easily computed as a difference between _text and __START_KERNEL. We are already making use of this in dump_kernel_offset() notifier and in arch_crash_save_vmcoreinfo().