public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] CONFIG_DEBUG_SET_MODULE_RONX bug fix and cleanups
@ 2015-11-05 21:18 Josh Poimboeuf
  2015-11-05 21:18 ` [PATCH v2 1/3] livepatch: Fix crash with !CONFIG_DEBUG_SET_MODULE_RONX Josh Poimboeuf
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Josh Poimboeuf @ 2015-11-05 21:18 UTC (permalink / raw)
  To: Seth Jennings, Jiri Kosina, Vojtech Pavlik
  Cc: linux-kernel, live-patching, Cyril B., Rusty Russell,
	Miroslav Benes

Patch 1/3 is a livepatch bug fix for a crash which occurs when loading a
patch module on a kernel without CONFIG_DEBUG_SET_MODULE_RONX.

Patch 2/3 is a module code cleanup to make setting and clearing RO and
NX more symmetrical.  It also adds some new functions which are used by
patch 3.

Patch 3/3 is a livepatch cleanup for simplification of the livepatch
relocation code.

v2:
- removed set_page_attributes() duplication in livepatch cleanup patch
  in favor of using new {un}set_module_core_ro_nx() functions
- changed 'size' from int to size_t

Josh Poimboeuf (3):
  livepatch: Fix crash with !CONFIG_DEBUG_SET_MODULE_RONX
  module: Use the same logic for setting and unsetting RO/NX
  livepatch: Cleanup module page permission changes

 arch/x86/kernel/livepatch.c | 24 ++----------------
 include/linux/module.h      |  4 +++
 kernel/livepatch/core.c     | 15 ++++++++----
 kernel/module.c             | 59 +++++++++++++++++++++++----------------------
 4 files changed, 46 insertions(+), 56 deletions(-)

-- 
2.4.3


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

end of thread, other threads:[~2015-11-08 23:01 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-05 21:18 [PATCH v2 0/3] CONFIG_DEBUG_SET_MODULE_RONX bug fix and cleanups Josh Poimboeuf
2015-11-05 21:18 ` [PATCH v2 1/3] livepatch: Fix crash with !CONFIG_DEBUG_SET_MODULE_RONX Josh Poimboeuf
2015-11-06 10:14   ` Jiri Kosina
2015-11-05 21:18 ` [PATCH v2 2/3] module: Use the same logic for setting and unsetting RO/NX Josh Poimboeuf
2015-11-08 19:40   ` Rusty Russell
2015-11-05 21:18 ` [PATCH v2 3/3] livepatch: Cleanup module page permission changes Josh Poimboeuf
2015-11-06 10:40   ` Petr Mladek
2015-11-06 12:12     ` Josh Poimboeuf
2015-11-06 13:42       ` Petr Mladek
2015-11-06 17:14         ` Josh Poimboeuf
2015-11-08 23:01           ` Rusty Russell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox