diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2021-09-02 20:25:58 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2021-09-02 20:25:58 +0200 |
| commit | 5d5ef75337cd4db7224d5e0cdb6da2dc96ab8224 (patch) | |
| tree | 6b6f013c09789da472917ff5e00f6bf0d2f7899b /src/emu | |
| parent | c3ef6380a7baa6457974fe2eca1652dff6808cca (diff) | |
| download | box64-5d5ef75337cd4db7224d5e0cdb6da2dc96ab8224.tar.gz box64-5d5ef75337cd4db7224d5e0cdb6da2dc96ab8224.zip | |
Add some support vor VSyscall
Diffstat (limited to 'src/emu')
| -rwxr-xr-x | src/emu/x64syscall.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/emu/x64syscall.c b/src/emu/x64syscall.c index 18689c90..ccdbadd4 100755 --- a/src/emu/x64syscall.c +++ b/src/emu/x64syscall.c @@ -158,10 +158,14 @@ scwrap_t syscallwrap[] = { { 274, __NR_get_robust_list, 3}, { 294, __NR_inotify_init1, 1}, { 298, __NR_perf_event_open, 5}, + { 309, __NR_getcpu, 3}, // need wrapping? { 315, __NR_sched_getattr, 4}, { 318, __NR_getrandom, 3}, { 319, __NR_memfd_create, 2}, + #ifdef __NR_statx + // TODO: implement fallback if __NR_statx is not defined { 332, __NR_statx, 4}, + #endif #ifdef __NR_fchmodat4 { 434, __NR_fchmodat4, 4}, #endif |