Unlock getpeername(2). For inet and unix sockets it follows the code
authormvs <mvs@openbsd.org>
Tue, 11 Jan 2022 08:09:14 +0000 (08:09 +0000)
committermvs <mvs@openbsd.org>
Tue, 11 Jan 2022 08:09:14 +0000 (08:09 +0000)
commitaf35a2fc0654ddadb55449b38e52945b357f7eaa
tree5500b1a03c5385611bc8a43df9124efc72c21771
parent87ba1692fe088bccf148acb44744bc6602d43246
Unlock getpeername(2). For inet and unix sockets it follows the code
which was unlocked with accept(2) unlocking. For key management and
route domain sockets it just copies the read-only data.

ok bluhm@
sys/kern/syscalls.master