Mailing List Archive

[PATCH v2 0/3] xen/livepatch: Fix .altinstructions safety checks
This replaces the previous singleton patch, with several build fixes found by
Gitlab. I also included some feedback from Jan on patch 3.

Andrew Cooper (3):
xen/ELF: Fix ELF32 PRI formatters
arm/alternatives: Rename alt_instr fields which are used in common code
xen/livepatch: Fix .altinstructions safety checks

xen/arch/arm/alternative.c | 6 +--
xen/arch/arm/include/asm/alternative.h | 12 ++---
xen/common/livepatch.c | 68 +++++++++++++++++++++++---
xen/common/livepatch_elf.c | 6 +--
xen/include/xen/elfstructs.h | 6 ++-
5 files changed, 78 insertions(+), 20 deletions(-)

--
2.30.2
Re: [PATCH v2 0/3] xen/livepatch: Fix .altinstructions safety checks [ In reply to ]
On 17/04/2023 1:13 pm, Andrew Cooper wrote:
> This replaces the previous singleton patch, with several build fixes found by
> Gitlab. I also included some feedback from Jan on patch 3.
>
> Andrew Cooper (3):
> xen/ELF: Fix ELF32 PRI formatters
> arm/alternatives: Rename alt_instr fields which are used in common code
> xen/livepatch: Fix .altinstructions safety checks

This series was committed into 4.18, but not picked up for backport
despite several fixes tags.

We've just fallen over a livepatching issue which would have been caught
by it, so I'm going to backport it to 4.17 while 4.17 is still in
general support.

~Andrew