mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium version 92.0.4515.0 (#885287)
This commit is contained in:
17
patch/patches/linux_allocator_uffd_1206047.patch
Normal file
17
patch/patches/linux_allocator_uffd_1206047.patch
Normal file
@@ -0,0 +1,17 @@
|
||||
diff --git base/allocator/partition_allocator/partition_alloc_config.h base/allocator/partition_allocator/partition_alloc_config.h
|
||||
index c5ccd81..6d15bfd 100644
|
||||
--- base/allocator/partition_allocator/partition_alloc_config.h
|
||||
+++ base/allocator/partition_allocator/partition_alloc_config.h
|
||||
@@ -33,9 +33,12 @@
|
||||
|
||||
#if defined(PA_HAS_64_BITS_POINTERS) && \
|
||||
(defined(OS_LINUX) || defined(OS_ANDROID))
|
||||
+#include <linux/version.h>
|
||||
// TODO(bikineev): Enable for ChromeOS.
|
||||
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 8, 0)
|
||||
#define PA_STARSCAN_UFFD_WRITE_PROTECTOR_SUPPORTED
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
// POSIX is not only UNIX, e.g. macOS and other OSes. We do use Linux-specific
|
||||
// features such as futex(2).
|
Reference in New Issue
Block a user