1. 25 Jul, 2017 3 commits
  2. 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
  3. 19 Jul, 2017 1 commit
  4. 18 Jul, 2017 1 commit
  5. 14 Jul, 2017 1 commit
  6. 10 Jul, 2017 1 commit
  7. 07 Jul, 2017 1 commit
  8. 05 Jul, 2017 1 commit
  9. 03 Jul, 2017 1 commit
  10. 02 Jul, 2017 2 commits
  11. 30 Jun, 2017 1 commit
  12. 27 Jun, 2017 2 commits
  13. 26 Jun, 2017 2 commits
  14. 23 Jun, 2017 1 commit
  15. 15 Jun, 2017 1 commit
  16. 08 Jun, 2017 1 commit
  17. 07 Jun, 2017 1 commit
  18. 29 May, 2017 1 commit
  19. 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
  20. 21 May, 2017 1 commit
  21. 18 May, 2017 2 commits
  22. 17 May, 2017 1 commit
  23. 14 May, 2017 1 commit
  24. 12 May, 2017 4 commits
  25. 11 May, 2017 3 commits
  26. 27 Apr, 2017 2 commits
  27. 25 Apr, 2017 1 commit
  28. 24 Apr, 2017 1 commit
    • joerichey@google.com's avatar
      unix: add support for Linux filesystem encryption · 8c0a5eac
      joerichey@google.com authored
      This CL adds in the necessary types and constants to support Linux
      filesystem encryption. This includes the structs for the keys and
      polices as well as the constants for key size and encryption algorithms.
      
      This code also reduces the scope of some of the regexes in mkerrors.sh.
      This is to reduce the number of unrelated constants added in with this
      change.
      
      Note that due to a bug in the Linux uapi headers, not all of the
      necessary constants and structures are declared in linux/fs.h despite
      being part of the kernel ABI. This means that some constants and types
      had to be manually added in.
      
      The bug has been patched (https://patchwork.kernel.org/patch/9662723),
      and the manual additions can be removed when the patch is merged into
      the mainline kernel.
      
      Change-Id: Ib508ad99bdf4c0068933ffcf351c52bb359cfcf4
      Reviewed-on: https://go-review.googlesource.com/41417Reviewed-by: 's avatarMatt Layher <mdlayher@gmail.com>
      Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
      Run-TryBot: Matt Layher <mdlayher@gmail.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      8c0a5eac