Commit Graph
3 Commits
Author SHA1 Message Date
Denton Gentry 7c60c2f019 Update FreeBSD TODO.
Overly aggressive copy+paste from peercred_linux.go.

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2021-03-02 10:34:41 -08:00
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
Denton Gentry 88448a8ba5 Rename to getDarwin
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2021-03-02 06:23:40 -08:00