]> git.ipfire.org Git - thirdparty/wireguard-go.git/commit
rwcancel: use ppoll on Linux for Android
authorJason A. Donenfeld <Jason@zx2c4.com>
Sun, 26 Sep 2021 23:15:58 +0000 (17:15 -0600)
committerJason A. Donenfeld <Jason@zx2c4.com>
Sun, 26 Sep 2021 23:16:38 +0000 (17:16 -0600)
commitfcc601dbf0f6b626ec1d47a880cbe64f9c8fe385
treea083b5d380572f2d7ceba2b952606d48c53ac398
parent217ac1016bc54b47418fb606740498fcfbcfd9e6
rwcancel: use ppoll on Linux for Android

This is a temporary measure while we wait for
https://go-review.googlesource.com/c/sys/+/352310 to land.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
rwcancel/poll_linux.go [new file with mode: 0644]
rwcancel/poll_unix.go [new file with mode: 0644]
rwcancel/rwcancel.go