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