about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-04-25 09:14:00 +0200
committerptitSeb <sebastien.chev@gmail.com>2021-04-25 09:14:00 +0200
commit954830032b98278d1f18b50327c22e0d86ffb6ba (patch)
treec53a61e01b0f10e2e082365821de012223b92225 /src
parent6f3fad8a1645ff19d2abd01a316cedefcf1c0529 (diff)
downloadbox64-954830032b98278d1f18b50327c22e0d86ffb6ba.tar.gz
box64-954830032b98278d1f18b50327c22e0d86ffb6ba.zip
Added a couple of syscall
Diffstat (limited to 'src')
-rwxr-xr-xsrc/emu/x64syscall.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emu/x64syscall.c b/src/emu/x64syscall.c
index b12719d4..e87c0a27 100755
--- a/src/emu/x64syscall.c
+++ b/src/emu/x64syscall.c
@@ -83,9 +83,11 @@ scwrap_t syscallwrap[] = {
     #ifdef __NR_fork
     { 57, __NR_fork, 0 },    // should wrap this one, because of the struct pt_regs (the only arg)?
     #endif
+    { 61, __NR_wait4, 4},
     #ifdef __NR_getdents
     { 78, __NR_getdents, 3},
     #endif
+    { 101, __NR_ptrace, 4},
     { 126, __NR_capset, 2},
     //{ 131, __NR_sigaltstack, 2},  // wrapped to use my_sigaltstack
     { 157, __NR_prctl, 5 },     // needs wrapping?