Denton Gentry 6ba7dd52e8 Add FreeBSD support
For FreeBSD 12.2 and before I think we could use SCM_CREDS to get
the pid of the peer. For FreeBSD 13.x and later, the Xucred is
extended with a pid. For now we'll leave it unimplemented and
expect to add FreeBSD 13+ support whern it is released.

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2021-03-02 06:23:55 -08:00
2021-03-02 06:23:55 -08:00
2021-03-02 06:23:55 -08:00
2021-02-16 08:11:33 -08:00
2021-03-02 06:23:40 -08:00
2021-03-02 06:23:55 -08:00
2021-02-16 14:55:08 -08:00
2021-03-02 06:23:55 -08:00
2021-02-16 08:11:33 -08:00
S
Description
Get the PID+UID of processes accessing UNIX domain sockets/Windows named pipes.
Readme BSD-3-Clause
88 KiB
Languages
Go 100%