about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorTheofilos Augoustis <theofilos.augoustis@gmail.com>2025-11-27 12:54:08 +0000
committerTheofilos Augoustis <theofilos.augoustis@gmail.com>2025-11-27 12:54:08 +0000
commit9f9ddd9e4454a9240de9f783134ae6657e39627b (patch)
tree396a81fbb82de242d1e22561431c07eb6645805d
parent50df08ea3956cba98180dc4c4ec12273d428caf5 (diff)
downloadfocaccia-9f9ddd9e4454a9240de9f783134ae6657e39627b.tar.gz
focaccia-9f9ddd9e4454a9240de9f783134ae6657e39627b.zip
Add support for preadv and pwritev
-rw-r--r--src/focaccia/qemu/x86.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/focaccia/qemu/x86.py b/src/focaccia/qemu/x86.py
index a77a52c..0abe026 100644
--- a/src/focaccia/qemu/x86.py
+++ b/src/focaccia/qemu/x86.py
@@ -123,6 +123,8 @@ emulated_system_calls = {
     291: SyscallInfo('epoll_create1'),
     292: SyscallInfo('dup3'),
     293: SyscallInfo('pipe2', patchup_address_registers=['rdi']),
+    295: SyscallInfo('preadv', patchup_address_registers=['rsi']),
+    296: SyscallInfo('pwritev'),
     297: SyscallInfo('rt_tgsigqueueinfo', patchup_address_registers=['r10']),
     302: SyscallInfo('prlimit64', patchup_address_registers=['r10']),
     303: SyscallInfo('name_to_handle_at', patchup_address_registers=['rdx', 'r10']),