Blame 0120-compel-add-rseq-syscall-into-compel-std-plugin-sysca.patch

Radostin Stoyanov 46abdd7
From f097cf5766c5a44b239d36692210bce50deb04ca Mon Sep 17 00:00:00 2001
Radostin Stoyanov 46abdd7
From: Alexander Mikhalitsyn <alexander.mikhalitsyn@virtuozzo.com>
Radostin Stoyanov 46abdd7
Date: Tue, 21 Dec 2021 17:38:25 +0300
Radostin Stoyanov 46abdd7
Subject: [PATCH 01/10] compel: add rseq syscall into compel std plugin syscall
Radostin Stoyanov 46abdd7
 tables
Radostin Stoyanov 46abdd7
Radostin Stoyanov 46abdd7
Add rseq syscall numbers for:
Radostin Stoyanov 46abdd7
arm/aarch64, mips64, ppc64le, s390, x86_64/x86
Radostin Stoyanov 46abdd7
Radostin Stoyanov 46abdd7
Signed-off-by: Alexander Mikhalitsyn <alexander.mikhalitsyn@virtuozzo.com>
Radostin Stoyanov 46abdd7
---
Radostin Stoyanov 46abdd7
 compel/arch/arm/plugins/std/syscalls/syscall.def         | 1 +
Radostin Stoyanov 46abdd7
 compel/arch/mips/plugins/std/syscalls/syscall_64.tbl     | 1 +
Radostin Stoyanov 46abdd7
 compel/arch/ppc64/plugins/std/syscalls/syscall-ppc64.tbl | 1 +
Radostin Stoyanov 46abdd7
 compel/arch/s390/plugins/std/syscalls/syscall-s390.tbl   | 1 +
Radostin Stoyanov 46abdd7
 compel/arch/x86/plugins/std/syscalls/syscall_32.tbl      | 1 +
Radostin Stoyanov 46abdd7
 compel/arch/x86/plugins/std/syscalls/syscall_64.tbl      | 1 +
Radostin Stoyanov 46abdd7
 6 files changed, 6 insertions(+)
Radostin Stoyanov 46abdd7
Radostin Stoyanov 46abdd7
diff --git a/compel/arch/arm/plugins/std/syscalls/syscall.def b/compel/arch/arm/plugins/std/syscalls/syscall.def
Radostin Stoyanov 46abdd7
index e6508ed9f..866bb07a7 100644
Radostin Stoyanov 46abdd7
--- a/compel/arch/arm/plugins/std/syscalls/syscall.def
Radostin Stoyanov 46abdd7
+++ b/compel/arch/arm/plugins/std/syscalls/syscall.def
Radostin Stoyanov 46abdd7
@@ -118,3 +118,4 @@ fsmount				432	432	(int fd, unsigned int flags, unsigned int attr_flags)
Radostin Stoyanov 46abdd7
 clone3				435	435	(struct clone_args *uargs, size_t size)
Radostin Stoyanov 46abdd7
 pidfd_open			434	434	(pid_t pid, unsigned int flags)
Radostin Stoyanov 46abdd7
 pidfd_getfd			438	438	(int pidfd, int targetfd, unsigned int flags)
