io/uring/meson.build: disable io_uring on Android
On Android, the feature is forbidden by a seccomp filter, see https://security.googleblog.com/2023/06/learnings-from-kctf-vrps-42-linux.html
This commit is contained in:
parent
18000ff499
commit
ce2965b5bc
@ -1,6 +1,8 @@
|
||||
uring_features = configuration_data()
|
||||
|
||||
if host_machine.system() != 'linux'
|
||||
if host_machine.system() != 'linux' or is_android
|
||||
# io_uring is a Linux-only feature; on Android, we also disable it
|
||||
# because it's forbidden by a seccomp filter
|
||||
uring_dep = dependency('', required: false)
|
||||
uring_features.set('HAVE_URING', false)
|
||||
configure_file(output: 'Features.h', configuration: uring_features)
|
||||
|
Loading…
Reference in New Issue
Block a user