Skip to content

xen/livepatch: Safety fixes

Andrew Cooper xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2xen/livepatch: Add a return value to load hooksxen/common/livepatch.c xen/include/xen/livepatch_payload.h xen/test/livepatch/xen_hello_world.c+29 -153 replies
2/2x86/livepatch: Prevent patching with active waitqueuesxen/arch/arm/livepatch.c xen/arch/x86/livepatch.c xen/common/livepatch.c +1 more+52 -06 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchKonrad Rzeszutek WilkRoss LagerwallJuergen Gross
1/2R-b
2/2R-b R-b Release-acked-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [Xen-devel] [PATCH for-4.13 0/2] xen/livepatch: Safety fixes

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(-)
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel