about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-02-09 15:47:19 +0100
committerptitSeb <sebastien.chev@gmail.com>2024-02-09 15:47:19 +0100
commit8cba593882d01d38d5c4803459d0f2d7d2524063 (patch)
tree47c13a9194e9b2e268003e39965b93a4ea049886 /src
parent0715dd145f96c47078b6d0880dcf249657e79ae4 (diff)
downloadbox64-8cba593882d01d38d5c4803459d0f2d7d2524063.tar.gz
box64-8cba593882d01d38d5c4803459d0f2d7d2524063.zip
Added 1 syscall
Diffstat (limited to 'src')
-rw-r--r--src/emu/x64syscall.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/emu/x64syscall.c b/src/emu/x64syscall.c
index 4158032d..77bd2189 100644
--- a/src/emu/x64syscall.c
+++ b/src/emu/x64syscall.c
@@ -281,6 +281,10 @@ static const scwrap_t syscallwrap[] = {
     [318] = {__NR_getrandom, 3},
     [319] = {__NR_memfd_create, 2},
     [324] = {__NR_membarrier, 2},
+    #ifdef __NR_copy_file_range
+    // TODO: call back if unavailable?
+    [326] = {__NR_copy_file_range, 6},
+    #endif
     #ifdef __NR_statx
     // TODO: implement fallback if __NR_statx is not defined
     [332] = {__NR_statx, 5},