From: Waldemar Kozaczuk <[email protected]>
Committer: Waldemar Kozaczuk <[email protected]>
Branch: master

Add missing syscall for fstatat used by Golang

Signed-off-by: Waldemar Kozaczuk <[email protected]>

---
diff --git a/linux.cc b/linux.cc
--- a/linux.cc
+++ b/linux.cc
@@ -420,6 +420,7 @@ long syscall(long number, ...)
     SYSCALL5(epoll_pwait, int, struct epoll_event *, int, int, void*);
     SYSCALL3(getrandom, char *, size_t, unsigned int);
     SYSCALL2(nanosleep, const struct timespec*, struct timespec *);
+    SYSCALL4(fstatat, int, const char *, struct stat *, 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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to