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 f81351fdef portlist: fix data race
Maisem spotted the bug. The initial getList call in NewPoller wasn't
making a clone (only the Run loop's getList calls).

Fixes #6314

Change-Id: I8ab8799fcccea8e799140340d0ff88a825bb6ff0
Co-authored-by: Maisem Ali <maisem@tailscale.com>
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2 years ago
..
clean.go portlist: normalise space delimited process names (#5634) 2 years ago
clean_test.go portlist: normalise space delimited process names (#5634) 2 years ago
netstat.go portlist: add macOS osImpl, finish migration to new style 2 years ago
netstat_test.go portlist: add macOS osImpl, finish migration to new style 2 years ago
poller.go portlist: fix data race 2 years ago
portlist.go portlist: refactor, introduce OS-specific types 2 years ago
portlist_linux.go util/dirwalk, metrics, portlist: add new package for fast directory walking 2 years ago
portlist_linux_test.go util/dirwalk, metrics, portlist: add new package for fast directory walking 2 years ago
portlist_macos.go portlist: add macOS osImpl, finish migration to new style 2 years ago
portlist_test.go portlist: fix data race 2 years ago
portlist_windows.go portlist: add macOS osImpl, finish migration to new style 2 years ago