]> Cypherpunks repositories - gostls13.git/commit
runtime: skip sysmon workaround on NetBSD >= 9.2
authorTobias Klauser <tklauser@distanz.ch>
Thu, 3 Jun 2021 14:57:54 +0000 (16:57 +0200)
committerTobias Klauser <tobias.klauser@gmail.com>
Mon, 16 Aug 2021 21:24:44 +0000 (21:24 +0000)
commit6406227d71d2de0bec944bfc1a6aaed90dbf9d0d
tree5d57ae62cfd2148e448f190a88b919acac98255c
parenta05a7d49a9b7975d89bc5851cff55b64f64242c3
runtime: skip sysmon workaround on NetBSD >= 9.2

Detect the NetBSD version in osinit and only enable the workaround for
the kernel bug identified in #42515 for NetBSD versions older than 9.2.

For #42515
For #46495

Change-Id: I808846c7f8e47e5f7cc0a2f869246f4bd90d8e22
Reviewed-on: https://go-review.googlesource.com/c/go/+/324472
Trust: Tobias Klauser <tobias.klauser@gmail.com>
Trust: Benny Siegert <bsiegert@gmail.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
src/runtime/os_netbsd.go
src/runtime/proc.go