]> Cypherpunks repositories - gostls13.git/commit
syscall: fix Send{msg,msgN}, Recvmsg and control message handling on solaris
authorMikio Hara <mikioh.mikioh@gmail.com>
Sat, 1 Oct 2016 10:20:32 +0000 (19:20 +0900)
committerMikio Hara <mikioh.mikioh@gmail.com>
Mon, 3 Oct 2016 23:53:42 +0000 (23:53 +0000)
commit89c4cbd7acc36cf627746f379f0cc002b5b60383
tree91b5630e081abdd8f894681f2e20ffd41528e006
parent7e0218cdb204cec082601988324d54ef484a8f5f
syscall: fix Send{msg,msgN}, Recvmsg and control message handling on solaris

This change switches the use of socket implementation from the
conventional SUS-based one to the latest POSIX-based one to make
socket control message work correctly on Solaris.

It looks like those two implementations, Socket over TLI/XTI and
Socket, have different semantics in details but it wouldn't hurt
the existing applications because the exposed syscall API doesn't
support socket properties related to such a protocol independent
application framework.

Fixes #7402.

Change-Id: I45a4e782d606bfbebe1404086c50a8c69af53461
Reviewed-on: https://go-review.googlesource.com/30171
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/syscall/sockcmsg_unix.go
src/syscall/syscall_solaris.go
src/syscall/syscall_unix.go
src/syscall/syscall_unix_test.go
src/syscall/zsyscall_solaris_amd64.go