From a8100e071b9f6955f33c6475ffc70b69b6ee1068 Mon Sep 17 00:00:00 2001 From: Roger Pau Monne Date: Thu, 25 Apr 2024 15:08:46 +0200 Subject: [PATCH] create-diff-object: update default alt_instr size MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The size of the alt_instr structure in Xen is 14 instead of 12 bytes, adjust it. Signed-off-by: Roger Pau Monné Reviewed-by: Ross Lagerwall --- create-diff-object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create-diff-object.c b/create-diff-object.c index fed360a..d8a2afb 100644 --- a/create-diff-object.c +++ b/create-diff-object.c @@ -1000,7 +1000,7 @@ static int altinstructions_group_size(struct kpatch_elf *kelf, int offset) char *str; if (!size) { str = getenv("ALT_STRUCT_SIZE"); - size = str ? atoi(str) : 12; + size = str ? atoi(str) : 14; } log_debug("altinstr_size=%d\n", size); -- 2.39.5