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 <email@example.com>
Reviewed-by: Ian Lance Taylor <firstname.lastname@example.org>
1 file changed