about summary refs log tree commit diff stats
path: root/src/focaccia/qemu/x86.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/focaccia/qemu/x86.py')
-rw-r--r--src/focaccia/qemu/x86.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/focaccia/qemu/x86.py b/src/focaccia/qemu/x86.py
index 680f966..c8d2045 100644
--- a/src/focaccia/qemu/x86.py
+++ b/src/focaccia/qemu/x86.py
@@ -69,6 +69,8 @@ emulated_system_calls = {
     93:  SyscallInfo('fchown'),
     94:  SyscallInfo('lchown'),
     95:  SyscallInfo('umask'),
+    97:  SyscallInfo('getrlimit', patchup_address_registers=['rsi']),
+    98:  SyscallInfo('getrusage', patchup_address_registers=['rsi']),
     102: SyscallInfo('getuid'),
     107: SyscallInfo('geteuid'),
     108: SyscallInfo('getegid'),
@@ -105,6 +107,7 @@ emulated_system_calls = {
     292: SyscallInfo('dup3'),
     293: SyscallInfo('pipe2', patchup_address_registers=['rdi']),
     297: SyscallInfo('rt_tgsigqueueinfo', patchup_address_registers=['r10']),
+    302: SyscallInfo('prlimit64', patchup_address_registers=['r10']),
     318: SyscallInfo('getrandom', patchup_address_registers=['rdi'])
 }