diff options
| author | Jonatan Rhodin <jonatan.rhodin@mullvad.net> | 2025-02-26 18:06:30 +0100 |
|---|---|---|
| committer | Jonatan Rhodin <jonatan.rhodin@mullvad.net> | 2025-02-27 11:55:17 +0100 |
| commit | 56cde3c2e396d9759fc9fe45cec0e9e816db94d0 (patch) | |
| tree | 7829660994483679ac08be2db7d055e3ffe715aa /android/lib | |
| parent | 04b828aac6dc7b17a83e43f6e2b84910ecdfc4c3 (diff) | |
| download | mullvadvpn-56cde3c2e396d9759fc9fe45cec0e9e816db94d0.tar.xz mullvadvpn-56cde3c2e396d9759fc9fe45cec0e9e816db94d0.zip | |
Use socket instead of ping command when pinging on android
Previous implementation spawned a process with tokio which in turn
registered a signal handler without ONASTACK flag set.
When using GO code, all signal handlers needs to have this flag
set otherwise a signal might be handled on a goroutine thread
which has a small stack and thus can overflow.
Reference: DROID-1825
Co-authored-by: David Lönnhager <david.l@mullvad.net>
Diffstat (limited to 'android/lib')
0 files changed, 0 insertions, 0 deletions
