1. 05 Mar, 2013 1 commit
    • Joel Sing's avatar
      syscall: handle getsockname for unix sockets on openbsd 5.2 · 1b36bcc3
      Joel Sing authored
      On OpenBSD 5.2, calling getsockname on an unbound Unix domain socket
      results in a successful syscall, however the AF is unset and the length
      is returned as zero. This has been changed to more portable behaviour,
      which will be included in the OpenBSD 5.3 release.
      
      For now, work around this by treating a successful getsockname() call
      that returns a family of AF_UNSPEC and length of zero as a AF_UNIX
      socket.
      
      Makes TestPassFD work on OpenBSD 5.2.
      
      Fixes #4956.
      
      R=golang-dev, minux.ma, rsc, mikioh.mikioh
      CC=golang-dev
      https://golang.org/cl/7449046
      1b36bcc3
  2. 01 Mar, 2013 1 commit
  3. 27 Feb, 2013 1 commit
  4. 26 Feb, 2013 1 commit
  5. 30 Apr, 2012 1 commit
  6. 19 Mar, 2012 1 commit
  7. 18 Mar, 2012 1 commit