You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/portlist
Brad Fitzpatrick 52e4f24c58 portlist: populate Pid field on Linux
The Port.Pid was always more of an implementation detail on some
platforms and isn't necessary on Linux so it was never populated.
(Nothing outside the portlist package ever used it)

But might as well populate it for consistency since we have it in
memory and its absence confused people.

Updates #cleanup

Change-Id: I869768a75c9fedeff242a5452206e2b2947a17cb
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
1 year ago
..
clean.go all: update copyright and license headers 2 years ago
clean_test.go all: update copyright and license headers 2 years ago
netstat.go portlist: add Poller.IncludeLocalhost option 2 years ago
netstat_test.go portlist: add Poller.IncludeLocalhost option 2 years ago
poller.go all: use Go 1.21 slices, maps instead of x/exp/{slices,maps} 1 year ago
portlist.go portlist: populate Pid field on Linux 1 year ago
portlist_linux.go portlist: populate Pid field on Linux 1 year ago
portlist_linux_test.go portlist: add Poller.IncludeLocalhost option 2 years ago
portlist_macos.go portlist: add Poller.IncludeLocalhost option 2 years ago
portlist_test.go portlist: remove async functionality 1 year ago
portlist_windows.go portlist: add Poller.IncludeLocalhost option 2 years ago