From: Waldemar Kozaczuk <[email protected]> Committer: Waldemar Kozaczuk <[email protected]> Branch: master
syscall: add msync syscall This allows tst-mmap.cc to execute successfully on OSv with Linux dynamically linker. Signed-off-by: Waldemar Kozaczuk <[email protected]> --- diff --git a/linux.cc b/linux.cc --- a/linux.cc +++ b/linux.cc @@ -704,6 +704,7 @@ TRACEPOINT(trace_syscall_sys_clone, "%d <= 0x%x 0x%x %p %p %lu", int, unsigned l TRACEPOINT(trace_syscall_sys_clone3, "%d <= %p %lu", int, struct clone_args *, size_t); #endif TRACEPOINT(trace_syscall_prlimit64, "%d <= %u %d %p %p", int, pid_t, int, const struct rlimit *, struct rlimit *); +TRACEPOINT(trace_syscall_msync, "%d <= 0x%x %lu %d", int, void *, size_t, int); OSV_LIBC_API long syscall(long number, ...) { @@ -850,6 +851,7 @@ OSV_LIBC_API long syscall(long number, ...) SYSCALL2(sys_clone3, struct clone_args *, size_t); #endif SYSCALL4(prlimit64, pid_t, int, const struct rlimit *, struct rlimit *); + SYSCALL3(msync, void *, size_t, int); } debug_always("syscall(): unimplemented system call %d\n", number); -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/osv-dev/000000000000a24a37060c84e45c%40google.com.
