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.
2 parents a79493b + 92a3dca commit 982da8fCopy full SHA for 982da8f
src/os/pidfd_linux.go
@@ -132,6 +132,17 @@ func (p *Process) pidfdSendSignal(s syscall.Signal) error {
132
}
133
134
func pidfdWorks() bool {
135
+ if runtime.GOOS == "android" {
136
+ // Tailscale-specific workaround since
137
+ // https://github.com/golang/go/pull/69543/commits/aad6b3b32c81795f86bc4a9e81aad94899daf520
138
+ // does not solve https://github.com/golang/go/issues/69065 for Android apps using Go libraries.
139
+ //
140
+ // See: https://github.com/tailscale/tailscale/issues/13452
141
142
+ // For now (2025-04-09), we'll just disable pidfd
143
+ // on all Android releases.
144
+ return false
145
+ }
146
return checkPidfdOnce() == nil
147
148
0 commit comments