diff options
| author | Michael Pratt <mpratt@google.com> | 2021-08-12 17:17:51 -0400 |
|---|---|---|
| committer | Michael Pratt <mpratt@google.com> | 2021-08-13 14:00:23 +0000 |
| commit | 20a620fd9f7bc35739c1af3602d53808d0430814 (patch) | |
| tree | 0209d2b1a64b81fba1542331355a8bcdb5bd50b1 /src/internal/syscall/windows/exec_windows_test.go | |
| parent | 4c8ffb3baaabce1aa2139ce7739fec333ab80728 (diff) | |
| download | go-20a620fd9f7bc35739c1af3602d53808d0430814.tar.xz | |
runtime: drop SIGPROF while in ARM < 7 kernel helpers
On Linux ARMv6 and below runtime/internal/atomic.Cas calls into a kernel
cas helper at a fixed address. If a SIGPROF arrives while executing the
kernel helper, the sigprof lostAtomic logic will miss that we are
potentially in the spinlock critical section, which could cause
a deadlock when using atomics later in sigprof.
Fixes #47505
Change-Id: If8ba0d0fc47e45d4e6c68eca98fac4c6ed4e43c1
Reviewed-on: https://go-review.googlesource.com/c/go/+/341889
Trust: Michael Pratt <mpratt@google.com>
Run-TryBot: Michael Pratt <mpratt@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Diffstat (limited to 'src/internal/syscall/windows/exec_windows_test.go')
0 files changed, 0 insertions, 0 deletions
