syscall: port fix for netbsd unix sockets from upstream
NetBSD does not include the null terminator when in its reported socket
length. Port the upstream bugfix for the issue (#6627).
This was likely missed during the usual upstream merge because the gc
and gccgo socket implementations have diverged quite a bit.
Trust: Than McIntosh <firstname.lastname@example.org>
Reviewed-by: Ian Lance Taylor <email@example.com>
1 file changed