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