From 5d5ef75337cd4db7224d5e0cdb6da2dc96ab8224 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Thu, 2 Sep 2021 20:25:58 +0200 Subject: Add some support vor VSyscall --- src/emu/x64syscall.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/emu') 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 -- cgit 1.4.1