mirror of
https://github.com/golang/sys.git
synced 2026-02-08 11:46:04 +03:00
The two functions have the same levels of compatibility, but this latter one gives us access to the process ID, which is important for things like WFP whitelisting. The change required is fairly trivial too. Change-Id: Ifb6b3ee3e897202b9cffa1388c53c25cbcfede61 Reviewed-on: https://go-review.googlesource.com/c/sys/+/173666 Run-TryBot: Jason Donenfeld <Jason@zx2c4.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>