diff options
| author | Theofilos Augoustis <theofilos.augoustis@gmail.com> | 2025-11-26 12:21:03 +0000 |
|---|---|---|
| committer | Theofilos Augoustis <theofilos.augoustis@gmail.com> | 2025-11-26 12:21:03 +0000 |
| commit | 1ebe691eea9574535492341459f667615b42fd15 (patch) | |
| tree | 8f29b8b3b3c6147d7b64a52f059b2ffcd9faaf09 | |
| parent | 2b1cb097f4cb7fb658b83f1106c85739d7cb7899 (diff) | |
| download | focaccia-1ebe691eea9574535492341459f667615b42fd15.tar.gz focaccia-1ebe691eea9574535492341459f667615b42fd15.zip | |
Emulate kill and tkill system calls
| -rw-r--r-- | src/focaccia/qemu/x86.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/focaccia/qemu/x86.py b/src/focaccia/qemu/x86.py index 5313388..3136fce 100644 --- a/src/focaccia/qemu/x86.py +++ b/src/focaccia/qemu/x86.py @@ -37,6 +37,7 @@ emulated_system_calls = { 53: SyscallInfo('sockpair', patchup_address_registers=['r10']), 54: SyscallInfo('setsockopt'), 55: SyscallInfo('getsockpair', patchup_address_registers=['r10', 'r8']), + 62: SyscallInfo('kill'), 72: SyscallInfo('fcntl', patchup_address_registers=['rdx']), 73: SyscallInfo('flock'), 74: SyscallInfo('fsync'), @@ -84,6 +85,7 @@ emulated_system_calls = { 128: SyscallInfo('rt_sigtimedwait', patchup_address_registers=['rsi']), 129: SyscallInfo('rt_sigqueueinfo', patchup_address_registers=['rdx']), 130: SyscallInfo('rt_sigsuspend'), + 200: SyscallInfo('tkill'), 213: SyscallInfo('epoll_create'), 219: SyscallInfo('restart_syscall'), 232: SyscallInfo('epoll_wait', patchup_address_registers=['rsi']), |