77 lines
4.9 KiB
Diff
77 lines
4.9 KiB
Diff
From f015c6b97bf6e074783d5c11d511b3263f95332e Mon Sep 17 00:00:00 2001
|
|
From: Alexander Mikhalitsyn <alexander.mikhalitsyn@virtuozzo.com>
|
|
Date: Tue, 21 Dec 2021 17:38:25 +0300
|
|
Subject: [PATCH 235/245] compel: add rseq syscall into compel std plugin
|
|
syscall tables
|
|
|
|
Add rseq syscall numbers for:
|
|
arm/aarch64, mips64, ppc64le, s390, x86_64/x86
|
|
|
|
Signed-off-by: Alexander Mikhalitsyn <alexander.mikhalitsyn@virtuozzo.com>
|
|
---
|
|
compel/arch/arm/plugins/std/syscalls/syscall.def | 1 +
|
|
compel/arch/mips/plugins/std/syscalls/syscall_64.tbl | 1 +
|
|
compel/arch/ppc64/plugins/std/syscalls/syscall-ppc64.tbl | 1 +
|
|
compel/arch/s390/plugins/std/syscalls/syscall-s390.tbl | 1 +
|
|
compel/arch/x86/plugins/std/syscalls/syscall_32.tbl | 1 +
|
|
compel/arch/x86/plugins/std/syscalls/syscall_64.tbl | 1 +
|
|
6 files changed, 6 insertions(+)
|
|
|
|
diff --git a/compel/arch/arm/plugins/std/syscalls/syscall.def b/compel/arch/arm/plugins/std/syscalls/syscall.def
|
|
index c9bccc386..8bcc3cc50 100644
|
|
--- a/compel/arch/arm/plugins/std/syscalls/syscall.def
|
|
+++ b/compel/arch/arm/plugins/std/syscalls/syscall.def
|
|
@@ -121,3 +121,4 @@ clone3 435 435 (struct clone_args *uargs, size_t size)
|
|
pidfd_open 434 434 (pid_t pid, unsigned int flags)
|
|
openat2 437 437 (int dirfd, char *pathname, struct open_how *how, size_t size)
|
|
pidfd_getfd 438 438 (int pidfd, int targetfd, unsigned int flags)
|
|
+rseq 293 398 (void *rseq, uint32_t rseq_len, int flags, uint32_t sig)
|
|
diff --git a/compel/arch/mips/plugins/std/syscalls/syscall_64.tbl b/compel/arch/mips/plugins/std/syscalls/syscall_64.tbl
|
|
index a74e694e2..505ec849d 100644
|
|
--- a/compel/arch/mips/plugins/std/syscalls/syscall_64.tbl
|
|
+++ b/compel/arch/mips/plugins/std/syscalls/syscall_64.tbl
|
|
@@ -118,3 +118,4 @@ __NR_clone3 5435 sys_clone3 (struct clone_args *uargs, size_t size)
|
|
__NR_pidfd_open 5434 sys_pidfd_open (pid_t pid, unsigned int flags)
|
|
__NR_openat2 5437 sys_openat2 (int dirfd, char *pathname, struct open_how *how, size_t size)
|
|
__NR_pidfd_getfd 5438 sys_pidfd_getfd (int pidfd, int targetfd, unsigned int flags)
|
|
+__NR_rseq 5327 sys_rseq (void *rseq, uint32_t rseq_len, int flags, uint32_t sig)
|
|
diff --git a/compel/arch/ppc64/plugins/std/syscalls/syscall-ppc64.tbl b/compel/arch/ppc64/plugins/std/syscalls/syscall-ppc64.tbl
|
|
index 648239182..af40d7104 100644
|
|
--- a/compel/arch/ppc64/plugins/std/syscalls/syscall-ppc64.tbl
|
|
+++ b/compel/arch/ppc64/plugins/std/syscalls/syscall-ppc64.tbl
|
|
@@ -117,3 +117,4 @@ __NR_clone3 435 sys_clone3 (struct clone_args *uargs, size_t size)
|
|
__NR_pidfd_open 434 sys_pidfd_open (pid_t pid, unsigned int flags)
|
|
__NR_openat2 437 sys_openat2 (int dirfd, char *pathname, struct open_how *how, size_t size)
|
|
__NR_pidfd_getfd 438 sys_pidfd_getfd (int pidfd, int targetfd, unsigned int flags)
|
|
+__NR_rseq 387 sys_rseq (void *rseq, uint32_t rseq_len, int flags, uint32_t sig)
|
|
diff --git a/compel/arch/s390/plugins/std/syscalls/syscall-s390.tbl b/compel/arch/s390/plugins/std/syscalls/syscall-s390.tbl
|
|
index 169458296..6a349e1cb 100644
|
|
--- a/compel/arch/s390/plugins/std/syscalls/syscall-s390.tbl
|
|
+++ b/compel/arch/s390/plugins/std/syscalls/syscall-s390.tbl
|
|
@@ -117,3 +117,4 @@ __NR_clone3 435 sys_clone3 (struct clone_args *uargs, size_t size)
|
|
__NR_pidfd_open 434 sys_pidfd_open (pid_t pid, unsigned int flags)
|
|
__NR_openat2 437 sys_openat2 (int dirfd, char *pathname, struct open_how *how, size_t size)
|
|
__NR_pidfd_getfd 438 sys_pidfd_getfd (int pidfd, int targetfd, unsigned int flags)
|
|
+__NR_rseq 383 sys_rseq (void *rseq, uint32_t rseq_len, int flags, uint32_t sig)
|
|
diff --git a/compel/arch/x86/plugins/std/syscalls/syscall_32.tbl b/compel/arch/x86/plugins/std/syscalls/syscall_32.tbl
|
|
index 4179a7f5b..a119a59b2 100644
|
|
--- a/compel/arch/x86/plugins/std/syscalls/syscall_32.tbl
|
|
+++ b/compel/arch/x86/plugins/std/syscalls/syscall_32.tbl
|
|
@@ -105,3 +105,4 @@ __NR_clone3 435 sys_clone3 (struct clone_args *uargs, size_t size)
|
|
__NR_pidfd_open 434 sys_pidfd_open (pid_t pid, unsigned int flags)
|
|
__NR_openat2 437 sys_openat2 (int dirfd, char *pathname, struct open_how *how, size_t size)
|
|
__NR_pidfd_getfd 438 sys_pidfd_getfd (int pidfd, int targetfd, unsigned int flags)
|
|
+__NR_rseq 386 sys_rseq (void *rseq, uint32_t rseq_len, int flags, uint32_t sig)
|
|
diff --git a/compel/arch/x86/plugins/std/syscalls/syscall_64.tbl b/compel/arch/x86/plugins/std/syscalls/syscall_64.tbl
|
|
index 9c27ab8b5..16dd86e79 100644
|
|
--- a/compel/arch/x86/plugins/std/syscalls/syscall_64.tbl
|
|
+++ b/compel/arch/x86/plugins/std/syscalls/syscall_64.tbl
|
|
@@ -116,3 +116,4 @@ __NR_clone3 435 sys_clone3 (struct clone_args *uargs, size_t size)
|
|
__NR_pidfd_open 434 sys_pidfd_open (pid_t pid, unsigned int flags)
|
|
__NR_openat2 437 sys_openat2 (int dirfd, char *pathname, struct open_how *how, size_t size)
|
|
__NR_pidfd_getfd 438 sys_pidfd_getfd (int pidfd, int targetfd, unsigned int flags)
|
|
+__NR_rseq 334 sys_rseq (void *rseq, uint32_t rseq_len, int flags, uint32_t sig)
|
|
--
|
|
2.35.1
|
|
|