1. 17 Aug, 2017 1 commit
    • Tobias Klauser's avatar
      unix: unify memory functions on BSD · 43e60d72
      Tobias Klauser authored
      Make Madvice, Mlock, Mlockall, Mprotect, Msync, Munlock and Munlockall
      available equally on all BSD flavors. NetBSD was previously lacking
      SYS_MSYNC, so add it.
      
      Reorder the //sys function prototype alphabetically and clean up already
      implemented syscalls everywhere.
      
      Also add tests for Mprotect, Msync and Madvice - now that they're
      available on all unix platforms.
      
      Fixes golang/go#18513
      
      Change-Id: I0eb502d72c7e991f191fb96225ef04e8297d8b8d
      Reviewed-on: https://go-review.googlesource.com/56172
      Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: 's avatarDaniel Martí <mvdan@mvdan.cc>
      Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
      43e60d72
  2. 15 Aug, 2017 1 commit
  3. 14 Aug, 2017 2 commits
  4. 09 Aug, 2017 4 commits
  5. 08 Aug, 2017 1 commit
  6. 03 Aug, 2017 2 commits
  7. 02 Aug, 2017 1 commit
  8. 01 Aug, 2017 2 commits
  9. 28 Jul, 2017 3 commits
  10. 27 Jul, 2017 1 commit
  11. 26 Jul, 2017 1 commit
  12. 25 Jul, 2017 4 commits
  13. 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
  14. 19 Jul, 2017 1 commit
  15. 18 Jul, 2017 1 commit
  16. 14 Jul, 2017 1 commit
  17. 10 Jul, 2017 1 commit
  18. 07 Jul, 2017 1 commit
  19. 05 Jul, 2017 1 commit
  20. 03 Jul, 2017 1 commit
  21. 02 Jul, 2017 2 commits
  22. 30 Jun, 2017 1 commit
  23. 27 Jun, 2017 2 commits
  24. 26 Jun, 2017 2 commits
  25. 23 Jun, 2017 1 commit
  26. 15 Jun, 2017 1 commit