1. 09 Aug, 2017 3 commits
    • Tobias Klauser's avatar
      unix: add *at functions (POSIX.1-2008) on darwin/{arm,arm64} · 89d4068c
      Tobias Klauser authored
      Follow golang.org/cl/50450 and add the Faccessat, Fchmodat, Fchownat,
      Linkat, Mkdirat, Openat, Readlinkat, Renameat, Symlinkat and Unlinkat
      functions (to conform to POSIX.1-2008) for darwin/arm and darwin/amd64.
      Also add the missing AT_* constants.
      
      Generated on Mac OS 10.11 (Darwin 15.6.0). This also regenerates the
      syscall numbers for arm and arm64 akin to golang.org/cl/14151
      
      Also fix the mksysnum call in mkall.sh to work for darwin/arm.
      
      Fixes golang/go#14457
      
      Change-Id: Ia3c36dbca9e6f1e4873afdfafcc4f7d8050644f9
      Reviewed-on: https://go-review.googlesource.com/54271Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
      Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      89d4068c
    • Tobias Klauser's avatar
      unix: add MNT_* constants on Darwin · f1e7f7a8
      Tobias Klauser authored
      Add the MNT_* constants used for the Mount and Umount functions on
      Darwin.
      
      Generated on Mac OS 10.11 (Darwin 15.6.0). This also brings
      zerrors_darwin_{arm,arm64} up to date with constants which are already
      present for 386 and amd64.
      
      Fixes golang/go#9891
      
      Change-Id: Id77847a2fb805a759aa0f5b36e8954b764e699a5
      Reviewed-on: https://go-review.googlesource.com/54210Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
      Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      f1e7f7a8
    • Brad Fitzpatrick's avatar
      unix: add openbsd/arm support (in theory) · b0e0dd72
      Brad Fitzpatrick authored
      This copies over some files from the main repo to make the
      GOOS=openbsd GOARCH=arm go install and go test -c work.
      
      No clue whether it actually works or not, though. We don't have
      builders anymore for this port.
      
      But once this compiles, we'll at least be able to use constants from
      the x/sys/unix package from x/net without regressing x/net's support
      for openbsd/arm. (If anybody uses openbsd/arm)
      
      Fixes golang/go#10826
      
      Change-Id: Id821e2011bcd2d3720652be44ac09e4ce4d2a3a3
      Reviewed-on: https://go-review.googlesource.com/54053
      Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: 's avatarRob Pike <r@golang.org>
      Reviewed-by: 's avatarJoel Sing <joel@sing.id.au>
      b0e0dd72
  2. 08 Aug, 2017 1 commit
  3. 03 Aug, 2017 2 commits
  4. 02 Aug, 2017 1 commit
  5. 01 Aug, 2017 2 commits
  6. 28 Jul, 2017 3 commits
  7. 27 Jul, 2017 1 commit
  8. 26 Jul, 2017 1 commit
  9. 25 Jul, 2017 4 commits
  10. 21 Jul, 2017 1 commit
    • Tobias Klauser's avatar
      unix: add *at functions (POSIX.1-2008) on Darwin · c4489faa
      Tobias Klauser authored
      Add the Faccessat, Fchownat, Linkat, Mkdirat, Openat, Readlinkat,
      Renameat, Symlinkat and Unlinkat functions (to conform to POSIX.1-2008)
      and make Fchmodat available on all architectures, not just amd64. Also
      add the missing AT_* constants.
      
      Generated on Mac OS 10.11 (Darwin 15.6.0) for darwin/amd64 and
      darwin/386 only.
      
      Fixes golang/go#14458
      
      Change-Id: I6d9258864383ea77f9cad058ee8ba2c728213b40
      Reviewed-on: https://go-review.googlesource.com/50450Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
      Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      c4489faa
  11. 19 Jul, 2017 1 commit
  12. 18 Jul, 2017 1 commit
  13. 14 Jul, 2017 1 commit
  14. 10 Jul, 2017 1 commit
  15. 07 Jul, 2017 1 commit
  16. 05 Jul, 2017 1 commit
  17. 03 Jul, 2017 1 commit
  18. 02 Jul, 2017 2 commits
  19. 30 Jun, 2017 1 commit
  20. 27 Jun, 2017 2 commits
  21. 26 Jun, 2017 2 commits
  22. 23 Jun, 2017 1 commit
  23. 15 Jun, 2017 1 commit
  24. 08 Jun, 2017 1 commit
  25. 07 Jun, 2017 1 commit
  26. 29 May, 2017 1 commit
  27. 24 May, 2017 1 commit
    • Matt Layher's avatar
      unix: add IoctlGetInt and IoctlSetInt on Linux · a55a7608
      Matt Layher authored
      This CL adds basic integer get/set functions which wrap a generic
      ioctl call.  The API is similar the one introduced for solaris/amd64
      in CL 14587, but the request parameter has been changed to a uint
      instead of an int.  This makes requests with a number larger than the
      maximum signed 32-bit integer work on linux/386.
      
      For consistency, the solaris/amd64 API has also been updated to make
      use of a uint instead of an int for the request number.
      
      Fixes golang/go#20474
      
      Change-Id: Iaae1ee2e4bb4bfcc420dcec252fe53c8d90ce81d
      Reviewed-on: https://go-review.googlesource.com/44009
      Run-TryBot: Matt Layher <mdlayher@gmail.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
      a55a7608
  28. 21 May, 2017 1 commit