1. 19 Oct, 2018 2 commits
    • Tobias Klauser's avatar
      unix: add SOF_TIMESTAMPING_* flags on Linux · 8e24a49d
      Tobias Klauser authored
      Add the SOF_TIMESTAMPING_* flags used to request different types of
      timestamping operations. In
      
        err := unix.SetsockoptInt(fd, unix.SOL_SOCKET, unix.SO_TIMESTAMPING, val)
      
      val is a mask of SOF_TIMESTAMPING_* values.
      
      See https://www.kernel.org/doc/Documentation/networking/timestamping.txt
      for more information.
      
      Fixes golang/go#28173
      
      Change-Id: I26e964d607606f2b3cb24f66f071d11765b9696e
      Reviewed-on: https://go-review.googlesource.com/c/143337
      Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
      8e24a49d
    • chigotc's avatar
      unix: add support for aix/ppc64, gc implementation · 8f1d3d21
      chigotc authored
      This commit ports unix package for aix/ppc64 with gc implementation.
      
      In order to merge as much as possible gc and gccgo implementation, the
      mksyscall_aix_ppc64.pl creates three files.
      
      zsyscall_aix_ppc64.go is common for both implementation. It has the main
      syscall function and handles the pointer creations, type conversions
      and the error if needed. It calls a function "call..." which is
      available for each implementation.
      
      zsyscall_aix_ppc64_gc.go is the gc part. It implements "call..."
      functions using //go:cgo_import_dynamic and //go:linkname. It is
      based on syscall.syscall6 function.
      
      zsyscall_aix_ppc64_gccgo.go is the gccgo part. It implements "call..."
      functions using cgo and C functions.
      
      Some unavailable syscalls were also removed from the previous
      implementation.
      
      For aix/ppc, the script is left unchanged as aix/ppc won't be
      implemented inside gc.
      
      Change-Id: I3701095df31517c66f95874ba8e682967993090b
      Reviewed-on: https://go-review.googlesource.com/c/143117
      Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: 's avatarTobias Klauser <tobias.klauser@gmail.com>
      8f1d3d21
  2. 11 Oct, 2018 1 commit
  3. 05 Oct, 2018 2 commits
  4. 04 Oct, 2018 1 commit
  5. 03 Oct, 2018 3 commits
  6. 28 Sep, 2018 1 commit
  7. 27 Sep, 2018 2 commits
  8. 26 Sep, 2018 2 commits
  9. 25 Sep, 2018 1 commit
  10. 24 Sep, 2018 3 commits
  11. 21 Sep, 2018 1 commit
  12. 20 Sep, 2018 1 commit
  13. 19 Sep, 2018 2 commits
  14. 18 Sep, 2018 1 commit
  15. 09 Sep, 2018 2 commits
  16. 07 Sep, 2018 1 commit
  17. 06 Sep, 2018 1 commit
    • Tobias Klauser's avatar
      unix: add support for linux/riscv64 · 8cf3aee4
      Tobias Klauser authored
      Add syscall wrappers, error constants and types for linux/riscv64
      
      Switch docker image to Ubuntu 18.10 in order to get qemu supporting
      riscv64. Also set the uname release string for qemu to 4.15 (the first
      Linux kernel version with riscv64 support), because otherwise running
      the generating C program in mkerrors.sh on a host with an older kernel
      would fail with a "FATAL: kernel too old".
      
      Note that linux/riscv64 is currently only usable using gccgo.
      
      Updates golang/go#27532
      
      Change-Id: Ic420f842342418443474cac72d38adff14d1b938
      Reviewed-on: https://go-review.googlesource.com/133735
      Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
      8cf3aee4
  18. 05 Sep, 2018 2 commits
  19. 03 Sep, 2018 2 commits
  20. 31 Aug, 2018 1 commit
  21. 30 Aug, 2018 1 commit
  22. 28 Aug, 2018 1 commit
  23. 24 Aug, 2018 1 commit
  24. 23 Aug, 2018 1 commit
  25. 21 Aug, 2018 2 commits
  26. 20 Aug, 2018 1 commit
  27. 16 Aug, 2018 1 commit