Skip to content

glib/gthread-posix: Block futex_time64 usage on Android API level < 30

Amyspark requested to merge amyspark/glib:fix-futex-time64-usage-android-30 into main

Hi all,

This PR is to fix the usage of futex_time64 causing an instant Seccomp crash on Android < 11.

This syscall is seccomp blocked on all API levels lower than 30:

https://github.com/aosp-mirror/platform_bionic/commit/ee7bc3002dc3127faac110167d28912eb0e86a20

While at it, this MR also fixes all direct tests on __NR_futex_time64 and __NR_futex so that they refer to the results available in config.h.

See for reference: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6477

cc @sdroege

Merge request reports

Loading