Commit Graph
3 Commits
Author SHA1 Message Date
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
Brad Fitzpatrick 993aa01eac Add darwin support
Updates golang/go#27613
Updates tailscale/tailscale#1347
Updates tailscale/tailscale#1348
2021-02-16 15:17:19 -08:00
Brad Fitzpatrick 215a1c795a Start of peercred package, with Linux only for now. 2021-02-16 10:02:57 -08:00