1. 28 Feb, 2017 1 commit
    • Joe Richey's avatar
      unix: update syscall numbers to 4.10 kernel · 21f2569f
      Joe Richey authored
      The syscall numbers for Linux were out of date, so with the release of
      the 4.10 kernel, now seemed like a reasonable time to update them. Note
      that this change is mostly additive except that it removes some invalid
      syscalls for arm, and it removes all constants that refer to either the
      syscall base or total number of syscalls. Previous versions had only
      removed some of them.
      
      The updated syscall numbers were pulled directly from a header build
      of the 4.10 kernel. This required some minor adjustements to the sysnum
      generating perl script and is why the comments at the tops of the
      generated files look slightly different. I could include the script I
      used to do this, but right now it cannot generate the zerrors and ztypes
      files.
      
      Change-Id: Id94b967eb917f8f87500f818f2e494df9bccf2e0
      Reviewed-on: https://go-review.googlesource.com/37570Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
      21f2569f
  2. 23 Feb, 2017 1 commit
  3. 17 Feb, 2017 1 commit
  4. 13 Feb, 2017 3 commits
  5. 10 Feb, 2017 1 commit
  6. 01 Feb, 2017 1 commit
  7. 14 Dec, 2016 1 commit
  8. 05 Dec, 2016 1 commit
  9. 04 Dec, 2016 1 commit
  10. 02 Dec, 2016 1 commit
  11. 29 Nov, 2016 1 commit
  12. 22 Nov, 2016 1 commit
  13. 10 Nov, 2016 1 commit
  14. 08 Nov, 2016 1 commit
  15. 23 Oct, 2016 1 commit
  16. 16 Oct, 2016 1 commit
  17. 12 Oct, 2016 1 commit
  18. 11 Oct, 2016 1 commit
  19. 06 Oct, 2016 3 commits
  20. 16 Sep, 2016 1 commit
  21. 07 Sep, 2016 1 commit
  22. 17 Jul, 2016 1 commit
  23. 12 Jul, 2016 1 commit
  24. 04 Jul, 2016 1 commit
  25. 15 Jun, 2016 1 commit
  26. 14 Jun, 2016 1 commit
  27. 11 Jun, 2016 1 commit
  28. 10 Jun, 2016 1 commit
  29. 01 Jun, 2016 1 commit
  30. 16 May, 2016 1 commit
  31. 15 May, 2016 1 commit
  32. 13 May, 2016 1 commit
    • Michael Munday's avatar
      unix: add s390x support · 33267e03
      Michael Munday authored
      This commit adds linux/s390x support to the unix package. It is
      based on the changes made to the syscall package in
      https://golang.org/cl/20961/. It also adds mkpost.go which is
      used to cleanup the API generated by cgo -godefs.
      
      The biggest departure that is made with the syscall package is
      the use of the -fsigned-char flag to force signed chars. We
      couldn't do this in the syscall package because of the need to
      maintain compatibility with the gccgo implementation of the syscall
      package (gccgo has supported s390x for a longer time than the Go
      toolchain). The unix package does not have this constraint.
      
      Using the -fsigned-char flag makes the API look more like the one
      generated on amd64 and arm64 and also more consistent with itself
      (the syscall package represents chars using both int8 and uint8
      types, the sys package will only ever use int8). Unfortunately it
      also means that applications transitioning from the syscall package
      to the unix package will see a different API on s390x which might
      be confusing. I think the tradeoff is worth it though.
      
      Change-Id: I40b90c18ed787e74ba7a2ebd004bd6bd1ba6279a
      Reviewed-on: https://go-review.googlesource.com/23045Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
      33267e03
  33. 12 May, 2016 1 commit
  34. 11 May, 2016 1 commit
  35. 29 Apr, 2016 1 commit
  36. 27 Apr, 2016 1 commit