Hello! > This patch to libgo adds some system calls to the syscall package. > Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu. > Committed to mainline and 4.8 branch, since these calls were in Go > 1.1.2.
Uros. Index: runtime/go-nosys.c =================================================================== --- runtime/go-nosys.c (revision 203810) +++ runtime/go-nosys.c (working copy) @@ -47,7 +47,7 @@ accept4 (int sockfd __attribute__ ((unused)), int dup3 (int oldfd __attribute__ ((unused)), int newfd __attribute__ ((unused)), - int flags __attribtue__ ((unused))) + int flags __attribute__ ((unused))) { errno = ENOSYS; return -1;