git: fb1910b72a45 - 2023Q3 - www/ungoogled-chromium: update to 117.0.5938.88
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 17 Sep 2023 19:46:15 UTC
The branch 2023Q3 has been updated by rnagy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=fb1910b72a4553face1689b4453f041f65e3e93a
commit fb1910b72a4553face1689b4453f041f65e3e93a
Author: Robert Nagy <rnagy@FreeBSD.org>
AuthorDate: 2023-09-17 17:51:44 +0000
Commit: Robert Nagy <rnagy@FreeBSD.org>
CommitDate: 2023-09-17 19:46:01 +0000
www/ungoogled-chromium: update to 117.0.5938.88
Security: https://vuxml.freebsd.org/freebsd/88754d55-521a-11ee-8290-a8a1599412c6.html
(cherry picked from commit e427079cbffb0bb4abf9b718da2f9a421db021d3)
---
www/ungoogled-chromium/Makefile | 4 +-
www/ungoogled-chromium/distinfo | 14 +--
www/ungoogled-chromium/files/patch-BUILD.gn | 16 +--
...patch-ash_display_mirror__window__controller.cc | 4 +-
www/ungoogled-chromium/files/patch-base_BUILD.gn | 78 ++++++------
...ch-base_allocator_partition__allocator_BUILD.gn | 11 ++
...tion__allocator_address__space__randomization.h | 4 +-
...llocator_partition__allocator_page__allocator.h | 4 +-
...rtition__allocator_page__allocator__constants.h | 8 +-
...__allocator_page__allocator__internals__posix.h | 4 +-
...cator_partition__allocator_partition__alloc.gni | 4 +-
...tor_partition__alloc__base_rand__util__posix.cc | 8 +-
...partition__allocator_partition__alloc__config.h | 6 +-
...tition__allocator_partition__alloc__constants.h | 6 +-
...locator_partition__allocator_partition__root.cc | 8 +-
...or_partition__allocator_starscan_stack_stack.cc | 4 +-
.../files/patch-base_base__switches.cc | 4 +-
.../files/patch-base_base__switches.h | 4 +-
.../files/patch-base_debug_elf__reader.cc | 4 +-
.../files/patch-base_debug_stack__trace__posix.cc | 52 +++++++-
...tch-base_files_file__path__watcher__unittest.cc | 28 ++---
.../files/patch-base_i18n_icu__util.cc | 4 +-
.../files/patch-base_linux__util.cc | 4 +-
.../files/patch-base_process_process__metrics.h | 28 ++---
...patch-base_process_process__metrics__openbsd.cc | 10 +-
.../files/patch-base_process_process__posix.cc | 33 ++---
.../files/patch-base_profiler_module__cache.cc | 4 +-
.../files/patch-base_system_sys__info.cc | 4 +-
.../files/patch-base_system_sys__info.h | 6 +-
.../patch-base_test_test__file__util__linux.cc | 4 +-
.../patch-base_threading_platform__thread__bsd.cc | 34 +++++
..._threading_platform__thread__internal__posix.cc | 11 ++
...patch-base_threading_platform__thread__linux.cc | 84 -------------
...patch-base_threading_platform__thread__posix.cc | 28 ++++-
...ch-base_threading_platform__thread__unittest.cc | 4 +-
...tch-base_trace__event_malloc__dump__provider.cc | 6 +-
.../files/patch-base_trace__event_trace__log.cc | 16 +++
.../files/patch-build_config_compiler_BUILD.gn | 32 ++---
.../files/patch-build_config_compiler_pgo_BUILD.gn | 4 +-
.../files/patch-build_toolchain_gcc__toolchain.gni | 4 +-
.../files/patch-build_toolchain_toolchain.gni | 4 +-
www/ungoogled-chromium/files/patch-cc_BUILD.gn | 6 +-
.../files/patch-cc_base_features.cc | 11 ++
.../patch-chrome_app_app__management__strings.grdp | 4 +-
.../files/patch-chrome_app_chrome__command__ids.h | 4 +-
.../patch-chrome_app_chrome__main__delegate.cc | 16 +--
.../files/patch-chrome_app_chromium__strings.grd | 8 +-
.../patch-chrome_app_generated__resources.grd | 22 ++--
.../patch-chrome_app_google__chrome__strings.grd | 4 +-
.../files/patch-chrome_app_profiles__strings.grdp | 4 +-
.../files/patch-chrome_app_settings__strings.grdp | 6 +-
.../patch-chrome_app_theme_theme__resources.grd | 12 +-
.../files/patch-chrome_browser_BUILD.gn | 4 +-
.../files/patch-chrome_browser_about__flags.cc | 59 ++++++---
.../patch-chrome_browser_browser__features.cc | 4 +-
.../patch-chrome_browser_browser__process__impl.cc | 8 +-
.../patch-chrome_browser_browser__process__impl.h | 4 +-
..._browser_chrome__browser__interface__binders.cc | 16 +--
.../patch-chrome_browser_chrome__browser__main.cc | 10 +-
...ome_browser_chrome__content__browser__client.cc | 36 +++---
...rome_browser_chrome__content__browser__client.h | 4 +-
...ch-chrome_browser_chrome__process__singleton.cc | 46 -------
...nt__settings_one__time__permission__provider.cc | 6 +-
...download_chrome__download__manager__delegate.cc | 6 +-
...ch-chrome_browser_download_download__commands.h | 4 +-
...hrome_browser_download_download__item__model.cc | 8 +-
...atch-chrome_browser_download_download__prefs.cc | 12 +-
...nectors_analysis_content__analysis__delegate.cc | 4 +-
...er_enterprise_connectors_connectors__service.cc | 4 +-
...evice__trust_device__trust__service__factory.cc | 6 +-
...ectors_reporting_realtime__reporting__client.cc | 38 ++++++
...nectors_reporting_realtime__reporting__client.h | 20 +++
...nt_profile__management__navigation__throttle.cc | 13 ++
...erprise_signals_device__info__fetcher__linux.cc | 10 +-
.../files/patch-chrome_browser_extensions_BUILD.gn | 4 +-
...writer__private_removable__storage__provider.cc | 4 +-
...__private_passwords__private__delegate__impl.cc | 4 +-
...extensions_api_settings__private_prefs__util.cc | 6 +-
...api_webstore__private_webstore__private__api.cc | 4 +-
...e__file__system__access__permission__context.cc | 4 +-
.../patch-chrome_browser_flag__descriptions.cc | 41 +++---
.../patch-chrome_browser_flag__descriptions.h | 35 ++++--
...e_browser_gcm_gcm__profile__service__factory.cc | 20 +++
...__id_instance__id__profile__service__factory.cc | 20 +++
...chrome_browser_headless_headless__mode__util.cc | 8 +-
..._galleries_fileapi_mtp__device__map__service.cc | 4 +-
...covery_discovery__network__list__wifi__linux.cc | 6 +-
.../files/patch-chrome_browser_memory__details.cc | 4 +-
.../patch-chrome_browser_memory__details__linux.cc | 37 ------
...chrome__browser__main__extra__parts__metrics.cc | 12 +-
...ser_metrics_chrome__metrics__service__client.cc | 10 +-
...hrome_browser_metrics_power_process__monitor.cc | 8 +-
...rowser_net_system__network__context__manager.cc | 41 ++++--
..._new__tab__page_modules_drive_drive__service.cc | 4 +-
...d__manager_password__reuse__manager__factory.cc | 4 +-
.../patch-chrome_browser_platform__util__linux.cc | 6 +-
...onfiguration__policy__handler__list__factory.cc | 47 ++++---
.../patch-chrome_browser_prefs_browser__prefs.cc | 18 +--
...er_printing_print__backend__service__manager.cc | 32 ++---
...hrome__browser__main__extra__parts__profiles.cc | 60 +++++----
.../patch-chrome_browser_profiles_profile__impl.cc | 8 +-
...settings_appearance__page_appearance__page.html | 4 +-
...s_settings_appearance__page_appearance__page.ts | 14 +--
...atch-chrome_browser_resources_settings_route.ts | 4 +-
...d__content__scanning_binary__upload__service.cc | 4 +-
...browsing_download__protection_file__analyzer.cc | 4 +-
...tch-chrome_browser_sync_chrome__sync__client.cc | 12 +-
...h-chrome_browser_sync_sync__service__factory.cc | 12 +-
...r_task__manager_sampling_task__group__sampler.h | 12 +-
.../patch-chrome_browser_themes_theme__service.cc | 4 +-
...hrome_browser_themes_theme__service__factory.cc | 8 +-
...browser_ui_autofill_chrome__autofill__client.cc | 17 +++
.../files/patch-chrome_browser_ui_browser.h | 4 +-
...rome_browser_ui_browser__command__controller.cc | 12 +-
.../files/patch-chrome_browser_ui_chrome__pages.cc | 4 +-
.../files/patch-chrome_browser_ui_chrome__pages.h | 4 +-
...rowser_ui_color_native__chrome__color__mixer.cc | 4 +-
.../files/patch-chrome_browser_ui_managed__ui.cc | 11 --
...e_browser_ui_omnibox_chrome__omnibox__client.cc | 4 +-
...r_ui_omnibox_omnibox__pedal__implementations.cc | 4 +-
...browser_ui_signin__view__controller__delegate.h | 4 +-
...chrome_browser_ui_startup_bad__flags__prompt.cc | 4 +-
.../files/patch-chrome_browser_ui_tab__helpers.cc | 6 +-
.../files/patch-chrome_browser_ui_ui__features.cc | 4 +-
.../files/patch-chrome_browser_ui_ui__features.h | 4 +-
...h-chrome_browser_ui_views_accelerator__table.cc | 4 +-
..._views_eye__dropper_eye__dropper__view__aura.cc | 4 +-
...chrome_browser_ui_views_frame_browser__frame.cc | 12 +-
...-chrome_browser_ui_views_frame_browser__view.cc | 4 +-
...e_picture__in__picture__browser__frame__view.cc | 26 ++--
...me_picture__in__picture__browser__frame__view.h | 14 +--
..._ui_views_frame_system__menu__model__builder.cc | 8 +-
..._ui_views_profiles_profile__menu__view__base.cc | 4 +-
...es_signin__view__controller__delegate__views.cc | 6 +-
...les_signin__view__controller__delegate__views.h | 4 +-
...e_browser_ui_views_tab__search__bubble__host.cc | 4 +-
.../patch-chrome_browser_ui_views_tabs_tab.cc | 4 +-
..._browser_ui_views_tabs_tab__drag__controller.cc | 14 +--
...ui_views_tabs_tab__hover__card__bubble__view.cc | 4 +-
...rome_browser_ui_views_tabs_tab__style__views.cc | 11 ++
...eb__apps_web__app__integration__test__driver.cc | 31 ++---
...tch-chrome_browser_ui_webauthn_sheet__models.cc | 14 +++
..._ui_webui_app__home_app__home__page__handler.cc | 6 +-
...i_webui_chrome__web__ui__controller__factory.cc | 14 +--
..._ui_webui_management_management__ui__handler.cc | 12 +-
...r_ui_webui_management_management__ui__handler.h | 6 +-
..._browser_ui_webui_ntp_app__launcher__handler.cc | 4 +-
...me_browser_ui_webui_realbox_realbox__handler.cc | 4 +-
...tings_settings__localized__strings__provider.cc | 14 +--
...hrome_browser_ui_window__sizer_window__sizer.cc | 4 +-
...integration_run__on__os__login__sub__manager.cc | 4 +-
...tions_os__integration_shortcut__sub__manager.cc | 4 +-
...lications_os__integration_web__app__shortcut.cc | 4 +-
...plications_os__integration_web__app__shortcut.h | 4 +-
..._os__integration_web__app__shortcut__manager.cc | 4 +-
...s_test_os__integration__test__override__impl.cc | 33 ++---
...ns_test_os__integration__test__override__impl.h | 8 +-
...thn_chrome__authenticator__request__delegate.cc | 4 +-
.../files/patch-chrome_common_chrome__features.cc | 16 +--
.../files/patch-chrome_common_chrome__features.h | 8 +-
.../files/patch-chrome_common_chrome__paths.cc | 36 +++---
.../files/patch-chrome_common_chrome__paths.h | 12 +-
.../files/patch-chrome_common_chrome__switches.cc | 4 +-
.../files/patch-chrome_common_chrome__switches.h | 6 +-
.../files/patch-chrome_common_pref__names.cc | 65 ----------
.../files/patch-chrome_common_pref__names.h | 94 +++++++-------
.../files/patch-chrome_common_url__constants.cc | 4 +-
.../files/patch-chrome_common_url__constants.h | 4 +-
.../patch-chrome_common_webui__url__constants.cc | 12 +-
.../patch-chrome_common_webui__url__constants.h | 10 +-
...ome_renderer_chrome__render__frame__observer.cc | 4 +-
...vices_printing_print__backend__service__impl.cc | 19 ++-
.../files/patch-chrome_test_BUILD.gn | 4 +-
.../patch-chrome_test_chromedriver_capabilities.cc | 6 +-
...ch-chrome_test_chromedriver_chrome__launcher.cc | 6 +-
.../files/patch-chrome_utility_services.cc | 12 +-
...ecast_browser_cast__content__browser__client.cc | 4 +-
...tch-components_autofill__payments__strings.grdp | 4 +-
...utofill_core_browser_personal__data__manager.cc | 4 +-
...ill_core_common_autofill__payments__features.cc | 4 +-
...mponents_autofill_core_common_autofill__util.cc | 4 +-
.../files/patch-components_crash_core_app_BUILD.gn | 10 +-
...h_core_browser_crash__upload__list__crashpad.cc | 8 +-
...nents_device__signals_test_signals__contract.cc | 4 +-
...ponents_embedder__support_user__agent__utils.cc | 12 ++
...bedder__support_user__agent__utils__unittest.cc | 6 +-
...s_feature__engagement_public_event__constants.h | 4 +-
...e__engagement_public_feature__configurations.cc | 4 +-
...eature__engagement_public_feature__constants.cc | 4 +-
...feature__engagement_public_feature__constants.h | 6 +-
...nts_feature__engagement_public_feature__list.cc | 6 +-
...ents_feature__engagement_public_feature__list.h | 14 +--
...omponents_feed_core_v2_proto__util__unittest.cc | 4 +-
.../patch-components_flags__ui_flags__state.cc | 4 +-
..._asan_client_guarded__page__allocator__posix.cc | 13 ++
.../patch-components_gwp__asan_client_gwp__asan.cc | 20 +++
...nts_invalidation_impl_invalidation__switches.cc | 11 --
.../patch-components_management__strings.grdp | 4 +-
...ents_metrics_drive__metrics__provider__linux.cc | 4 +-
...rator_browser_network__session__configurator.cc | 14 +--
...ser_network__session__configurator__unittest.cc | 12 +-
...imization__guide_core_tflite__model__executor.h | 52 +++++++-
...ssword__manager_core_browser_login__database.cc | 8 +-
...nager_core_browser_login__database__unittest.cc | 8 +-
...ger_core_browser_sync_password__sync__bridge.cc | 6 +-
...__manager_core_browser_ui_passwords__grouper.cc | 4 +-
...ager_core_common_password__manager__features.cc | 10 +-
...nager_core_common_password__manager__features.h | 14 +--
...ts_policy_core_common_policy__loader__common.cc | 20 +++
...onents_policy_tools_generate__policy__source.py | 4 +-
.../files/patch-components_power__metrics_BUILD.gn | 4 +-
..._default__model_cross__device__user__segment.cc | 4 +-
...paint__preview__compositor__collection__impl.cc | 8 +-
..._ai_sandbox_screen__ai__sandbox__hook__linux.cc | 4 +-
...ices_screen__ai_screen__ai__library__wrapper.cc | 8 +-
...metric__utils_browser_startup__metric__utils.cc | 11 --
..._metric__utils_common_startup__metric__utils.cc | 11 ++
...supervised__user_core_browser_proto__fetcher.cc | 39 ++++++
..._supervised__user_core_browser_proto__fetcher.h | 21 ++++
..._user_core_browser_supervised__user__service.cc | 10 +-
...sync__device__info_local__device__info__util.cc | 8 +-
...onents_translate_core_common_translate__util.cc | 4 +-
..._formatter_spoof__checks_idn__spoof__checker.cc | 4 +-
...nts_user__education_views_help__bubble__view.cc | 4 +-
...ons_service_google__groups__updater__service.cc | 4 +-
...onents_viz_host_renderer__settings__creation.cc | 11 --
...isplay__embedder_skia__output__surface__impl.cc | 4 +-
...mbedder_skia__output__surface__impl__on__gpu.cc | 4 +-
...e__sinks_root__compositor__frame__sink__impl.cc | 6 +-
...me__sinks_root__compositor__frame__sink__impl.h | 4 +-
..._webauthn_core_browser_passkey__sync__bridge.cc | 6 +-
...atch-content_app_content__main__runner__impl.cc | 6 +-
.../files/patch-content_browser_BUILD.gn | 4 +-
.../patch-content_browser_browser__main__loop.cc | 8 +-
...wser_child__process__launcher__helper__linux.cc | 8 +-
...wser_devtools_protocol_system__info__handler.cc | 4 +-
...patch-content_browser_download_save__package.cc | 16 +++
...rowser_gpu_gpu__data__manager__impl__private.cc | 4 +-
...browser_gpu_gpu__data__manager__impl__private.h | 4 +-
...patch-content_browser_gpu_gpu__process__host.cc | 6 +-
..._group_header__direct__from__seller__signals.cc | 14 +++
...ent_browser_network__service__instance__impl.cc | 8 +-
...er_renderer__host_back__forward__cache__impl.cc | 11 --
...rowser_renderer__host_delegated__frame__host.cc | 4 +-
...ia_service__video__capture__device__launcher.cc | 20 +++
...ser_renderer__host_render__frame__host__impl.cc | 40 ++++++
...r_renderer__host_render__process__host__impl.cc | 17 ++-
...er_renderer__host_render__process__host__impl.h | 4 +-
...derer__host_render__widget__host__view__aura.cc | 12 +-
...nderer__host_render__widget__host__view__aura.h | 4 +-
.../patch-content_browser_sandbox__host__linux.cc | 4 +-
...ce__worker_service__worker__context__wrapper.cc | 4 +-
...patch-content_browser_utility__process__host.cc | 16 +--
.../patch-content_browser_utility__process__host.h | 10 +-
...r_utility__process__host__receiver__bindings.cc | 10 +-
...wser_web__contents_web__contents__view__aura.cc | 4 +-
.../files/patch-content_child_child__process.cc | 4 +-
.../files/patch-content_common_BUILD.gn | 6 +-
...atch-content_public_common_content__features.cc | 8 +-
...patch-content_public_common_content__features.h | 4 +-
...atch-content_public_common_content__switches.cc | 4 +-
.../files/patch-content_renderer_BUILD.gn | 6 +-
.../patch-content_renderer_render__thread__impl.cc | 10 +-
...ent_renderer_renderer__blink__platform__impl.cc | 10 +-
...er_renderer__main__platform__delegate__linux.cc | 4 +-
.../files/patch-content_shell_BUILD.gn | 4 +-
.../files/patch-content_test_BUILD.gn | 6 +-
.../files/patch-content_utility_services.cc | 28 ++---
...ech_speech__recognition__sandbox__hook__linux.h | 8 +-
.../files/patch-content_zygote_zygote__linux.cc | 4 +-
.../patch-content_zygote_zygote__main__linux.cc | 10 +-
...sions_browser_api_messaging_message__service.cc | 4 +-
.../files/patch-extensions_common_api_runtime.json | 16 ++-
.../patch-extensions_common_features_feature.cc | 4 +-
...__buffer_common_gpu__memory__buffer__support.cc | 6 +-
...mand__buffer_service_dawn__context__provider.cc | 6 +-
..._command__buffer_service_gles2__cmd__decoder.cc | 4 +-
...e_shared__image_external__vk__image__backing.cc | 22 ++--
..._image_external__vk__image__backing__factory.cc | 13 +-
...service_shared__image_shared__image__factory.cc | 11 ++
...service_shared__image_shared__image__manager.cc | 4 +-
...ce_shared__image_wrapped__sk__image__backing.cc | 4 +-
...ommand__buffer_service_webgpu__decoder__impl.cc | 4 +-
.../files/patch-gpu_config_gpu__finch__features.cc | 4 +-
.../files/patch-gpu_ipc_service_gpu__init.cc | 18 +--
.../files/patch-gpu_vulkan_generate__bindings.py | 4 +-
.../patch-gpu_vulkan_vulkan__device__queue.cc | 16 +--
.../files/patch-gpu_vulkan_vulkan__device__queue.h | 10 +-
.../patch-gpu_vulkan_vulkan__function__pointers.cc | 6 +-
.../patch-gpu_vulkan_vulkan__function__pointers.h | 8 +-
.../files/patch-gpu_vulkan_vulkan__image.cc | 11 --
...adless_lib_headless__content__main__delegate.cc | 4 +-
.../files/patch-ipc_ipc__message__utils.cc | 4 +-
www/ungoogled-chromium/files/patch-media_BUILD.gn | 4 +-
.../files/patch-media_audio_BUILD.gn | 4 +-
.../files/patch-media_base_media__switches.cc | 21 +++-
.../files/patch-media_base_media__switches.h | 15 ++-
.../files/patch-media_base_video__frame.cc | 6 +-
.../files/patch-media_base_video__frame.h | 10 +-
...h-media_capture_video_linux_fake__v4l2__impl.cc | 4 +-
...ch-media_capture_video_linux_fake__v4l2__impl.h | 4 +-
..._capture_video_linux_v4l2__capture__delegate.cc | 55 ++++++--
...a_capture_video_linux_v4l2__capture__delegate.h | 28 ++++-
...deo__capture__buffer__tracker__factory__impl.cc | 30 ++---
...-media_gpu_chromeos_video__decoder__pipeline.cc | 6 +-
...gpu_gpu__video__encode__accelerator__factory.cc | 4 +-
...dware__video__encoding__sandbox__hook__linux.cc | 11 +-
.../files/patch-media_gpu_vaapi_vaapi__wrapper.cc | 13 +-
...stable__video__decoder__types__mojom__traits.cc | 6 +-
...ideo_gpu__memory__buffer__video__frame__pool.cc | 8 +-
...ia_video_video__encode__accelerator__adapter.cc | 4 +-
.../patch-mojo_public_tools_bindings_mojom.gni | 4 +-
www/ungoogled-chromium/files/patch-net_BUILD.gn | 16 +--
.../files/patch-net_base_features.cc | 11 ++
.../patch-net_disk__cache_blockfile_disk__format.h | 12 --
.../files/patch-net_dns_address__info.cc | 11 ++
.../files/patch-net_dns_host__resolver__cache.cc | 4 +-
..._url__request_url__request__context__builder.cc | 4 +-
.../patch-printing_backend_cups__ipp__helper.cc | 4 +-
.../files/patch-printing_print__settings.cc | 10 +-
.../files/patch-printing_print__settings.h | 4 +-
..._sandbox_print__backend__sandbox__hook__linux.h | 4 +-
.../files/patch-remoting_base_mojo__util.cc | 11 --
.../files/patch-remoting_host_chromoting__host.cc | 16 +--
.../files/patch-remoting_host_chromoting__host.h | 29 +++++
...ting_host_chromoting__host__services__client.cc | 6 +-
.../files/patch-remoting_host_it2me_it2me__host.cc | 12 +-
...t_it2me_it2me__native__messaging__host__main.cc | 10 +-
.../files/patch-remoting_host_policy__watcher.cc | 6 +-
.../patch-remoting_host_remoting__me2me__host.cc | 35 ++++--
...tch-sandbox_linux_services_libc__interceptor.cc | 4 +-
...h-services_audio_audio__sandbox__hook__linux.cc | 6 +-
...ch-services_audio_audio__sandbox__hook__linux.h | 8 +-
...ices_device_geolocation_location__arbitrator.cc | 4 +-
.../patch-services_device_public_mojom_BUILD.gn | 4 +-
...me__zone__monitor_time__zone__monitor__linux.cc | 4 +-
.../files/patch-services_device_usb_BUILD.gn | 8 +-
.../files/patch-services_network_BUILD.gn | 4 +-
.../patch-services_network_network__service.cc | 4 +-
.../patch-services_network_public_cpp_BUILD.gn | 4 +-
.../patch-services_network_public_mojom_BUILD.gn | 6 +-
...video__capture_video__capture__service__impl.cc | 24 ++--
..._video__capture_video__capture__service__impl.h | 18 +--
..._party_abseil-cpp_absl_base_internal_sysinfo.cc | 10 +-
...l-cpp_absl_debugging_internal_elf__mem__image.h | 6 +-
...sl_time_internal_cctz_src_time__zone__format.cc | 6 +-
.../files/patch-third__party_angle_BUILD.gn | 8 +-
...ird__party_angle_src_common_platform__helpers.h | 11 ++
...tch-third__party_angle_src_libANGLE_Display.cpp | 12 +-
...rty_angle_src_libANGLE_renderer_driver__utils.h | 11 --
...h-third__party_blink_public_platform_platform.h | 4 +-
...rer_controller_memory__usage__monitor__posix.cc | 4 +-
...blink_renderer_core_exported_web__view__impl.cc | 6 +-
...y_blink_renderer_core_frame_web__frame__test.cc | 6 +-
...e_layout_ng_grid_ng__grid__layout__algorithm.cc | 30 +++++
...ink_renderer_core_layout_ng_layout__ng__view.cc | 4 +-
...core_layout_ng_physical__fragment__rare__data.h | 10 ++
...party_blink_renderer_core_paint_paint__layer.cc | 4 +-
...renderer_modules_ml_webnn_ml__graph__xnnpack.cc | 4 +-
...odules_webgl_webgl__rendering__context__base.cc | 4 +-
...modules_webgl_webgl__webcodecs__video__frame.cc | 11 --
...rty_blink_renderer_modules_webgpu_gpu__queue.cc | 4 +-
...h-third__party_blink_renderer_platform_BUILD.gn | 4 +-
...rty_blink_renderer_platform_fonts_font__cache.h | 12 +-
...nk_renderer_platform_fonts_font__description.cc | 4 +-
...y_blink_renderer_platform_fonts_font__palette.h | 26 ++++
...derer_platform_runtime__enabled__features.json5 | 8 +-
...platform_video__capture_video__capture__impl.cc | 4 +-
.../files/patch-third__party_boringssl_BUILD.gn | 11 --
...ringssl_src_crypto_chacha_asm_chacha-x86__64.pl | 10 --
...rypto_cipher__extra_asm_aes128gcmsiv-x86__64.pl | 138 ---------------------
...ipher__extra_asm_chacha20__poly1305__x86__64.pl | 18 ---
..._src_crypto_fipsmodule_aes_asm_aesni-x86__64.pl | 74 -----------
..._src_crypto_fipsmodule_aes_asm_vpaes-x86__64.pl | 50 --------
...ngssl_src_crypto_fipsmodule_bn_asm_rsaz-avx2.pl | 50 --------
...sl_src_crypto_fipsmodule_bn_asm_x86__64-mont.pl | 10 --
...l_src_crypto_fipsmodule_bn_asm_x86__64-mont5.pl | 50 --------
...rc_crypto_fipsmodule_ec_asm_p256-x86__64-asm.pl | 98 ---------------
...pto_fipsmodule_ec_asm_p256__beeu-x86__64-asm.pl | 10 --
...sl_src_crypto_fipsmodule_md5_asm_md5-x86__64.pl | 10 --
...rypto_fipsmodule_modes_asm_aesni-gcm-x86__64.pl | 34 -----
...pto_fipsmodule_modes_asm_ghash-ssse3-x86__64.pl | 18 ---
...rc_crypto_fipsmodule_modes_asm_ghash-x86__64.pl | 50 --------
...rc_crypto_fipsmodule_rand_asm_rdrand-x86__64.pl | 18 ---
...l_src_crypto_fipsmodule_sha_asm_sha1-x86__64.pl | 10 --
...src_crypto_fipsmodule_sha_asm_sha512-x86__64.pl | 10 --
...y_boringssl_src_crypto_perlasm_x86__64-xlate.pl | 24 ----
...ngssl_src_crypto_test_asm_trampoline-x86__64.pl | 58 ---------
...ty_boringssl_src_util_generate__build__files.py | 10 +-
...ashpad_crashpad_build_crashpad__buildconfig.gni | 6 +-
...-third__party_crashpad_crashpad_client_BUILD.gn | 4 +-
..._crashpad_crashpad_util_misc_capture__context.h | 16 +--
..._party_ffmpeg_chromium_scripts_build__ffmpeg.py | 28 ++---
...rty_ffmpeg_chromium_scripts_robo__lib_config.py | 53 ++++++++
.../files/patch-third__party_ffmpeg_configure | 4 +-
...ch-third__party_ffmpeg_libavutil_random__seed.c | 10 +-
...rd__party_ipcz_src_reference__drivers_random.cc | 10 +-
...tch-third__party_leveldatabase_env__chromium.cc | 4 +-
...m_source_libaom_aom__ports_aarch64__cpudetect.c | 39 ++++++
.../files/patch-third__party_libusb_BUILD.gn | 8 +-
.../files/patch-third__party_libxml_linux_config.h | 8 +-
...maldoca_service_common_process__doc__wrapper.cc | 8 +-
...ial__color__utilities_src_cpp_palettes_tones.cc | 11 ++
...ird__party_pdfium_core_fxge_cfx__fontmapper.cpp | 4 +-
.../files/patch-third__party_pdfium_pdfium.gni | 10 +-
...-third__party_perfetto_src_base_unix__socket.cc | 6 +-
...trace__processor_db_storage_numeric__storage.cc | 16 +++
...etto_src_tracing_core_tracing__service__impl.cc | 4 +-
...-third__party_perfetto_src_tracing_ipc_memfd.cc | 12 ++
...d__party_swiftshader_src_System_Linux_MemFd.cpp | 37 ++++++
...vulkan-loader_src_loader_vk__loader__platform.h | 4 +-
...s_src_layers_stateless_sl__instance__device.cpp | 4 +-
...layers_vulkan_generated_vk__extension__helper.h | 4 +-
.../files/patch-third__party_webrtc_BUILD.gn | 4 +-
...rd__party_webrtc_modules_audio__device_BUILD.gn | 4 +-
...d__party_webrtc_rtc__base_net__test__helpers.cc | 10 ++
.../files/patch-third__party_zlib_BUILD.gn | 40 +++---
.../files/patch-third__party_zlib_cpu__features.c | 51 ++++++++
.../files/patch-tools_gn_build_gen.py | 10 +-
.../files/patch-ui_base_cursor_cursor__factory.cc | 4 +-
.../files/patch-ui_base_cursor_cursor__factory.h | 4 +-
.../patch-ui_base_ime_fake__text__input__client.cc | 4 +-
.../patch-ui_base_ime_fake__text__input__client.h | 4 +-
.../patch-ui_base_resource_resource__bundle.cc | 4 +-
.../patch-ui_base_test_skia__gold__pixel__diff.cc | 4 +-
.../files/patch-ui_base_ui__base__features.cc | 17 ++-
.../files/patch-ui_base_ui__base__features.h | 13 +-
.../files/patch-ui_base_x_x11__cursor__loader.cc | 4 +-
.../files/patch-ui_color_color__id.h | 4 +-
.../files/patch-ui_compositor_compositor.cc | 4 +-
.../files/patch-ui_events_event.cc | 4 +-
...nts_gesture__detection_motion__event__generic.h | 10 ++
www/ungoogled-chromium/files/patch-ui_gfx_BUILD.gn | 4 +-
.../files/patch-ui_gfx_canvas__skia.cc | 4 +-
.../files/patch-ui_gfx_native__widget__types.h | 6 +-
.../files/patch-ui_gfx_x_xlib__support.cc | 6 +-
www/ungoogled-chromium/files/patch-ui_gl_BUILD.gn | 10 +-
.../files/patch-ui_gl_gl__fence.cc | 11 ++
.../files/patch-ui_gl_gl__switches.cc | 4 +-
.../files/patch-ui_gtk_gtk__compat.cc | 12 +-
.../files/patch-ui_gtk_gtk__ui.cc | 22 ++++
.../patch-ui_native__theme_native__theme__base.cc | 4 +-
...rm_headless_vulkan__implementation__headless.cc | 4 +-
...tform_wayland_host_wayland__toplevel__window.cc | 4 +-
...atform_wayland_host_wayland__toplevel__window.h | 4 +-
..._ozone_platform_wayland_host_wayland__window.cc | 35 ++++++
...i_ozone_platform_wayland_host_wayland__window.h | 31 ++++-
...rm_wayland_host_xdg__toplevel__wrapper__impl.cc | 4 +-
...m_wayland_host_zwp__text__input__wrapper__v1.cc | 21 ++++
...ne_platform_wayland_ozone__platform__wayland.cc | 24 +++-
...tch-ui_ozone_platform_x11_x11__screen__ozone.cc | 11 ++
...atch-ui_ozone_platform_x11_x11__screen__ozone.h | 11 ++
.../files/patch-ui_ozone_public_ozone__platform.h | 4 +-
.../patch-ui_ozone_public_platform__screen.cc | 11 ++
.../files/patch-ui_ozone_public_platform__screen.h | 20 +++
.../patch-ui_views_controls_textfield_textfield.cc | 10 +-
.../files/patch-ui_views_widget_widget.cc | 4 +-
.../patch-ui_views_window_dialog__delegate.cc | 4 +-
www/ungoogled-chromium/files/patch-v8_BUILD.gn | 27 ++--
.../files/patch-v8_src_api_api.cc | 6 +-
.../files/patch-v8_src_base_atomicops.h | 4 +-
.../patch-v8_src_base_platform_platform-posix.cc | 10 +-
.../patch-v8_src_builtins_x64_builtins-x64.cc | 12 +-
.../patch-v8_src_codegen_x64_assembler-x64.cc | 6 +-
.../files/patch-v8_src_codegen_x64_assembler-x64.h | 6 +-
...patch-v8_src_codegen_x64_macro-assembler-x64.cc | 6 +-
.../patch-v8_src_codegen_x64_macro-assembler-x64.h | 4 +-
..._src_compiler_backend_x64_code-generator-x64.cc | 21 ++--
.../files/patch-v8_src_execution_isolate.cc | 4 +-
.../files/patch-v8_src_flags_flags.cc | 4 +-
...ch-v8_src_maglev_x64_maglev-assembler-x64-inl.h | 4 +-
...patch-v8_src_maglev_x64_maglev-assembler-x64.cc | 13 +-
...src_wasm_baseline_ia32_liftoff-assembler-ia32.h | 30 ++---
...-weblayer_browser_browser__main__parts__impl.cc | 6 +-
...layer_browser_content__browser__client__impl.cc | 4 +-
...blayer_browser_content__browser__client__impl.h | 4 +-
476 files changed, 3023 insertions(+), 2738 deletions(-)
diff --git a/www/ungoogled-chromium/Makefile b/www/ungoogled-chromium/Makefile
index 91335bcbb980..0922b071f348 100644
--- a/www/ungoogled-chromium/Makefile
+++ b/www/ungoogled-chromium/Makefile
@@ -1,5 +1,5 @@
PORTNAME= ungoogled-chromium
-PORTVERSION= 116.0.5845.179
+PORTVERSION= 117.0.5938.88
UGVERSION= ${DISTVERSION}-1
CATEGORIES= www wayland
MASTER_SITES= https://commondatastorage.googleapis.com/chromium-browser-official/ \
@@ -259,7 +259,7 @@ PLIST_SUB+= NOT_AARCH64=""
FFMPEG_TARGET= ia32
.endif
-FFMPEG_BDIR= ${WRKSRC}/third_party/ffmpeg/build.${FFMPEG_TARGET}.freebsd/${FFMPEG_BRAND}
+FFMPEG_BDIR= ${WRKSRC}/build.${FFMPEG_TARGET}.freebsd/${FFMPEG_BRAND}
FFMPEG_CDIR= ${WRKSRC}/third_party/ffmpeg/chromium/config/${FFMPEG_BRAND}/freebsd/${FFMPEG_TARGET}
# Allow relocations against read-only segments (override lld default)
diff --git a/www/ungoogled-chromium/distinfo b/www/ungoogled-chromium/distinfo
index 17b1a3321309..1ea448ffc86d 100644
--- a/www/ungoogled-chromium/distinfo
+++ b/www/ungoogled-chromium/distinfo
@@ -1,9 +1,9 @@
-TIMESTAMP = 1694019777
-SHA256 (chromium-116.0.5845.179.tar.xz) = 8bf9b56381bfeb960a2d8c0dd130253820701fb49c12e52fa4d697ac11896025
-SIZE (chromium-116.0.5845.179.tar.xz) = 1599723164
-SHA256 (ungoogled-chromium-116.0.5845.179-1.tar.gz) = 084c826dd62b008cdaef0c4bccb1403341715b62f0ef14fd9b37f10e1230654f
-SIZE (ungoogled-chromium-116.0.5845.179-1.tar.gz) = 673676
-SHA256 (chromium-116.0.5845.179-testdata.tar.xz) = e34c14e0aa04ce5870bf0345e9f117913c432cb671f7c0e18258b8b00a9972cd
-SIZE (chromium-116.0.5845.179-testdata.tar.xz) = 266266312
+TIMESTAMP = 1694973055
+SHA256 (chromium-117.0.5938.88.tar.xz) = 4691d80039e4155d1a3c4676ee68a1e526ddad61a3cf59f65d596a1a2d56c906
+SIZE (chromium-117.0.5938.88.tar.xz) = 3131921384
+SHA256 (ungoogled-chromium-117.0.5938.88-1.tar.gz) = 97d67f4783702537355cdfcaad67024413102478ec5a431b2d51b454e8baea33
+SIZE (ungoogled-chromium-117.0.5938.88-1.tar.gz) = 651903
+SHA256 (chromium-117.0.5938.88-testdata.tar.xz) = c5256997647bcb05a4b829d99e9efcfa7e1bc46b44a9feceb67a91856ed54085
+SIZE (chromium-117.0.5938.88-testdata.tar.xz) = 269473360
SHA256 (test_fonts-336e775eec536b2d785cc80eff6ac39051931286.tar.gz) = a2ca2962daf482a8f943163541e1c73ba4b2694fabcd2510981f2db4eda493c8
SIZE (test_fonts-336e775eec536b2d785cc80eff6ac39051931286.tar.gz) = 32624734
diff --git a/www/ungoogled-chromium/files/patch-BUILD.gn b/www/ungoogled-chromium/files/patch-BUILD.gn
index 6d828c5fce71..7bf340b22eb4 100644
--- a/www/ungoogled-chromium/files/patch-BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-BUILD.gn
@@ -1,4 +1,4 @@
---- BUILD.gn.orig 2023-08-18 10:26:52 UTC
+--- BUILD.gn.orig 2023-09-17 07:59:53 UTC
+++ BUILD.gn
@@ -61,7 +61,7 @@ declare_args() {
root_extra_deps = []
@@ -42,7 +42,7 @@
if (is_mac) {
deps += [
"//third_party/breakpad:dump_syms",
-@@ -660,7 +668,7 @@ group("gn_all") {
+@@ -663,7 +671,7 @@ group("gn_all") {
host_os == "win") {
deps += [ "//chrome/test/mini_installer:mini_installer_tests" ]
}
@@ -51,16 +51,16 @@
deps += [ "//third_party/breakpad:symupload($host_toolchain)" ]
}
-@@ -1084,7 +1092,7 @@ if (!is_ios && !is_cronet_build) {
+@@ -1087,7 +1095,7 @@ if (!is_ios && !is_cronet_build) {
]
}
- if (!is_chromeos_ash && !is_ios && !is_fuchsia && !is_android && !is_castos) {
+ if (!is_chromeos_ash && !is_ios && !is_fuchsia && !is_android && !is_castos && !is_bsd) {
- # WPT Webdriver tests runner
- # chrome/test/chromedriver/test/run_webdriver_tests.py
script_test("webdriver_wpt_tests") {
-@@ -1188,7 +1196,7 @@ if (!is_ios && !is_cronet_build) {
+ script = "//third_party/blink/tools/run_wpt_tests.py"
+ args = [
+@@ -1177,7 +1185,7 @@ if (!is_ios && !is_cronet_build) {
data_deps += [ "//content/web_test:web_test_common_mojom_js_data_deps" ]
}
@@ -69,7 +69,7 @@
data_deps +=
[ "//third_party/breakpad:minidump_stackwalk($host_toolchain)" ]
}
-@@ -1197,7 +1205,7 @@ if (!is_ios && !is_cronet_build) {
+@@ -1186,7 +1194,7 @@ if (!is_ios && !is_cronet_build) {
data_deps += [ "//third_party/breakpad:dump_syms($host_toolchain)" ]
}
@@ -78,7 +78,7 @@
data_deps += [ "//third_party/breakpad:dump_syms($host_toolchain)" ]
}
-@@ -1671,7 +1679,7 @@ group("chromium_builder_perf") {
+@@ -1646,7 +1654,7 @@ group("chromium_builder_perf") {
data_deps += [ "//chrome/test:performance_browser_tests" ]
}
diff --git a/www/ungoogled-chromium/files/patch-ash_display_mirror__window__controller.cc b/www/ungoogled-chromium/files/patch-ash_display_mirror__window__controller.cc
index 10cc29e0fc81..1c2910d676fb 100644
--- a/www/ungoogled-chromium/files/patch-ash_display_mirror__window__controller.cc
+++ b/www/ungoogled-chromium/files/patch-ash_display_mirror__window__controller.cc
@@ -1,6 +1,6 @@
---- ash/display/mirror_window_controller.cc.orig 2023-08-18 10:26:52 UTC
+--- ash/display/mirror_window_controller.cc.orig 2023-09-17 07:59:53 UTC
+++ ash/display/mirror_window_controller.cc
-@@ -295,7 +295,11 @@ void MirrorWindowController::UpdateWindow(
+@@ -294,7 +294,11 @@ void MirrorWindowController::UpdateWindow(
if (!base::Contains(display_info_list, iter->first,
&display::ManagedDisplayInfo::id)) {
CloseAndDeleteHost(iter->second, true);
diff --git a/www/ungoogled-chromium/files/patch-base_BUILD.gn b/www/ungoogled-chromium/files/patch-base_BUILD.gn
index 3b2b1b562137..a022f2f880c6 100644
--- a/www/ungoogled-chromium/files/patch-base_BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-base_BUILD.gn
@@ -1,4 +1,4 @@
---- base/BUILD.gn.orig 2023-08-18 10:26:52 UTC
+--- base/BUILD.gn.orig 2023-09-17 07:59:53 UTC
+++ base/BUILD.gn
@@ -198,7 +198,7 @@ buildflag_header("ios_cronet_buildflags") {
flags = [ "CRONET_BUILD=$is_cronet_build" ]
@@ -9,7 +9,7 @@
buildflag_header("message_pump_buildflags") {
header = "message_pump_buildflags.h"
header_dir = "base/message_loop"
-@@ -1150,11 +1150,23 @@ component("base") {
+@@ -1112,11 +1112,23 @@ component("base") {
# Needed for <atomic> if using newer C++ library than sysroot, except if
# building inside the cros_sdk environment - use host_toolchain as a
# more robust check for this.
@@ -32,18 +32,9 @@
+ }
+
if (use_allocator_shim) {
- sources += [
- "allocator/partition_allocator/shim/allocator_shim.cc",
-@@ -1185,7 +1197,7 @@ component("base") {
- ]
- configs += [ "//base/allocator:mac_no_default_new_delete_symbols" ]
- }
-- if (is_chromeos || is_linux) {
-+ if (is_chromeos || (is_linux && !is_bsd)) {
- sources += [
- "allocator/partition_allocator/shim/allocator_shim_override_cpp_symbols.h",
- "allocator/partition_allocator/shim/allocator_shim_override_glibc_weak_symbols.h",
-@@ -1226,7 +1238,7 @@ component("base") {
+ if (is_apple) {
+ sources += [ "allocator/early_zone_registration_mac.h" ]
+@@ -1133,7 +1145,7 @@ component("base") {
# Allow more direct string conversions on platforms with native utf8
# strings
@@ -52,7 +43,30 @@
defines += [ "SYSTEM_NATIVE_UTF8" ]
}
-@@ -2185,6 +2197,43 @@ component("base") {
+@@ -2075,6 +2087,22 @@ component("base") {
+ ]
+ }
+
++ if (is_openbsd) {
++ sources += [
++ "process/process_handle_openbsd.cc",
++ "process/process_iterator_openbsd.cc",
++ "process/process_metrics_openbsd.cc",
++ "system/sys_info_openbsd.cc",
++ ]
++ } else if (is_freebsd) {
++ sources += [
++ "process/process_handle_freebsd.cc",
++ "process/process_iterator_freebsd.cc",
++ "process/process_metrics_freebsd.cc",
++ "system/sys_info_freebsd.cc",
++ ]
++ }
++
+ # iOS
+ if (is_ios) {
+ sources += [
+@@ -2207,6 +2235,29 @@ component("base") {
}
}
@@ -60,43 +74,29 @@
+ sources -= [
+ "files/file_path_watcher_inotify.cc",
+ "files/scoped_file_linux.cc",
-+ "process/process_linux.cc",
+ "system/sys_info_linux.cc",
+ "process/process_iterator_linux.cc",
++ "process/process_linux.cc",
+ "process/process_metrics_linux.cc",
+ "process/process_handle_linux.cc",
+ "profiler/stack_copier_signal.cc",
+ "profiler/stack_copier_signal.h",
+ "profiler/thread_delegate_posix.cc",
+ "profiler/thread_delegate_posix.h",
++ "threading/platform_thread_linux.cc",
+ ]
+ sources += [
+ "files/file_path_watcher_kqueue.cc",
+ "files/file_path_watcher_kqueue.h",
+ "files/file_path_watcher_bsd.cc",
++ "threading/platform_thread_bsd.cc",
+ ]
+ }
+
-+ if (is_openbsd) {
-+ sources += [
-+ "process/process_handle_openbsd.cc",
-+ "process/process_iterator_openbsd.cc",
-+ "process/process_metrics_openbsd.cc",
-+ "system/sys_info_openbsd.cc",
-+ ]
-+ } else if (is_freebsd) {
-+ sources += [
-+ "process/process_handle_freebsd.cc",
-+ "process/process_iterator_freebsd.cc",
-+ "process/process_metrics_freebsd.cc",
-+ "system/sys_info_freebsd.cc",
-+ ]
-+ }
-+
- # iOS
- if (is_ios) {
+ if (use_blink) {
sources += [
-@@ -2285,7 +2334,7 @@ component("base") {
+ "files/file_path_watcher.cc",
+@@ -2217,7 +2268,7 @@ component("base") {
}
if (dep_libevent) {
@@ -105,7 +105,7 @@
}
if (use_libevent) {
-@@ -3619,7 +3668,7 @@ test("base_unittests") {
+@@ -3587,7 +3638,7 @@ test("base_unittests") {
]
}
@@ -114,7 +114,7 @@
sources += [
"debug/proc_maps_linux_unittest.cc",
"files/scoped_file_linux_unittest.cc",
-@@ -3640,7 +3689,7 @@ test("base_unittests") {
+@@ -3608,7 +3659,7 @@ test("base_unittests") {
"posix/file_descriptor_shuffle_unittest.cc",
"posix/unix_domain_socket_unittest.cc",
]
@@ -123,7 +123,7 @@
sources += [
"profiler/stack_base_address_posix_unittest.cc",
"profiler/stack_copier_signal_unittest.cc",
-@@ -3651,7 +3700,7 @@ test("base_unittests") {
+@@ -3619,7 +3670,7 @@ test("base_unittests") {
# Allow more direct string conversions on platforms with native utf8
# strings
@@ -132,7 +132,7 @@
defines += [ "SYSTEM_NATIVE_UTF8" ]
}
-@@ -3907,7 +3956,7 @@ test("base_unittests") {
+@@ -3871,7 +3922,7 @@ test("base_unittests") {
}
}
diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_BUILD.gn b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_BUILD.gn
new file mode 100644
index 000000000000..cba46f5b90e9
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_BUILD.gn
@@ -0,0 +1,11 @@
+--- base/allocator/partition_allocator/BUILD.gn.orig 2023-09-17 07:59:53 UTC
++++ base/allocator/partition_allocator/BUILD.gn
+@@ -541,7 +541,7 @@ source_set("allocator_shim") {
+ ]
+ configs += [ ":mac_no_default_new_delete_symbols" ]
+ }
+- if (is_chromeos || is_linux) {
++ if ((is_chromeos || is_linux) && !is_bsd) {
+ sources += [
+ "shim/allocator_shim_override_cpp_symbols.h",
+ "shim/allocator_shim_override_glibc_weak_symbols.h",
diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_address__space__randomization.h b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_address__space__randomization.h
index 3514d8f2f8d4..23aea4819f3c 100644
--- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_address__space__randomization.h
+++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_address__space__randomization.h
@@ -1,11 +1,11 @@
---- base/allocator/partition_allocator/address_space_randomization.h.orig 2023-03-10 11:01:21 UTC
+--- base/allocator/partition_allocator/address_space_randomization.h.orig 2023-09-17 07:59:53 UTC
+++ base/allocator/partition_allocator/address_space_randomization.h
@@ -38,7 +38,7 @@ AslrMask(uintptr_t bits) {
#if defined(ARCH_CPU_64_BITS)
- #if defined(MEMORY_TOOL_REPLACES_ALLOCATOR)
-+ #if defined(MEMORY_TOOL_REPLACES_ALLOCATOR) && !defined(OS_BSD)
++ #if defined(MEMORY_TOOL_REPLACES_ALLOCATOR) && !BUILDFLAG(IS_BSD)
// We shouldn't allocate system pages at all for sanitizer builds. However,
// we do, and if random hint addresses interfere with address ranges
diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_page__allocator.h b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_page__allocator.h
index 3c0fc959db49..ffa78e1733ff 100644
--- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_page__allocator.h
+++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_page__allocator.h
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/page_allocator.h.orig 2023-08-18 10:26:52 UTC
+--- base/allocator/partition_allocator/page_allocator.h.orig 2023-09-17 07:59:53 UTC
+++ base/allocator/partition_allocator/page_allocator.h
-@@ -245,7 +245,7 @@ void DecommitAndZeroSystemPages(void* address, size_t
+@@ -258,7 +258,7 @@ void DecommitAndZeroSystemPages(void* address,
// recommitted. Do not assume that this will not change over time.
constexpr PA_COMPONENT_EXPORT(
PARTITION_ALLOC) bool DecommittedMemoryIsAlwaysZeroed() {
diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_page__allocator__constants.h b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_page__allocator__constants.h
index a028ac797af0..c763287c00b9 100644
--- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_page__allocator__constants.h
+++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_page__allocator__constants.h
@@ -1,4 +1,4 @@
---- base/allocator/partition_allocator/page_allocator_constants.h.orig 2023-05-05 12:12:41 UTC
+--- base/allocator/partition_allocator/page_allocator_constants.h.orig 2023-09-17 07:59:53 UTC
+++ base/allocator/partition_allocator/page_allocator_constants.h
@@ -25,7 +25,7 @@
// elimination.
@@ -9,7 +9,7 @@
// This should work for all POSIX (if needed), but currently all other
// supported OS/architecture combinations use either hard-coded values
// (such as x86) or have means to determine these values without needing
-@@ -81,7 +81,7 @@ PageAllocationGranularityShift() {
+@@ -92,7 +92,7 @@ PageAllocationGranularityShift() {
return 14; // 16kB
#elif BUILDFLAG(IS_APPLE) && defined(ARCH_CPU_64_BITS)
return static_cast<size_t>(vm_page_shift);
@@ -18,7 +18,7 @@
// arm64 supports 4kb (shift = 12), 16kb (shift = 14), and 64kb (shift = 16)
// page sizes. Retrieve from or initialize cache.
size_t shift = page_characteristics.shift.load(std::memory_order_relaxed);
-@@ -102,7 +102,7 @@ PageAllocationGranularity() {
+@@ -113,7 +113,7 @@ PageAllocationGranularity() {
// This is literally equivalent to |1 << PageAllocationGranularityShift()|
// below, but was separated out for IS_APPLE to avoid << on a non-constexpr.
return vm_page_size;
@@ -27,7 +27,7 @@
// arm64 supports 4kb, 16kb, and 64kb page sizes. Retrieve from or
// initialize cache.
size_t size = page_characteristics.size.load(std::memory_order_relaxed);
-@@ -141,7 +141,7 @@ SystemPageShift() {
+@@ -152,7 +152,7 @@ SystemPageShift() {
PA_ALWAYS_INLINE PAGE_ALLOCATOR_CONSTANTS_DECLARE_CONSTEXPR size_t
SystemPageSize() {
#if (BUILDFLAG(IS_APPLE) && defined(ARCH_CPU_64_BITS)) || \
diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_page__allocator__internals__posix.h b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_page__allocator__internals__posix.h
index 266520f53444..3db16f722ee9 100644
--- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_page__allocator__internals__posix.h
+++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_page__allocator__internals__posix.h
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/page_allocator_internals_posix.h.orig 2023-08-18 10:26:52 UTC
+--- base/allocator/partition_allocator/page_allocator_internals_posix.h.orig 2023-09-17 07:59:53 UTC
+++ base/allocator/partition_allocator/page_allocator_internals_posix.h
-@@ -396,8 +396,12 @@ bool TryRecommitSystemPagesInternal(
+@@ -403,8 +403,12 @@ bool TryRecommitSystemPagesInternal(
void DiscardSystemPagesInternal(uintptr_t address, size_t length) {
void* ptr = reinterpret_cast<void*>(address);
diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc.gni b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc.gni
index b8ba2fd4c4a3..cf0930d3fe2d 100644
--- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc.gni
+++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc.gni
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/partition_alloc.gni.orig 2023-08-18 10:26:52 UTC
+--- base/allocator/partition_allocator/partition_alloc.gni.orig 2023-09-17 07:59:53 UTC
+++ base/allocator/partition_allocator/partition_alloc.gni
-@@ -317,7 +317,7 @@ declare_args() {
+@@ -332,7 +332,7 @@ declare_args() {
# pkeys support is explicitly disabled in all Cronet builds, as some test
# dependencies that use partition_allocator are compiled in AOSP against a
# version of glibc that does not include pkeys syscall numbers.
diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc__base_rand__util__posix.cc b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc__base_rand__util__posix.cc
index bff3736161f6..1401638abc1b 100644
--- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc__base_rand__util__posix.cc
+++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc__base_rand__util__posix.cc
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/partition_alloc_base/rand_util_posix.cc.orig 2022-10-01 07:40:07 UTC
+--- base/allocator/partition_allocator/partition_alloc_base/rand_util_posix.cc.orig 2023-09-17 07:59:53 UTC
+++ base/allocator/partition_allocator/partition_alloc_base/rand_util_posix.cc
-@@ -86,6 +86,10 @@ void RandBytes(void* output, size_t output_length) {
+@@ -90,6 +90,10 @@ void RandBytes(void* output, size_t output_length) {
if (getentropy(output, output_length) == 0) {
return;
}
@@ -9,5 +9,5 @@
+ return;
+ }
#endif
-
- // If the OS-specific mechanisms didn't work, fall through to reading from
+ // If getrandom(2) above returned with an error and the /dev/urandom fallback
+ // took place on Linux/ChromeOS bots, they would fail with a CHECK in
diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc__config.h b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc__config.h
index 7d9a5c165f4d..dfbbe3f70807 100644
--- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc__config.h
+++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc__config.h
@@ -1,4 +1,4 @@
---- base/allocator/partition_allocator/partition_alloc_config.h.orig 2023-07-21 09:49:17 UTC
+--- base/allocator/partition_allocator/partition_alloc_config.h.orig 2023-09-17 07:59:53 UTC
+++ base/allocator/partition_allocator/partition_alloc_config.h
@@ -94,7 +94,7 @@ static_assert(sizeof(void*) != 8, "");
// POSIX is not only UNIX, e.g. macOS and other OSes. We do use Linux-specific
@@ -9,7 +9,7 @@
// On some platforms, we implement locking by spinning in userspace, then going
// into the kernel only if there is contention. This requires platform support,
-@@ -234,7 +234,7 @@ constexpr bool kUseLazyCommit = false;
+@@ -236,7 +236,7 @@ constexpr bool kUseLazyCommit = false;
// On these platforms, lock all the partitions before fork(), and unlock after.
// This may be required on more platforms in the future.
#define PA_CONFIG_HAS_ATFORK_HANDLER() \
@@ -18,7 +18,7 @@
// PartitionAlloc uses PartitionRootEnumerator to acquire all
// PartitionRoots at BeforeFork and to release at AfterFork.
-@@ -279,7 +279,7 @@ constexpr bool kUseLazyCommit = false;
+@@ -283,7 +283,7 @@ constexpr bool kUseLazyCommit = false;
// Also enabled on ARM64 macOS, as the 16kiB pages on this platform lead to
// larger slot spans.
#define PA_CONFIG_PREFER_SMALLER_SLOT_SPANS() \
diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc__constants.h b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc__constants.h
index 63656fd9b229..86e574f8011e 100644
--- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc__constants.h
+++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc__constants.h
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/partition_alloc_constants.h.orig 2023-07-21 09:49:17 UTC
+--- base/allocator/partition_allocator/partition_alloc_constants.h.orig 2023-09-17 07:59:53 UTC
+++ base/allocator/partition_allocator/partition_alloc_constants.h
-@@ -92,7 +92,7 @@ PartitionPageShift() {
+@@ -95,7 +95,7 @@ PartitionPageShift() {
return 18; // 256 KiB
}
#elif (BUILDFLAG(IS_APPLE) && defined(ARCH_CPU_64_BITS)) || \
@@ -9,7 +9,7 @@
PA_ALWAYS_INLINE PAGE_ALLOCATOR_CONSTANTS_DECLARE_CONSTEXPR size_t
PartitionPageShift() {
return PageAllocationGranularityShift() + 2;
-@@ -294,7 +294,8 @@ constexpr size_t kNumPools = kMaxPoolHandle - 1;
+@@ -297,7 +297,8 @@ constexpr size_t kNumPools = kMaxPoolHandle - 1;
// 8GB for each of the glued pools).
#if BUILDFLAG(HAS_64_BIT_POINTERS)
#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_IOS) || \
diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__root.cc b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__root.cc
index c47cb7b6fb81..bb61dc657872 100644
--- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__root.cc
+++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__root.cc
@@ -1,4 +1,4 @@
---- base/allocator/partition_allocator/partition_root.cc.orig 2023-08-18 10:26:52 UTC
+--- base/allocator/partition_allocator/partition_root.cc.orig 2023-09-17 07:59:53 UTC
+++ base/allocator/partition_allocator/partition_root.cc
@@ -46,7 +46,7 @@
#include "wow64apiset.h"
@@ -9,7 +9,7 @@
#include <pthread.h>
#endif
-@@ -284,7 +284,7 @@ void PartitionAllocMallocInitOnce() {
+@@ -280,7 +280,7 @@ void PartitionAllocMallocInitOnce() {
return;
}
@@ -18,7 +18,7 @@
// When fork() is called, only the current thread continues to execute in the
// child process. If the lock is held, but *not* by this thread when fork() is
// called, we have a deadlock.
-@@ -376,7 +376,7 @@ static size_t PartitionPurgeSlotSpan(internal::SlotSpa
+@@ -372,7 +372,7 @@ static size_t PartitionPurgeSlotSpan(internal::SlotSpa
constexpr size_t kMaxSlotCount =
(PartitionPageSize() * kMaxPartitionPagesPerRegularSlotSpan) /
MinPurgeableSlotSize();
@@ -27,7 +27,7 @@
// It's better for slot_usage to be stack-allocated and fixed-size, which
// demands that its size be constexpr. On IS_APPLE and Linux on arm64,
// PartitionPageSize() is always SystemPageSize() << 2, so regardless of
-@@ -853,7 +853,7 @@ void PartitionRoot::Init(PartitionOptions opts) {
+@@ -849,7 +849,7 @@ void PartitionRoot::Init(PartitionOptions opts) {
// apple OSes.
PA_CHECK((internal::SystemPageSize() == (size_t{1} << 12)) ||
(internal::SystemPageSize() == (size_t{1} << 14)));
diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_starscan_stack_stack.cc b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_starscan_stack_stack.cc
index 4b5ad07bfb0b..e5d3e9bca303 100644
*** 13607 LINES SKIPPED ***