From: Waldemar Kozaczuk <jwkozac...@gmail.com>
Committer: Waldemar Kozaczuk <jwkozac...@gmail.com>
Branch: master

Add missing syscall for fstatat used by Golang

Signed-off-by: Waldemar Kozaczuk <jwkozac...@gmail.com>

---
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 osv-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to