From 65cf090f93e2ef9d40fc1ee65dbcff57188e0488 Mon Sep 17 00:00:00 2001 From: klzgrad Date: Fri, 23 Jul 2021 21:50:26 +0800 Subject: [PATCH] allocator: Disable uffd support for Musl --- src/base/allocator/partition_allocator/partition_alloc_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/allocator/partition_allocator/partition_alloc_config.h b/src/base/allocator/partition_allocator/partition_alloc_config.h index 254476f9ea..e564e5c7d9 100644 --- a/src/base/allocator/partition_allocator/partition_alloc_config.h +++ b/src/base/allocator/partition_allocator/partition_alloc_config.h @@ -35,7 +35,7 @@ static_assert(sizeof(void*) != 8, ""); #endif #if defined(PA_HAS_64_BITS_POINTERS) && \ - (defined(OS_LINUX) || defined(OS_ANDROID)) + (defined(OS_LINUX) || defined(OS_ANDROID)) && !defined(__UCLIBC__) // TODO(bikineev): Enable for ChromeOS. #define PA_STARSCAN_UFFD_WRITE_PROTECTOR_SUPPORTED #endif