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