mbox series

[0/3] x86/livepatch: Reinstate the ability to patch .rodata

Message ID 20240305121121.3527944-1-andrew.cooper3@citrix.com (mailing list archive)
Headers show
Series x86/livepatch: Reinstate the ability to patch .rodata | expand

Message

Andrew Cooper March 5, 2024, 12:11 p.m. UTC
This capability was lost when fixing liveaptching vs CET, with a TODO to
fix...

Testing (In progress):
  https://gitlab.com/xen-project/people/andyhhp/xen/-/pipelines/1201429148
  https://cirrus-ci.com/build/5510098735333376

Andrew Cooper (3):
  xen/virtual-region: Rename start/end fields
  xen/virtual-region: Include rodata pointers
  x86/livepatch: Relax permissions on rodata too

 xen/arch/x86/livepatch.c         |  4 ++--
 xen/common/livepatch.c           | 10 ++++++++--
 xen/common/virtual_region.c      | 33 +++++++++++++++++++++++---------
 xen/include/xen/virtual_region.h |  8 ++++++--
 4 files changed, 40 insertions(+), 15 deletions(-)


base-commit: fc84b4a5a37b9250d87ef63983b48e1953bba6d1