1. 12 Sep, 2017 4 commits
  2. 09 Sep, 2017 1 commit
    • Tobias Klauser's avatar
      unix: add Major, Minor and Mkdev functions on FreeBSD · a5054c7c
      Tobias Klauser authored
      Add Major, Minor and Mkdev functions for converting devices numbers to
      their major/minor components and vice versa.
      
      The functions follow the behavior of the macros defined in FreeBSD's
      sys/types.h header. However, the parameter and return types are changed
      to match the existing implementations of these functions.
      
      Because FreeBSD dynamically allocates major/minor device numbers through
      devfs at runtime, testing the conversion macros against well-known
      device numbers is not possible.
      
      Updates golang/go#8106
      
      Change-Id: I9874e63f388cfc5c0d5cc47d4d0f6ccc489b28f2
      Reviewed-on: https://go-review.googlesource.com/61631Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
      Run-TryBot: Ian Lance Taylor <iant@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      a5054c7c
  3. 08 Sep, 2017 1 commit
    • Tobias Klauser's avatar
      unix: add Major, Minor and Mkdev functions on Dragonfly · 5513e650
      Tobias Klauser authored
      Add Major, Minor and Mkdev functions for converting devices numbers to
      their major/minor components and vice versa.
      
      The functions follow the behavior of the macros defined in DragonFlyBSD's
      sys/types.h header. However, the parameter and return types are changed
      to match the existing implementations of these functions.
      
      Test the conversion macros with some well-known device numbers.
      
      Updates golang/go#8106
      
      Change-Id: I84c128dff3108821caaa75dcec620cf5bdb1f32d
      Reviewed-on: https://go-review.googlesource.com/61630Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
      Run-TryBot: Ian Lance Taylor <iant@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      5513e650
  4. 07 Sep, 2017 2 commits
  5. 06 Sep, 2017 1 commit
  6. 05 Sep, 2017 1 commit
  7. 01 Sep, 2017 2 commits
    • Tobias Klauser's avatar
      unix: add Major, Minor and Mkdev functions on NetBSD · 7ddbeae9
      Tobias Klauser authored
      Add Major, Minor and Mkdev functions for converting devices numbers to
      their major/minor components and vice versa.
      
      The functions follow the behavior of the macros defined in NetBSD's
      sys/types.h header. However, the parameter and return types are changed
      to match the existing implementations of these functions.
      
      Test the conversion macros with some well-known device numbers.
      
      Updates golang/go#8106
      
      Change-Id: I536d6d2622f6fe9be3c1ed3beb266745fe4bfb6e
      Reviewed-on: https://go-review.googlesource.com/60970Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
      Run-TryBot: Ian Lance Taylor <iant@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      7ddbeae9
    • Tobias Klauser's avatar
      unix: add Major, Minor and Mkdev functions on Darwin · a07a691a
      Tobias Klauser authored
      Add Major, Minor and Mkdev functions for converting devices numbers to
      their major/minor components and vice versa.
      
      The functions follow the behavior of the macros defined in Darwin's
      sys/types.h header. However, the parameter and return types are changed
      to match the respective Linux implementation of these functions.
      
      Test the conversion macros with some well-known static device numbers
      for devices which should be present on any Darwin system.
      
      Updates golang/go#8106
      
      Change-Id: I1862be64684cc1b5a53e15a883819571e368cb2b
      Reviewed-on: https://go-review.googlesource.com/60610Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
      Run-TryBot: Ian Lance Taylor <iant@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      a07a691a
  8. 30 Aug, 2017 1 commit
  9. 29 Aug, 2017 1 commit
  10. 25 Aug, 2017 2 commits
  11. 21 Aug, 2017 1 commit
    • Tobias Klauser's avatar
      windows: add missing event functions · 07c18290
      Tobias Klauser authored
      Add CreateEventEx, OpenEvent, ResetEvent and PulseEvent.
      
      Also change eventAttrs to use the local definition of the
      SecurityAttributes type, not the one from syscall.
      
      GetConsoleScreenBufferInfo is also changed by re-running 'go generate'
      to pass a pointer to ConsoleScreenBufferInfo (instead of a pointer to
      pointer).
      
      Change-Id: I08dff4360186b04c55fd0362e31920f38206157b
      Reviewed-on: https://go-review.googlesource.com/56110Reviewed-by: 's avatarAlex Brainman <alex.brainman@gmail.com>
      Run-TryBot: Alex Brainman <alex.brainman@gmail.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      07c18290
  12. 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
  13. 15 Aug, 2017 1 commit
  14. 14 Aug, 2017 2 commits
  15. 09 Aug, 2017 4 commits
  16. 08 Aug, 2017 1 commit
  17. 03 Aug, 2017 2 commits
  18. 02 Aug, 2017 1 commit
  19. 01 Aug, 2017 2 commits
  20. 28 Jul, 2017 3 commits
  21. 27 Jul, 2017 1 commit
  22. 26 Jul, 2017 1 commit
  23. 25 Jul, 2017 4 commits