]> Cypherpunks repositories - gostls13.git/commit
syscall: add linux specific Getsockopt for Ucred struct
authorAndreas Jellinghaus <andreas@ionisiert.de>
Wed, 12 Sep 2012 13:38:21 +0000 (06:38 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 12 Sep 2012 13:38:21 +0000 (06:38 -0700)
commit452d6b46a390290a350593b3756f6511b8441e74
tree7fe26690800c9174a2068641a35f6b18a4ce98c5
parentf5f651b89a7eb028f8d9fbb50cdf0d6e2be5218e
syscall: add linux specific Getsockopt for Ucred struct

SO_PEERCRED on unix domain socket will fill a Ucred struct,
thus linux needs a custom Getsockopt variant.
Fixes #3836.

R=golang-dev, rsc, iant
CC=golang-dev
https://golang.org/cl/6445104
src/pkg/syscall/syscall_linux.go