linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] introduce kaslr_offset() and its users
@ 2015-04-27 14:27 Jiri Kosina
  2015-04-27 14:28 ` [PATCH 1/2] x86: introduce kaslr_offset() Jiri Kosina
  2015-04-27 14:28 ` [PATCH 2/2] livepatch: x86: make kASLR logic more accurate Jiri Kosina
  0 siblings, 2 replies; 14+ messages in thread
From: Jiri Kosina @ 2015-04-27 14:27 UTC (permalink / raw)
  To: x86, Borislav Petkov, Kees Cook, Josh Poimboeuf, Seth Jennings,
	Vojtech Pavlik
  Cc: linux-kernel, live-patching

There is already in-kernel code which computes the offset that has been 
used for kASLR -- that's dump_kernel_offset() notifier. As there is now a 
potential second user coming, it seems reasonable to provide a common 
helper that will compute the offset.

- Patch 1/2 introduces kaslr_offset() which computes the kASLR offset, and 
  converts dump_kernel_offset() to make use of it
- Patch 2/2 extends the - currently limited - functionality of 
  livepatching when kASLR has been enabled and is active

----------------------------------------------------------------
Jiri Kosina (2):
      x86: introduce kaslr_offset()
      livepatch: x86: make kASLR logic more accurate

 arch/x86/include/asm/livepatch.h | 1 +
 arch/x86/include/asm/setup.h     | 6 ++++++
 arch/x86/kernel/setup.c          | 2 +-
 kernel/livepatch/core.c          | 5 +++--
 4 files changed, 11 insertions(+), 3 deletions(-)

-- 
Jiri Kosina
SUSE Labs

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2015-04-29 16:16 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-27 14:27 [PATCH 0/2] introduce kaslr_offset() and its users Jiri Kosina
2015-04-27 14:28 ` [PATCH 1/2] x86: introduce kaslr_offset() Jiri Kosina
2015-04-28 12:08   ` Josh Poimboeuf
2015-04-28 15:15     ` [PATCH v2 " Jiri Kosina
2015-04-28 15:57       ` Jiri Kosina
2015-04-28 15:59         ` Borislav Petkov
2015-04-29 14:56           ` Jiri Kosina
2015-04-29 16:16             ` Jiri Kosina
2015-04-27 14:28 ` [PATCH 2/2] livepatch: x86: make kASLR logic more accurate Jiri Kosina
2015-04-27 14:41   ` Minfei Huang
2015-04-27 23:29     ` Jiri Kosina
2015-04-28  0:08       ` Minfei Huang
2015-04-28 12:09   ` Josh Poimboeuf
2015-04-29 14:56     ` Jiri Kosina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).