1. 28 Aug, 2018 1 commit
  2. 24 Aug, 2018 1 commit
  3. 23 Aug, 2018 1 commit
  4. 21 Aug, 2018 2 commits
  5. 20 Aug, 2018 1 commit
  6. 16 Aug, 2018 2 commits
  7. 15 Aug, 2018 1 commit
  8. 14 Aug, 2018 1 commit
  9. 10 Aug, 2018 3 commits
  10. 08 Aug, 2018 3 commits
  11. 07 Aug, 2018 3 commits
  12. 06 Aug, 2018 2 commits
  13. 02 Aug, 2018 1 commit
  14. 01 Aug, 2018 1 commit
  15. 27 Jul, 2018 4 commits
  16. 24 Jul, 2018 1 commit
  17. 15 Jul, 2018 1 commit
  18. 09 Jul, 2018 2 commits
  19. 07 Jul, 2018 1 commit
  20. 06 Jul, 2018 1 commit
  21. 04 Jul, 2018 1 commit
  22. 27 Jun, 2018 1 commit
  23. 26 Jun, 2018 1 commit
  24. 25 Jun, 2018 1 commit
    • Tobias Klauser's avatar
      unix: don't check atime in TestUtimesNanoAt · a200a19c
      Tobias Klauser authored
      If the underlying filesystem doesn't support atime or was mounted with the
      noatime mount option, TestUtimesNanoAt fails when comparing atime:
      
      --- FAIL: TestUtimesNanoAt (0.00s)
      	syscall_linux_test.go:144: UtimesNanoAt: wrong atime: {1111 0}
      	syscall_linux_test.go:147: UtimesNanoAt: wrong mtime: {3333 0}
      FAIL
      FAIL	golang.org/x/sys/unix	0.376s
      
      Fix it by dropping the atime comparison, it's enough to verify UtimesNanoAt
      working correctly by comparing mtime.
      
      Fixes golang/go#26034
      
      Change-Id: Id868f9d4c6a856a99ae930a46bfe91bd64ca8570
      Reviewed-on: https://go-review.googlesource.com/120562
      Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
      a200a19c
  25. 22 Jun, 2018 1 commit
    • Tobias Klauser's avatar
      unix: use private copy of ustat_t on Linux · 63fc586f
      Tobias Klauser authored
      The ustat syscall has been deprecated on Linux for a long time and the
      upcoming glibc 2.28 will remove ustat.h and it can no longer be used to
      to generate the Ustat_t wrapper type. Since Linux still provides the
      syscall, let's not break this functionality and add a private copy of
      struct ustat so Ustat_t can still be generated.
      
      Updates golang/go#25990
      
      Change-Id: I74cf405ce6df92da36f1ee900ab6d98997d8f994
      Reviewed-on: https://go-review.googlesource.com/120295
      Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
      63fc586f
  26. 20 Jun, 2018 1 commit
  27. 19 Jun, 2018 1 commit
    • Tobias Klauser's avatar
      unix: don't use deprecated syscalls on linux/arm64 · fc8bd948
      Tobias Klauser authored
      On linux/arm64 we used to manually define syscall numbers for some
      deprecated syscalls. Most of them are unused by now anyhow. Convert the
      remaining syscall wrappers using them to implement the respective
      functionality using a non-deprecated syscall (in the same way glibc does
      it):
      
      - Implement EpollCreate using EpollCreate1 and additionally check
        that the passed size argument is larger than 0.
      - Implement Futimesat and utimes using utimensat. Also change futimesat
        on the other geese to take a string instead of *byte and let the
        generated wrapper do the BytePtrFromString conversion.
      - Return ENOSYS from Ustat. The ustat syscall has been deprecated for a
        long time in favor of fstatfs and statfs. Even glibc will deprecate
        ustat in the upcoming 2.28 release [1].
      
      [1] https://sourceware.org/git/?p=glibc.git;a=blob;f=NEWS;h=d51fa09544f03899b7ff5a80569db088c3c23c28;hb=HEAD#l90
      
      Change-Id: I7ea38a3cd394b0875f17443b14e107fd9c70350d
      Reviewed-on: https://go-review.googlesource.com/119655
      Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
      fc8bd948