]> Cypherpunks.ru repositories - gostls13.git/commit
syscall: add Accept4 and SOCK_{CLOEXEC,NONBLOCK} on dragonfly
authorMikio Hara <mikioh.mikioh@gmail.com>
Mon, 17 Apr 2017 20:05:25 +0000 (05:05 +0900)
committerMikio Hara <mikioh.mikioh@gmail.com>
Tue, 18 Apr 2017 03:55:27 +0000 (03:55 +0000)
commit7b5e0b76886058cb7ce14658f1cf9be446fd8d05
tree59e6cd74f152adc1d4e3770edda286f5857a8312
parent245ef3a15739c9e0ee6ae4faf21e85574906c25a
syscall: add Accept4 and SOCK_{CLOEXEC,NONBLOCK} on dragonfly

This change just picks a few constants from DragonfFly BSD 4.6 kernel
and doesn't synchronize all the existing constants with the latest
DragonFly BSD kernels.

Updates #14222.

Change-Id: Ie107a8bee1a09393b3b42b6f82489532f5d13290
Reviewed-on: https://go-review.googlesource.com/40894
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/syscall/syscall_dragonfly.go
src/syscall/zerrors_dragonfly_amd64.go
src/syscall/zsyscall_dragonfly_amd64.go
src/syscall/zsysnum_dragonfly_amd64.go