A bug with getsockopt(SOL_LOCAL, LOCAL_PEERCRED) ?

Gleb Popov arrowd at freebsd.org
Thu Apr 22 18:49:44 UTC 2021


On Thu, Apr 22, 2021 at 1:33 PM Konstantin Belousov <kostikbel at gmail.com>
wrote:

> There is no peer for listening socket.
>
> Show minimal code that works for you on Linux.
>

Here you go: http://arrowd.name/un_linux.cpp
It is almost identical to FreeBSD one, but works for me on ArchLinux.


More information about the freebsd-hackers mailing list