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>
2023-10-04 13:28:08 -07:00
..
clean.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
clean_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
netstat.go portlist: add Poller.IncludeLocalhost option 2023-05-24 13:26:16 -04:00
netstat_test.go portlist: add Poller.IncludeLocalhost option 2023-05-24 13:26:16 -04:00
poller.go all: use Go 1.21 slices, maps instead of x/exp/{slices,maps} 2023-08-17 08:42:35 -07:00
portlist.go portlist: populate Pid field on Linux 2023-10-04 13:28:08 -07:00
portlist_linux.go portlist: populate Pid field on Linux 2023-10-04 13:28:08 -07:00
portlist_linux_test.go portlist: add Poller.IncludeLocalhost option 2023-05-24 13:26:16 -04:00
portlist_macos.go portlist: add Poller.IncludeLocalhost option 2023-05-24 13:26:16 -04:00
portlist_test.go portlist: remove async functionality 2023-06-07 10:22:09 -04:00
portlist_windows.go portlist: add Poller.IncludeLocalhost option 2023-05-24 13:26:16 -04:00