1. 09 Jan, 2019 1 commit
  2. 08 Jan, 2019 1 commit
  3. 07 Jan, 2019 2 commits
  4. 06 Jan, 2019 1 commit
  5. 05 Jan, 2019 1 commit
  6. 02 Jan, 2019 2 commits
  7. 28 Dec, 2018 3 commits
  8. 21 Dec, 2018 5 commits
  9. 20 Dec, 2018 9 commits
  10. 18 Dec, 2018 1 commit
  11. 17 Dec, 2018 1 commit
  12. 13 Dec, 2018 3 commits
  13. 12 Dec, 2018 1 commit
  14. 11 Dec, 2018 1 commit
  15. 10 Dec, 2018 2 commits
  16. 08 Dec, 2018 1 commit
  17. 06 Dec, 2018 1 commit
  18. 05 Dec, 2018 1 commit
  19. 28 Nov, 2018 1 commit
  20. 22 Nov, 2018 1 commit
  21. 21 Nov, 2018 1 commit
    • David Anderson's avatar
      unix: add IoctlSetPointerInt · 0cf1ed9e
      David Anderson authored
      IoctlSetPointerInt is necessary for interacting with the PPP kernel
      driver, which wants it passed as a pointer to int, rather than the
      more conventional int cast as a pointer.
      
      We can technically do this already with
      IoctlSetInt(int(uintptr(unsafe.Pointer(&foo)))), but that's just
      masking the operation we're trying to execute in the first place,
      and relying on the internals of IoctlSetInt to do the right
      inverse transformation.
      
      Change-Id: I1e6a1dd6190c11f06c6f5393cd2cae453939878a
      GitHub-Last-Rev: a88f56073d04b02d9c076b112adaf99169a49513
      GitHub-Pull-Request: golang/sys#25
      Reviewed-on: https://go-review.googlesource.com/c/150321
      Run-TryBot: Ian Lance Taylor <iant@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
      0cf1ed9e