We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a7392b commit ca51bbeCopy full SHA for ca51bbe
src/os/pidfd_linux.go
@@ -14,6 +14,7 @@ package os
14
import (
15
"errors"
16
"internal/syscall/unix"
17
+ "runtime"
18
"sync"
19
"syscall"
20
"unsafe"
@@ -134,6 +135,17 @@ func (p *Process) pidfdSendSignal(s syscall.Signal) error {
134
135
}
136
137
func pidfdWorks() bool {
138
+ if runtime.GOOS == "android" {
139
+ // Tailscale-specific workaround while
140
+ // https://github.com/golang/go/issues/69065
141
+ // is fixed.
142
+ //
143
+ // See: https://github.com/tailscale/tailscale/issues/13452
144
145
+ // For now (2024-09-12), we'll just disable pidfd
146
+ // on all Android releases, like Go 1.22.
147
+ return false
148
+ }
149
return checkPidfdOnce() == nil
150
151
0 commit comments