All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xen-devel] [PATCH for-4.13 0/2] xen/livepatch: Safety fixes
@ 2019-11-05 19:43 Andrew Cooper
  2019-11-05 19:43 ` [Xen-devel] [PATCH 1/2] xen/livepatch: Add a return value to load hooks Andrew Cooper
  2019-11-05 19:43 ` [Xen-devel] [PATCH 2/2] x86/livepatch: Prevent patching with active waitqueues Andrew Cooper
  0 siblings, 2 replies; 12+ messages in thread
From: Andrew Cooper @ 2019-11-05 19:43 UTC (permalink / raw)
  To: Xen-devel
  Cc: Juergen Gross, Andrew Cooper, Ross Lagerwall,
	Konrad Rzeszutek Wilk

This pair of patches is long overdue being posted upstream.  For several years
now, XenServer has shipped the 2nd patch as a safety check (seeing as we have
both livepatching and introspection), implemented with some return address
manipulation to turn a void load hook into one which can return -EBUSY.

Andrew Cooper (2):
  xen/livepatch: Add a return value to load hooks
  x86/livepatch: Prevent patching with active waitqueues

 xen/arch/arm/livepatch.c             |  5 +++++
 xen/arch/x86/livepatch.c             | 39 ++++++++++++++++++++++++++++++++++++
 xen/common/livepatch.c               | 37 ++++++++++++++++++++++++----------
 xen/include/xen/livepatch.h          |  1 +
 xen/include/xen/livepatch_payload.h  |  2 +-
 xen/test/livepatch/xen_hello_world.c | 12 ++++++++---
 6 files changed, 81 insertions(+), 15 deletions(-)

-- 
2.11.0


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

end of thread, other threads:[~2019-11-23  4:48 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-05 19:43 [Xen-devel] [PATCH for-4.13 0/2] xen/livepatch: Safety fixes Andrew Cooper
2019-11-05 19:43 ` [Xen-devel] [PATCH 1/2] xen/livepatch: Add a return value to load hooks Andrew Cooper
2019-11-06 14:20   ` Konrad Rzeszutek Wilk
2019-11-06 14:35   ` Jan Beulich
2019-11-08 10:21   ` Ross Lagerwall
2019-11-05 19:43 ` [Xen-devel] [PATCH 2/2] x86/livepatch: Prevent patching with active waitqueues Andrew Cooper
2019-11-05 19:49   ` [Xen-devel] [PATCH v1.5] " Andrew Cooper
2019-11-22 10:13     ` Jürgen Groß
2019-11-23  3:23     ` Sarah Newman
2019-11-23  4:48     ` Sarah Newman
2019-11-06 14:25   ` [Xen-devel] [PATCH 2/2] " Konrad Rzeszutek Wilk
2019-11-08 10:18   ` Ross Lagerwall

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.