Radostin Stoyanov 46abdd7
+rseq				293	398	(void *rseq, uint32_t rseq_len, int flags, uint32_t sig)
Radostin Stoyanov 46abdd7
diff --git a/compel/arch/mips/plugins/std/syscalls/syscall_64.tbl b/compel/arch/mips/plugins/std/syscalls/syscall_64.tbl
Radostin Stoyanov 46abdd7
index 7a6db192c..95dc7d3b2 100644
Radostin Stoyanov 46abdd7
--- a/compel/arch/mips/plugins/std/syscalls/syscall_64.tbl
Radostin Stoyanov 46abdd7
+++ b/compel/arch/mips/plugins/std/syscalls/syscall_64.tbl
Radostin Stoyanov 46abdd7
@@ -115,3 +115,4 @@ __NR_fsmount			5432		sys_fsmount		(int fd, unsigned int flags, unsigned int attr
Radostin Stoyanov 46abdd7
 __NR_clone3			5435		sys_clone3		(struct clone_args *uargs, size_t size)
Radostin Stoyanov 46abdd7
 __NR_pidfd_open			5434		sys_pidfd_open		(pid_t pid, unsigned int flags)
Radostin Stoyanov 46abdd7
 __NR_pidfd_getfd		5438		sys_pidfd_getfd		(int pidfd, int targetfd, unsigned int flags)
Radostin Stoyanov 46abdd7
+__NR_rseq		        5327		sys_rseq		(void *rseq, uint32_t rseq_len, int flags, uint32_t sig)
Radostin Stoyanov 46abdd7
diff --git a/compel/arch/ppc64/plugins/std/syscalls/syscall-ppc64.tbl b/compel/arch/ppc64/plugins/std/syscalls/syscall-ppc64.tbl
Radostin Stoyanov 46abdd7
index 1bb626bc5..e2ee33945 100644
Radostin Stoyanov 46abdd7
--- a/compel/arch/ppc64/plugins/std/syscalls/syscall-ppc64.tbl
Radostin Stoyanov 46abdd7
+++ b/compel/arch/ppc64/plugins/std/syscalls/syscall-ppc64.tbl
Radostin Stoyanov 46abdd7
@@ -114,3 +114,4 @@ __NR_fsmount		432		sys_fsmount		(int fd, unsigned int flags, unsigned int attr_f
Radostin Stoyanov 46abdd7
 __NR_clone3		435		sys_clone3		(struct clone_args *uargs, size_t size)
Radostin Stoyanov 46abdd7
 __NR_pidfd_open		434		sys_pidfd_open		(pid_t pid, unsigned int flags)
Radostin Stoyanov 46abdd7
 __NR_pidfd_getfd	438		sys_pidfd_getfd		(int pidfd, int targetfd, unsigned int flags)
Radostin Stoyanov 46abdd7
+__NR_rseq       	387		sys_rseq		(void *rseq, uint32_t rseq_len, int flags, uint32_t sig)
Radostin Stoyanov 46abdd7
diff --git a/compel/arch/s390/plugins/std/syscalls/syscall-s390.tbl b/compel/arch/s390/plugins/std/syscalls/syscall-s390.tbl
Radostin Stoyanov 46abdd7
index 7178bf483..bf3bf4714 100644
Radostin Stoyanov 46abdd7
--- a/compel/arch/s390/plugins/std/syscalls/syscall-s390.tbl
Radostin Stoyanov 46abdd7
+++ b/compel/arch/s390/plugins/std/syscalls/syscall-s390.tbl
Radostin Stoyanov 46abdd7
@@ -114,3 +114,4 @@ __NR_fsmount		432		sys_fsmount		(int fd, unsigned int flags, unsigned int attr_f
Radostin Stoyanov 46abdd7
 __NR_clone3		435		sys_clone3		(struct clone_args *uargs, size_t size)
Radostin Stoyanov 46abdd7
 __NR_pidfd_open		434		sys_pidfd_open		(pid_t pid, unsigned int flags)
Radostin Stoyanov 46abdd7
 __NR_pidfd_getfd	438		sys_pidfd_getfd		(int pidfd, int targetfd, unsigned int flags)
Radostin Stoyanov 46abdd7
+__NR_rseq       	383		sys_rseq		(void *rseq, uint32_t rseq_len, int flags, uint32_t sig)
Radostin Stoyanov 46abdd7
diff --git a/compel/arch/x86/plugins/std/syscalls/syscall_32.tbl b/compel/arch/x86/plugins/std/syscalls/syscall_32.tbl
Radostin Stoyanov 46abdd7
index 7e456cdb7..3938b43a8 100644
Radostin Stoyanov 46abdd7
--- a/compel/arch/x86/plugins/std/syscalls/syscall_32.tbl
Radostin Stoyanov 46abdd7
+++ b/compel/arch/x86/plugins/std/syscalls/syscall_32.tbl
Radostin Stoyanov 46abdd7
@@ -102,3 +102,4 @@ __NR_fsmount		432		sys_fsmount		(int fd, unsigned int flags, unsigned int attr_f
Radostin Stoyanov 46abdd7
 __NR_clone3		435		sys_clone3		(struct clone_args *uargs, size_t size)
Radostin Stoyanov 46abdd7
 __NR_pidfd_open		434		sys_pidfd_open		(pid_t pid, unsigned int flags)
Radostin Stoyanov 46abdd7
 __NR_pidfd_getfd	438		sys_pidfd_getfd		(int pidfd, int targetfd, unsigned int flags)
Radostin Stoyanov 46abdd7
+__NR_rseq       	386		sys_rseq		(void *rseq, uint32_t rseq_len, int flags, uint32_t sig)
Radostin Stoyanov 46abdd7
diff --git a/compel/arch/x86/plugins/std/syscalls/syscall_64.tbl b/compel/arch/x86/plugins/std/syscalls/syscall_64.tbl
Radostin Stoyanov 46abdd7
index 2dfcc6eee..28f2fb98d 100644
Radostin Stoyanov 46abdd7
--- a/compel/arch/x86/plugins/std/syscalls/syscall_64.tbl
Radostin Stoyanov 46abdd7
+++ b/compel/arch/x86/plugins/std/syscalls/syscall_64.tbl
Radostin Stoyanov 46abdd7
@@ -113,3 +113,4 @@ __NR_fsmount			432		sys_fsmount		(int fd, unsigned int flags, unsigned int attr_
Radostin Stoyanov 46abdd7
 __NR_clone3			435		sys_clone3		(struct clone_args *uargs, size_t size)
Radostin Stoyanov 46abdd7
 __NR_pidfd_open			434		sys_pidfd_open		(pid_t pid, unsigned int flags)
Radostin Stoyanov 46abdd7
 __NR_pidfd_getfd		438		sys_pidfd_getfd		(int pidfd, int targetfd, unsigned int flags)
Radostin Stoyanov 46abdd7
+__NR_rseq       		334		sys_rseq		(void *rseq, uint32_t rseq_len, int flags, uint32_t sig)
Radostin Stoyanov 46abdd7
-- 
Radostin Stoyanov 46abdd7
2.34.1
Radostin Stoyanov 46abdd7