9 Commits
Author SHA1 Message Date
RandyTheSilly 081b05659a Use replace syntax for custom sys fork 2025-04-05 16:05:38 -04:00
RandyTheSilly d116525c2b Remove redundant methods 2025-04-05 15:17:24 -04:00
RandyTheSilly dcf2844318 Initial Windows support 2025-04-05 14:43:55 -04:00
RandyTheSilly 0e071fcd68 Switch to fork of golang.org/x/sys to allow getting PIDs 2025-04-04 21:29:31 -04:00
RandyTheSilly cfcdc4bfaa Initial FreeBSD PID support 2025-04-04 01:36:14 -04:00
RandyTheSilly f4afca81ad Strip unneeded functionality 2025-04-03 23:19:49 -04:00
Tobias Klauser ad37553302 Wrap correct raw.Control error on FreeBSD
Follow #1 after FreeBSD support was merged in #3.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
2021-03-03 08:02:05 +01:00
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