Blame SOURCES/0101-Wire-up-kexec_file_load-syscall-on-architectures-tha.patch

2eae47
From 898f0ad0bc498c45734bc95917b74cfdc6466c26 Mon Sep 17 00:00:00 2001
2eae47
From: "Dmitry V. Levin" <ldv@altlinux.org>
2eae47
Date: Mon, 11 Feb 2019 23:35:07 +0000
2eae47
Subject: [PATCH] Wire up kexec_file_load syscall on architectures that use
2eae47
 generic unistd.h
2eae47
2eae47
* linux/32/syscallent.h [294]: Wire up kexec_file_load syscall
2eae47
introduced by linux commit v5.0-rc1~35^2~41^2~15.
2eae47
* linux/64/syscallent.h [294]: Likewise.
2eae47
* NEWS: Mention this.
2eae47
2eae47
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1676045
2eae47
---
2eae47
 NEWS                  | 2 +-
2eae47
 linux/32/syscallent.h | 1 +
2eae47
 linux/64/syscallent.h | 1 +
2eae47
 3 files changed, 3 insertions(+), 1 deletion(-)
2eae47
2eae47
Index: strace-4.24/linux/32/syscallent.h
2eae47
===================================================================
2eae47
--- strace-4.24.orig/linux/32/syscallent.h	2019-06-13 01:05:42.887824722 +0200
2eae47
+++ strace-4.24/linux/32/syscallent.h	2019-06-13 01:06:00.405442367 +0200
2eae47
@@ -284,6 +284,7 @@
2eae47
 [291] = { 5,	TD|TF|TSTA,	SEN(statx),			"statx"			},
2eae47
 [292] = { 6,	0,		SEN(io_pgetevents),		"io_pgetevents"		},
2eae47
 [293] = { 4,	0,		SEN(rseq),			"rseq"			},
2eae47
+[294] = { 5,	TD,		SEN(kexec_file_load),		"kexec_file_load"	},
2eae47
 
2eae47
 #undef sys_ARCH_mmap
2eae47
 #undef ARCH_WANT_SYNC_FILE_RANGE2
2eae47
Index: strace-4.24/linux/64/syscallent.h
2eae47
===================================================================
2eae47
--- strace-4.24.orig/linux/64/syscallent.h	2019-06-13 01:05:42.888824700 +0200
2eae47
+++ strace-4.24/linux/64/syscallent.h	2019-06-13 01:06:00.405442367 +0200
2eae47
@@ -277,3 +277,4 @@
2eae47
 [291] = { 5,	TD|TF|TSTA,	SEN(statx),			"statx"			},
2eae47
 [292] = { 6,	0,		SEN(io_pgetevents),		"io_pgetevents"		},
2eae47
 [293] = { 4,	0,		SEN(rseq),			"rseq"			},
2eae47
+[294] = { 5,	TD,		SEN(kexec_file_load),		"kexec_file_load"	},