Blob Blame History Raw
From 0b051a218d5e7e51677c26c691dcf619a7d894e9 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 rseq syscall on architectures that use generic
 unistd.h

* linux/32/syscallent.h [293]: Wire up rseq syscall introduced by linux
commit v4.19-rc1~109^2~47.
* linux/64/syscallent.h [293]: Likewise.
* NEWS: Mention this.
---
 NEWS                  | 2 ++
 linux/32/syscallent.h | 1 +
 linux/64/syscallent.h | 1 +
 3 files changed, 4 insertions(+)

Index: strace-4.24/linux/32/syscallent.h
===================================================================
--- strace-4.24.orig/linux/32/syscallent.h	2019-06-13 01:05:32.297055881 +0200
+++ strace-4.24/linux/32/syscallent.h	2019-06-13 01:05:42.887824722 +0200
@@ -283,6 +283,7 @@
 [290] = { 1,	0,		SEN(pkey_free),			"pkey_free"		},
 [291] = { 5,	TD|TF|TSTA,	SEN(statx),			"statx"			},
 [292] = { 6,	0,		SEN(io_pgetevents),		"io_pgetevents"		},
+[293] = { 4,	0,		SEN(rseq),			"rseq"			},
 
 #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:32.297055881 +0200
+++ strace-4.24/linux/64/syscallent.h	2019-06-13 01:05:42.888824700 +0200
@@ -276,3 +276,4 @@
 [290] = { 1,	0,		SEN(pkey_free),			"pkey_free"		},
 [291] = { 5,	TD|TF|TSTA,	SEN(statx),			"statx"			},
 [292] = { 6,	0,		SEN(io_pgetevents),		"io_pgetevents"		},
+[293] = { 4,	0,		SEN(rseq),			"rseq"			},