From c4e4afc90eb6fd31710edb062bacfae0643d170f Mon Sep 17 00:00:00 2001 From: Michael Pratt Date: Fri, 23 Feb 2024 13:07:11 -0500 Subject: Revert "os: make FindProcess use pidfd on Linux" This reverts CL 542699. Reason for revert: Some applications assume FindProcess does not return errors. For #62654. Fixes #65866. Change-Id: Ic185a6253c8e508b08150b618c39a9905f6cdd60 Reviewed-on: https://go-review.googlesource.com/c/go/+/566476 Reviewed-by: Bryan Mills LUCI-TryBot-Result: Go LUCI Auto-Submit: Michael Pratt --- src/runtime/metrics/doc.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/runtime/metrics') diff --git a/src/runtime/metrics/doc.go b/src/runtime/metrics/doc.go index d1c2f8aa25..fb2f44da29 100644 --- a/src/runtime/metrics/doc.go +++ b/src/runtime/metrics/doc.go @@ -290,10 +290,6 @@ Below is the full list of supported metrics, ordered lexicographically. The number of non-default behaviors executed by the net package due to a non-default GODEBUG=multipathtcp=... setting. - /godebug/non-default-behavior/osfinderr:events - The number of non-default behaviors executed by the os package - due to a non-default GODEBUG=osfinderr=... setting. - /godebug/non-default-behavior/panicnil:events The number of non-default behaviors executed by the runtime package due to a non-default GODEBUG=panicnil=... setting. -- cgit v1.3