1. 06 Jan, 2020 7 commits
  2. 04 Jan, 2020 4 commits
  3. 03 Jan, 2020 11 commits
  4. 02 Jan, 2020 5 commits
  5. 31 Dec, 2019 1 commit
    • Tobias Klauser's avatar
      internal/poll: use correct fcntl implementations · bbd25d26
      Tobias Klauser authored
      Use the libc fcntl (via syscall.fcntl) on aix and solaris like it is
      already done for darwin.
      
      For the syscall-based fcntl implementation use FcntlSyscall from
      internal/syscall/unix in order to get fcntl64 on 32-bit Linux
      systems.
      
      On aix, fcntl with F_DUPFD_CLOEXEC is not supported. Thus, defined
      F_DUPFD_CLOEXEC = 0 in the syscall package and check its value before
      calling fcntl(fd, syscall.F_DUPFD_CLOEXEC, 0).
      
      On js/wasm, fcntl is not supported thus let its implementation return
      ENOSYS directly.
      
      Updates #36211
      
      Change-Id: I96a2ea79e5c4eed2fefd94d0aefd72c940825682
      Reviewed-on: https://go-review.googlesource.com/c/go/+/212278
      Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
      bbd25d26
  6. 30 Dec, 2019 3 commits
  7. 27 Dec, 2019 3 commits
  8. 26 Dec, 2019 2 commits
    • Michael Anthony Knyszek's avatar
      runtime: disable pageAlloc tests on OpenBSD in short mode · cd1b9c1d
      Michael Anthony Knyszek authored
      This change disables pageAlloc tests on OpenBSD in short mode because
      pageAlloc holds relatively large virtual memory reservations and we make
      two during the pageAlloc tests. The runtime may also be carrying one
      such reservation making the virtual memory requirement for testing the
      Go runtime three times as much as just running a Go binary.
      
      This causes problems for folks who just want to build and test Go
      (all.bash) on OpenBSD but either don't have machines with at least 4ish
      GiB of RAM (per-process virtual memory limits are capped at some
      constant factor times the amount of physical memory) or their
      per-process virtual memory limits are low for other reasons.
      
      Fixes #36210.
      
      Change-Id: I8d89cfde448d4cd2fefff4ad6ffed90de63dd527
      Reviewed-on: https://go-review.googlesource.com/c/go/+/212177
      Run-TryBot: Michael Knyszek <mknyszek@google.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarBryan C. Mills <bcmills@google.com>
      cd1b9c1d
    • Tobias Klauser's avatar
      internal/poll: use fcntl64 on 32-bit GNU/Linux systems · 075c20ce
      Tobias Klauser authored
      Use FcntlSyscall from internal/syscall/unix to get fcntl64 on 32-bit
      Linux systems.
      
      Updates #36211
      
      Change-Id: If48a6e09606ca9f7f6e22f3e8dc9a25fb3ccaf65
      Reviewed-on: https://go-review.googlesource.com/c/go/+/212537
      Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
      075c20ce
  9. 24 Dec, 2019 4 commits