Date: Fri, 3 Nov 2023 19:01:26 GMT From: Robert Nagy <rnagy@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 5d6d9d4aba10 - main - www/chromium: update to 119.0.6045.105 Message-ID: <202311031901.3A3J1Qmn075116@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by rnagy: URL: https://cgit.FreeBSD.org/ports/commit/?id=5d6d9d4aba10aad6319e4d9fb1afdecb3da6b9fa commit 5d6d9d4aba10aad6319e4d9fb1afdecb3da6b9fa Author: Robert Nagy <rnagy@FreeBSD.org> AuthorDate: 2023-11-03 16:10:38 +0000 Commit: Robert Nagy <rnagy@FreeBSD.org> CommitDate: 2023-11-03 19:01:17 +0000 www/chromium: update to 119.0.6045.105 Security: https://vuxml.freebsd.org/freebsd/a1e27775-7a61-11ee-8290-a8a1599412c6.html --- www/chromium/Makefile | 2 +- www/chromium/distinfo | 14 ++--- www/chromium/files/patch-BUILD.gn | 10 ++-- www/chromium/files/patch-base_BUILD.gn | 22 +++---- .../files/patch-base_allocator_dispatcher_tls.h | 4 +- ...ch-base_allocator_partition__allocator_BUILD.gn | 4 +- ...cator_partition__allocator_partition__alloc.gni | 4 +- ...ition__alloc__base_debug_stack__trace__posix.cc | 6 +- ...tition__allocator_partition__alloc__constants.h | 6 +- .../files/patch-base_base__paths__posix.cc | 16 ++++- .../files/patch-base_debug_stack__trace__posix.cc | 37 ++++++++---- ...tch-base_files_file__path__watcher__unittest.cc | 8 +-- .../files/patch-base_files_file__util__posix.cc | 7 ++- .../patch-base_process_process__handle__freebsd.cc | 4 +- .../files/patch-base_process_process__unittest.cc | 4 +- www/chromium/files/patch-base_rand__util__posix.cc | 14 ++--- www/chromium/files/patch-base_system_sys__info.h | 6 +- .../files/patch-base_system_sys__info__openbsd.cc | 21 +++---- .../patch-base_test_launcher_test__launcher.cc | 4 +- ...ch-base_threading_platform__thread__unittest.cc | 8 +-- .../files/patch-base_trace__event_trace__log.cc | 4 +- .../files/patch-build_config_compiler_BUILD.gn | 28 ++++----- .../files/patch-build_config_compiler_pgo_BUILD.gn | 4 +- .../files/patch-build_config_linux_atspi2_BUILD.gn | 25 ++++++++ .../files/patch-build_toolchain_gcc__toolchain.gni | 8 +-- .../files/patch-build_toolchain_toolchain.gni | 4 +- www/chromium/files/patch-cc_BUILD.gn | 6 +- www/chromium/files/patch-cc_base_features.cc | 4 +- .../files/patch-chrome_app_chrome__main.cc | 10 ++-- .../patch-chrome_app_chrome__main__delegate.cc | 24 ++++---- .../files/patch-chrome_app_chromium__strings.grd | 6 +- .../patch-chrome_app_generated__resources.grd | 16 ++--- .../patch-chrome_app_google__chrome__strings.grd | 6 +- .../files/patch-chrome_app_settings__strings.grdp | 4 +- www/chromium/files/patch-chrome_browser_BUILD.gn | 4 +- .../files/patch-chrome_browser_about__flags.cc | 46 +++++++-------- .../patch-chrome_browser_browser__process__impl.cc | 8 +-- ..._browser_chrome__browser__interface__binders.cc | 24 ++++---- .../patch-chrome_browser_chrome__browser__main.cc | 23 +++++--- ...ome_browser_chrome__content__browser__client.cc | 49 +++++++-------- ...rome_browser_chrome__content__browser__client.h | 4 +- ...nt__settings_one__time__permission__provider.cc | 6 +- ...oad_bubble_download__bubble__update__service.cc | 6 +- ...ch-chrome_browser_download_download__commands.h | 4 +- ...hrome_browser_download_download__item__model.cc | 10 ++-- ...atch-chrome_browser_download_download__prefs.cc | 12 ++-- ...patch-chrome_browser_download_download__prefs.h | 4 +- ...er_enterprise_connectors_connectors__service.cc | 4 +- ...ectors_reporting_realtime__reporting__client.cc | 8 +-- .../files/patch-chrome_browser_extensions_BUILD.gn | 4 +- ..._browser__context__keyed__service__factories.cc | 4 +- ...__private_passwords__private__delegate__impl.cc | 4 +- ...extensions_api_settings__private_prefs__util.cc | 6 +- ...chrome_browser_extensions_api_tabs_tabs__api.cc | 4 +- ...api_webstore__private_webstore__private__api.cc | 4 +- ...e__file__system__access__permission__context.cc | 4 +- .../patch-chrome_browser_flag__descriptions.cc | 24 ++++---- .../patch-chrome_browser_flag__descriptions.h | 22 +++---- ...chrome_browser_headless_headless__mode__util.cc | 22 +++---- ...wser_media_webrtc_chrome__screen__enumerator.cc | 6 +- ...chrome__browser__main__extra__parts__metrics.cc | 4 +- ...ser_metrics_chrome__metrics__service__client.cc | 14 ++--- ...rowser_net_system__network__context__manager.cc | 69 +++++++++++++++++----- ...onfiguration__policy__handler__list__factory.cc | 53 +++++++++-------- .../patch-chrome_browser_prefs_browser__prefs.cc | 22 ++++--- ...patch-chrome_browser_printing_printer__query.cc | 4 +- ...hrome__browser__main__extra__parts__profiles.cc | 20 ++++--- ...h-chrome_browser_renderer__preferences__util.cc | 8 +-- ...atch-chrome_browser_resources_settings_route.ts | 4 +- .../patch-chrome_browser_signin_signin__util.cc | 4 +- ...h-chrome_browser_sync_sync__service__factory.cc | 8 +-- .../patch-chrome_browser_themes_theme__service.cc | 6 +- ...-chrome_browser_ui_actions_chrome__action__id.h | 4 +- .../files/patch-chrome_browser_ui_browser.h | 6 +- ...rome_browser_ui_browser__command__controller.cc | 12 ++-- .../patch-chrome_browser_ui_browser__dialogs.h | 29 +++++++++ .../files/patch-chrome_browser_ui_chrome__pages.cc | 6 +- .../files/patch-chrome_browser_ui_chrome__pages.h | 4 +- ..._exclusive__access_exclusive__access__bubble.cc | 4 +- ...r_ui_omnibox_omnibox__pedal__implementations.cc | 4 +- ...chrome_browser_ui_startup_bad__flags__prompt.cc | 4 +- ...browser_ui_startup_startup__browser__creator.cc | 8 +-- .../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 | 6 +- ...s_chrome__browser__main__extra__parts__views.cc | 22 +++---- ...-chrome_browser_ui_views_frame_browser__view.cc | 4 +- ..._ui_views_frame_opaque__browser__frame__view.cc | 8 +-- ...r_ui_views_frame_opaque__browser__frame__view.h | 6 +- ...e_picture__in__picture__browser__frame__view.cc | 24 ++++---- ...me_picture__in__picture__browser__frame__view.h | 6 +- ...wser_ui_views_frame_tab__strip__region__view.cc | 4 +- ...__web__signin__interception__backdrop__layer.cc | 11 ++++ ...es_signin__view__controller__delegate__views.cc | 26 ++++++-- ...les_signin__view__controller__delegate__views.h | 11 +++- ...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 ++--- ...eb__apps_web__app__integration__test__driver.cc | 22 +++---- ...tch-chrome_browser_ui_webauthn_sheet__models.cc | 14 ----- ...i_webui_chrome__web__ui__controller__factory.cc | 12 ++-- ...i_connectors__internals_device__trust__utils.cc | 6 +- ..._browser_ui_webui_ntp_app__launcher__handler.cc | 4 +- ...tings_settings__localized__strings__provider.cc | 16 ++--- ...__integration_os__integration__test__override.h | 4 +- ...gration_web__app__file__handler__registration.h | 4 +- ...plications_os__integration_web__app__shortcut.h | 6 +- ...pplications_policy_web__app__policy__manager.cc | 4 +- ...s_test_os__integration__test__override__impl.cc | 6 +- ...ns_test_os__integration__test__override__impl.h | 10 ++-- ...ser_web__applications_web__app__install__info.h | 11 ++++ ...bauthn_authenticator__request__dialog__model.cc | 14 ----- ...thn_chrome__authenticator__request__delegate.cc | 25 ++++---- .../files/patch-chrome_common_chrome__features.cc | 24 ++++---- .../files/patch-chrome_common_chrome__features.h | 12 ++-- .../files/patch-chrome_common_chrome__paths.cc | 16 ++--- .../files/patch-chrome_common_chrome__switches.cc | 4 +- .../files/patch-chrome_common_chrome__switches.h | 4 +- .../files/patch-chrome_common_crash__keys.cc | 23 ++++++++ .../files/patch-chrome_common_pref__names.h | 18 +++--- .../files/patch-chrome_common_url__constants.cc | 4 +- .../files/patch-chrome_common_url__constants.h | 4 +- .../patch-chrome_common_webui__url__constants.cc | 6 +- .../patch-chrome_common_webui__url__constants.h | 10 ++-- ...vices_printing_print__backend__service__impl.cc | 6 +- ...services_speech_audio__source__fetcher__impl.cc | 4 +- www/chromium/files/patch-chrome_test_BUILD.gn | 4 +- .../files/patch-chrome_utility_services.cc | 10 ++-- ...ecast_browser_cast__content__browser__client.cc | 4 +- ...tch-components_autofill__payments__strings.grdp | 8 +-- ...ofill_core_browser_contact__info__sync__util.cc | 18 ------ ...ll_core_browser_payments_iban__save__manager.cc | 14 +++++ ...utofill_core_browser_personal__data__manager.cc | 4 +- ...browser_webdata_autofill__sync__bridge__util.cc | 22 ------- ...ill_core_common_autofill__payments__features.cc | 4 +- ...mponents_autofill_core_common_autofill__util.cc | 4 +- .../files/patch-components_commerce__strings.grdp | 4 +- ...e__engagement_public_feature__configurations.cc | 4 +- ...eature__engagement_public_feature__constants.cc | 19 +++--- ...feature__engagement_public_feature__constants.h | 17 +++--- ...nts_feature__engagement_public_feature__list.cc | 19 +++--- ...ents_feature__engagement_public_feature__list.h | 36 ++++++----- .../patch-components_gwp__asan_client_gwp__asan.cc | 13 +--- ...ponents_gwp__asan_client_gwp__asan__features.cc | 11 ++++ ...n_providers_cast_channel_cast__message__util.cc | 4 +- ...e__parameter_common_public_miracle__parameter.h | 12 ++++ ...rator_browser_network__session__configurator.cc | 4 +- ...zation__guide_core_optimization__guide__util.cc | 4 +- ...ger_core_browser_features_password__features.cc | 4 +- ...nager_core_browser_login__database__unittest.cc | 4 +- ...__manager_core_browser_ui_passwords__grouper.cc | 14 ----- ...mponents_performance__manager_public_features.h | 6 +- ...licy_core_common_cloud_cloud__policy__client.cc | 4 +- ...policy_core_common_cloud_cloud__policy__util.cc | 6 +- ..._default__model_cross__device__user__segment.cc | 4 +- ...ices_screen__ai_screen__ai__library__wrapper.cc | 8 +-- .../patch-components_storage__monitor_BUILD.gn | 6 +- ...supervised__user_core_browser_proto__fetcher.cc | 8 +-- ...cation_common_product__messaging__controller.cc | 10 ++++ ...nts_user__education_views_help__bubble__view.cc | 4 +- ...ons_service_google__groups__updater__service.cc | 11 ---- ...isplay__embedder_skia__output__surface__impl.cc | 14 ++--- ...mbedder_skia__output__surface__impl__on__gpu.cc | 4 +- ...omponents_viz_service_display_skia__renderer.cc | 4 +- ...e__sinks_root__compositor__frame__sink__impl.cc | 4 +- ...me__sinks_root__compositor__frame__sink__impl.h | 4 +- ..._webauthn_core_browser_passkey__sync__bridge.cc | 26 -------- .../files/patch-content_app_content__main.cc | 4 +- ...atch-content_app_content__main__runner__impl.cc | 20 +++---- www/chromium/files/patch-content_browser_BUILD.gn | 4 +- .../patch-content_browser_browser__main__loop.cc | 8 +-- ...tent_browser_child__process__launcher__helper.h | 11 ++++ ...wser_child__process__launcher__helper__linux.cc | 4 +- ...wser_devtools_devtools__frontend__host__impl.cc | 38 ++++++++++++ ...owser_devtools_devtools__frontend__host__impl.h | 11 ++++ ...patch-content_browser_download_save__package.cc | 4 +- ...s_file__system__access__local__path__watcher.cc | 4 +- ...font__access_font__enumeration__data__source.cc | 8 +-- ...rowser_gpu_gpu__data__manager__impl__private.cc | 4 +- ...patch-content_browser_gpu_gpu__process__host.cc | 4 +- ..._group_header__direct__from__seller__signals.cc | 4 +- ...ent_browser_network__service__instance__impl.cc | 10 ++-- ...ser_renderer__host_render__frame__host__impl.cc | 40 ------------- ...r_renderer__host_render__process__host__impl.cc | 8 +-- ...er_renderer__host_render__process__host__impl.h | 4 +- ...derer__host_render__widget__host__view__aura.cc | 10 ++-- ...ce__worker_service__worker__context__wrapper.cc | 4 +- ...patch-content_browser_utility__process__host.cc | 14 ++--- ...wser_web__contents_web__contents__view__aura.cc | 6 +- ...browser_webid_idp__network__request__manager.cc | 14 ----- .../files/patch-content_child_child__process.cc | 12 ++-- www/chromium/files/patch-content_common_BUILD.gn | 6 +- .../files/patch-content_common_features.cc | 20 +++++++ www/chromium/files/patch-content_common_features.h | 20 +++++++ ...atch-content_public_common_content__features.cc | 19 ++---- ...patch-content_public_common_content__features.h | 11 ---- ...patch-content_renderer_render__process__impl.cc | 6 +- .../patch-content_renderer_render__thread__impl.cc | 10 ++-- ...ent_renderer_renderer__blink__platform__impl.cc | 10 ++-- ...tent_renderer_renderer__blink__platform__impl.h | 4 +- www/chromium/files/patch-content_shell_BUILD.gn | 4 +- www/chromium/files/patch-content_test_BUILD.gn | 6 +- .../files/patch-content_utility_services.cc | 18 +++--- ...device_fido_get__assertion__request__handler.cc | 26 -------- www/chromium/files/patch-device_gamepad_BUILD.gn | 4 +- ...h-extensions_shell_app_shell__main__delegate.cc | 8 +-- ...mand__buffer_service_dawn__context__provider.cc | 4 +- ..._command__buffer_service_gles2__cmd__decoder.cc | 4 +- ...mmand__buffer_service_shared__context__state.cc | 32 ++++++++++ ...ommand__buffer_service_shared__context__state.h | 11 ++++ ...e_shared__image_external__vk__image__backing.cc | 4 +- ..._image_external__vk__image__backing__factory.cc | 6 +- ...ce_shared__image_wrapped__sk__image__backing.cc | 4 +- ...ommand__buffer_service_webgpu__decoder__impl.cc | 6 +- .../files/patch-gpu_config_gpu__control__list.cc | 4 +- .../files/patch-gpu_config_gpu__finch__features.cc | 6 +- .../files/patch-gpu_ipc_service_gpu__init.cc | 8 +-- .../files/patch-gpu_vulkan_generate__bindings.py | 4 +- .../files/patch-gpu_vulkan_semaphore__handle.cc | 10 ++-- .../patch-gpu_vulkan_vulkan__function__pointers.cc | 6 +- .../patch-gpu_vulkan_vulkan__function__pointers.h | 8 +-- www/chromium/files/patch-media_audio_BUILD.gn | 4 +- .../files/patch-media_base_media__switches.cc | 18 +++--- .../files/patch-media_base_media__switches.h | 10 ++-- .../files/patch-media_base_video__frame.cc | 12 ++-- ..._capture_video_linux_v4l2__capture__delegate.cc | 8 +-- .../files/patch-media_gpu_buffer__validation.cc | 4 +- ...pu_chromeos_mailbox__video__frame__converter.cc | 11 ++++ .../files/patch-media_gpu_vaapi_vaapi__wrapper.cc | 21 ++----- ...ideo_gpu__memory__buffer__video__frame__pool.cc | 8 +-- .../files/patch-mojo_public_c_system_thunks.cc | 10 ++-- www/chromium/files/patch-net_BUILD.gn | 10 ++-- www/chromium/files/patch-net_base_features.cc | 4 +- .../patch-net_cert_cert__verify__proc__unittest.cc | 6 +- .../files/patch-net_cert_pki_general__names.h | 6 +- .../files/patch-net_dns_host__resolver__cache.cc | 14 ----- www/chromium/files/patch-net_dns_public_BUILD.gn | 4 +- .../files/patch-net_third__party_quiche_BUILD.gn | 4 +- ...verify__tool_cert__verify__comparision__tool.cc | 8 +-- ...nting_mojom_printing__context__mojom__traits.cc | 8 +-- .../files/patch-remoting_host_client__session.cc | 11 ++++ ...ices_cert__verifier_cert__verifier__creation.cc | 8 +-- www/chromium/files/patch-services_device_BUILD.gn | 4 +- ...ce_public_cpp_generic__sensor_sensor__reading.h | 8 +-- .../files/patch-services_device_usb_BUILD.gn | 8 +-- www/chromium/files/patch-services_network_BUILD.gn | 4 +- .../patch-services_network_network__context.cc | 6 +- .../patch-services_network_network__context.h | 4 +- .../patch-services_network_public_cpp_BUILD.gn | 4 +- .../patch-services_network_public_cpp_features.cc | 4 +- .../patch-services_network_public_mojom_BUILD.gn | 4 +- ..._party_abseil-cpp_absl_base_internal_sysinfo.cc | 27 +++------ ...tch-third__party_angle_src_libANGLE_Display.cpp | 10 ++-- ...h-third__party_blink_public_platform_platform.h | 4 +- ...link_renderer_core_editing_editing__behavior.cc | 4 +- ...blink_renderer_core_exported_web__view__impl.cc | 4 +- ...y_blink_renderer_core_frame_web__frame__test.cc | 6 +- ...erer_core_inspector_inspector__memory__agent.cc | 10 ++-- ...ink_renderer_core_layout_ng_layout__ng__view.cc | 4 +- ...party_blink_renderer_core_paint_paint__layer.cc | 4 +- ..._renderer_core_scroll_scrollbar__theme__aura.cc | 6 +- ...renderer_modules_ml_webnn_ml__graph__xnnpack.cc | 4 +- ...peerconnection_webrtc__audio__renderer__test.cc | 4 +- ...odules_webgl_webgl__rendering__context__base.cc | 4 +- ...h-third__party_blink_renderer_platform_BUILD.gn | 4 +- ...nk_renderer_platform_fonts_font__description.cc | 4 +- ...er_platform_graphics_video__frame__submitter.cc | 4 +- ...derer_platform_runtime__enabled__features.json5 | 19 ++++-- ...renderer_platform_text_text__break__iterator.cc | 11 ++++ ...platform_video__capture_video__capture__impl.cc | 4 +- .../files/patch-third__party_libxml_linux_config.h | 12 ---- .../files/patch-third__party_libxml_src_dict.c | 41 ------------- ..._maldoca_src_maldoca_base_get__runfiles__dir.cc | 8 +-- ...rd__party_perfetto_include_perfetto_base_time.h | 8 +-- ...vulkan-loader_src_loader_vk__loader__platform.h | 4 +- .../files/patch-third__party_webrtc_BUILD.gn | 4 +- www/chromium/files/patch-ui_aura_screen__ozone.cc | 4 +- www/chromium/files/patch-ui_aura_screen__ozone.h | 6 +- ...tch-ui_base_clipboard_clipboard__non__backed.cc | 11 ++++ ...op_os__exchange__data__provider__non__backed.cc | 4 +- .../patch-ui_base_resource_resource__bundle.cc | 4 +- .../files/patch-ui_base_ui__base__features.cc | 21 ++----- .../files/patch-ui_base_ui__base__features.h | 15 +---- .../files/patch-ui_base_x_x11__cursor__factory.cc | 4 +- .../files/patch-ui_base_x_x11__cursor__factory.h | 8 +-- .../files/patch-ui_base_x_x11__cursor__loader.cc | 6 +- .../files/patch-ui_base_x_x11__display__manager.cc | 20 +++++++ www/chromium/files/patch-ui_color_color__id.h | 4 +- .../files/patch-ui_color_color__provider__utils.cc | 4 +- ...nts_gesture__detection_motion__event__generic.h | 6 +- www/chromium/files/patch-ui_gfx_BUILD.gn | 4 +- www/chromium/files/patch-ui_gfx_x_xlib__support.cc | 16 ++--- www/chromium/files/patch-ui_gl_BUILD.gn | 6 +- www/chromium/files/patch-ui_gl_gl__context.cc | 4 +- .../files/patch-ui_gl_gl__implementation.cc | 4 +- www/chromium/files/patch-ui_gtk_gtk__ui.cc | 4 +- .../patch-ui_gtk_printing_print__dialog__gtk.cc | 4 +- .../patch-ui_native__theme_native__theme__base.cc | 4 +- ...tform_wayland_host_wayland__toplevel__window.cc | 4 +- ...atform_wayland_host_wayland__toplevel__window.h | 8 +-- ...rm_wayland_host_xdg__toplevel__wrapper__impl.cc | 4 +- ...ne_platform_wayland_ozone__platform__wayland.cc | 4 +- ...tch-ui_ozone_platform_x11_x11__screen__ozone.cc | 23 +++++--- ...atch-ui_ozone_platform_x11_x11__screen__ozone.h | 14 ++--- .../patch-ui_ozone_public_platform__screen.cc | 11 ---- .../files/patch-ui_ozone_public_platform__screen.h | 11 +--- ...i_ozone_test_mock__platform__window__delegate.h | 4 +- .../patch-ui_views_controls_textfield_textfield.cc | 14 ++--- ..._widget_desktop__aura_desktop__screen__ozone.cc | 11 ---- ...__aura_desktop__window__tree__host__platform.cc | 6 +- www/chromium/files/patch-ui_views_widget_widget.cc | 4 +- www/chromium/files/patch-ui_views_widget_widget.h | 4 +- www/chromium/files/patch-v8_BUILD.gn | 10 ++-- www/chromium/files/patch-v8_src_api_api.cc | 4 +- .../patch-v8_src_base_platform_platform-posix.cc | 4 +- ...8_src_baseline_x64_baseline-assembler-x64-inl.h | 4 +- .../patch-v8_src_builtins_x64_builtins-x64.cc | 8 +-- .../files/patch-v8_src_codegen_x64_assembler-x64.h | 4 +- ...patch-v8_src_codegen_x64_macro-assembler-x64.cc | 4 +- .../patch-v8_src_codegen_x64_macro-assembler-x64.h | 4 +- ..._src_compiler_backend_x64_code-generator-x64.cc | 4 +- .../files/patch-v8_src_execution_isolate.cc | 4 +- www/chromium/files/patch-v8_src_flags_flags.cc | 10 ++-- ...ch-v8_src_maglev_x64_maglev-assembler-x64-inl.h | 4 +- ..._embedded_platform-embedded-file-writer-base.cc | 4 +- ...tch-v8_src_trap-handler_handler-inside-posix.cc | 6 +- ...src_wasm_baseline_ia32_liftoff-assembler-ia32.h | 30 +++++----- .../patch-v8_src_wasm_jump-table-assembler.cc | 8 +-- .../files/patch-v8_src_wasm_jump-table-assembler.h | 4 +- ...-weblayer_browser_browser__main__parts__impl.cc | 20 ------- ...layer_browser_content__browser__client__impl.cc | 20 ------- ...blayer_browser_content__browser__client__impl.h | 11 ---- ...er_browser_system__network__context__manager.cc | 11 ---- .../files/patch-weblayer_common_weblayer__paths.cc | 20 ------- 335 files changed, 1645 insertions(+), 1630 deletions(-) diff --git a/www/chromium/Makefile b/www/chromium/Makefile index 1d92b08e3650..a7a600d2347c 100644 --- a/www/chromium/Makefile +++ b/www/chromium/Makefile @@ -1,5 +1,5 @@ PORTNAME= chromium -PORTVERSION= 118.0.5993.117 +PORTVERSION= 119.0.6045.105 CATEGORIES= www wayland MASTER_SITES= https://commondatastorage.googleapis.com/chromium-browser-official/ \ https://nerd.hu/distfiles/:external diff --git a/www/chromium/distinfo b/www/chromium/distinfo index 2d9c09331347..60bcb17ffbcd 100644 --- a/www/chromium/distinfo +++ b/www/chromium/distinfo @@ -1,9 +1,9 @@ -TIMESTAMP = 1698385214 -SHA256 (chromium-118.0.5993.117.tar.xz) = 7029d851e4a2e8d5a145a6f6ba76f18f5c3043f57b2c750b35d96e92f3453786 -SIZE (chromium-118.0.5993.117.tar.xz) = 3249866084 -SHA256 (chrome-linux-118.0.5993.117-llvm13.profdata.tar.xz) = 92a3d1a40c29cd661197f305304377cfa5c89af65945216a16d61f44e999d79e -SIZE (chrome-linux-118.0.5993.117-llvm13.profdata.tar.xz) = 28953832 -SHA256 (chromium-118.0.5993.117-testdata.tar.xz) = cc7eb88774d2b6ab3c0c6c280526cab1c92319d57bfb42575dc0858b2ef09079 -SIZE (chromium-118.0.5993.117-testdata.tar.xz) = 267124300 +TIMESTAMP = 1699010926 +SHA256 (chromium-119.0.6045.105.tar.xz) = 73cb8c39e928f8c627d747d37a3b020f08913ef5508f893758d70bdbd545dbcf +SIZE (chromium-119.0.6045.105.tar.xz) = 3299629128 +SHA256 (chrome-linux-119.0.6045.105-llvm13.profdata.tar.xz) = be45c58771ee0404447edc908c92567a1dc286828ef5aa90b70e574f52e51b26 +SIZE (chrome-linux-119.0.6045.105-llvm13.profdata.tar.xz) = 29270876 +SHA256 (chromium-119.0.6045.105-testdata.tar.xz) = 7b8e9f51677e64e2ad653aa5b915b74545299a259238ca1ffd24f1e677470f78 +SIZE (chromium-119.0.6045.105-testdata.tar.xz) = 271101180 SHA256 (test_fonts-336e775eec536b2d785cc80eff6ac39051931286.tar.gz) = a2ca2962daf482a8f943163541e1c73ba4b2694fabcd2510981f2db4eda493c8 SIZE (test_fonts-336e775eec536b2d785cc80eff6ac39051931286.tar.gz) = 32624734 diff --git a/www/chromium/files/patch-BUILD.gn b/www/chromium/files/patch-BUILD.gn index 9fdc6a87cf31..f5eeec0d0910 100644 --- a/www/chromium/files/patch-BUILD.gn +++ b/www/chromium/files/patch-BUILD.gn @@ -1,4 +1,4 @@ ---- BUILD.gn.orig 2023-10-11 18:22:24 UTC +--- BUILD.gn.orig 2023-11-03 10:09:45 UTC +++ BUILD.gn @@ -61,7 +61,7 @@ declare_args() { root_extra_deps = [] @@ -57,10 +57,10 @@ - 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) { - script_test("webdriver_wpt_tests") { + script_test("chrome_wpt_tests") { script = "//third_party/blink/tools/run_wpt_tests.py" args = [ -@@ -1184,7 +1192,7 @@ if (use_blink && !is_cronet_build) { +@@ -1167,7 +1175,7 @@ if (use_blink && !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)" ] } -@@ -1193,7 +1201,7 @@ if (use_blink && !is_cronet_build) { +@@ -1176,7 +1184,7 @@ if (use_blink && !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)" ] } -@@ -1653,7 +1661,7 @@ group("chromium_builder_perf") { +@@ -1637,7 +1645,7 @@ group("chromium_builder_perf") { data_deps += [ "//chrome/test:performance_browser_tests" ] } diff --git a/www/chromium/files/patch-base_BUILD.gn b/www/chromium/files/patch-base_BUILD.gn index d3f084541b7e..5b963cf8b0ce 100644 --- a/www/chromium/files/patch-base_BUILD.gn +++ b/www/chromium/files/patch-base_BUILD.gn @@ -1,6 +1,6 @@ ---- base/BUILD.gn.orig 2023-10-11 18:22:24 UTC +--- base/BUILD.gn.orig 2023-11-03 10:09:45 UTC +++ base/BUILD.gn -@@ -198,7 +198,7 @@ buildflag_header("ios_cronet_buildflags") { +@@ -186,7 +186,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" -@@ -1111,11 +1111,23 @@ component("base") { +@@ -1101,11 +1101,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. @@ -34,7 +34,7 @@ if (use_allocator_shim) { if (is_apple) { sources += [ "allocator/early_zone_registration_apple.h" ] -@@ -1135,7 +1147,7 @@ component("base") { +@@ -1125,7 +1137,7 @@ component("base") { # Allow more direct string conversions on platforms with native utf8 # strings @@ -43,7 +43,7 @@ defines += [ "SYSTEM_NATIVE_UTF8" ] } -@@ -2080,6 +2092,22 @@ component("base") { +@@ -2077,6 +2089,22 @@ component("base") { ] } @@ -66,7 +66,7 @@ # iOS if (is_ios) { sources += [ -@@ -2212,6 +2240,29 @@ component("base") { +@@ -2209,6 +2237,29 @@ component("base") { } } @@ -96,7 +96,7 @@ if (use_blink) { sources += [ "files/file_path_watcher.cc", -@@ -2222,7 +2273,7 @@ component("base") { +@@ -2219,7 +2270,7 @@ component("base") { } if (dep_libevent) { @@ -105,7 +105,7 @@ } if (use_libevent) { -@@ -3596,7 +3647,7 @@ test("base_unittests") { +@@ -3599,7 +3650,7 @@ test("base_unittests") { ] } @@ -114,7 +114,7 @@ sources += [ "debug/proc_maps_linux_unittest.cc", "files/scoped_file_linux_unittest.cc", -@@ -3617,7 +3668,7 @@ test("base_unittests") { +@@ -3620,7 +3671,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", -@@ -3628,7 +3679,7 @@ test("base_unittests") { +@@ -3631,7 +3682,7 @@ test("base_unittests") { # Allow more direct string conversions on platforms with native utf8 # strings @@ -132,7 +132,7 @@ defines += [ "SYSTEM_NATIVE_UTF8" ] } -@@ -3884,7 +3935,7 @@ test("base_unittests") { +@@ -3892,7 +3943,7 @@ test("base_unittests") { } } diff --git a/www/chromium/files/patch-base_allocator_dispatcher_tls.h b/www/chromium/files/patch-base_allocator_dispatcher_tls.h index 51dd6a7b59fd..b3403f22a21f 100644 --- a/www/chromium/files/patch-base_allocator_dispatcher_tls.h +++ b/www/chromium/files/patch-base_allocator_dispatcher_tls.h @@ -1,6 +1,6 @@ ---- base/allocator/dispatcher/tls.h.orig 2023-05-31 08:12:17 UTC +--- base/allocator/dispatcher/tls.h.orig 2023-11-03 10:09:45 UTC +++ base/allocator/dispatcher/tls.h -@@ -50,7 +50,7 @@ struct BASE_EXPORT MMapAllocator { +@@ -74,7 +74,7 @@ struct BASE_EXPORT MMapAllocator { partition_alloc::PartitionPageSize(); #elif BUILDFLAG(IS_APPLE) constexpr static size_t AllocationChunkSize = 16384; diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_BUILD.gn b/www/chromium/files/patch-base_allocator_partition__allocator_BUILD.gn index 7bf4d91aa232..6e536995020b 100644 --- a/www/chromium/files/patch-base_allocator_partition__allocator_BUILD.gn +++ b/www/chromium/files/patch-base_allocator_partition__allocator_BUILD.gn @@ -1,6 +1,6 @@ ---- base/allocator/partition_allocator/BUILD.gn.orig 2023-10-11 18:22:24 UTC +--- base/allocator/partition_allocator/BUILD.gn.orig 2023-11-03 10:09:45 UTC +++ base/allocator/partition_allocator/BUILD.gn -@@ -562,7 +562,7 @@ source_set("allocator_shim") { +@@ -569,7 +569,7 @@ source_set("allocator_shim") { ] configs += [ ":mac_no_default_new_delete_symbols" ] } diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc.gni b/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc.gni index b54367652de0..09ad1db9e668 100644 --- a/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc.gni +++ b/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc.gni @@ -1,6 +1,6 @@ ---- base/allocator/partition_allocator/partition_alloc.gni.orig 2023-10-11 18:22:24 UTC +--- base/allocator/partition_allocator/partition_alloc.gni.orig 2023-11-03 10:09:45 UTC +++ base/allocator/partition_allocator/partition_alloc.gni -@@ -328,7 +328,7 @@ declare_args() { +@@ -319,7 +319,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/chromium/files/patch-base_allocator_partition__allocator_partition__alloc__base_debug_stack__trace__posix.cc b/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc__base_debug_stack__trace__posix.cc index 9bf380b83878..0ece3b6b4ed4 100644 --- a/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc__base_debug_stack__trace__posix.cc +++ b/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc__base_debug_stack__trace__posix.cc @@ -1,4 +1,4 @@ ---- base/allocator/partition_allocator/partition_alloc_base/debug/stack_trace_posix.cc.orig 2023-10-11 18:22:24 UTC +--- base/allocator/partition_allocator/partition_alloc_base/debug/stack_trace_posix.cc.orig 2023-11-03 10:09:45 UTC +++ base/allocator/partition_allocator/partition_alloc_base/debug/stack_trace_posix.cc @@ -12,11 +12,11 @@ #include <string.h> @@ -23,7 +23,7 @@ constexpr size_t kBufferSize = 4096u; -@@ -359,7 +359,7 @@ void PrintStackTraceInternal(void* const* trace, size_ +@@ -359,7 +359,7 @@ void PrintStackTraceInternal(const void** trace, size_ } #endif // !BUILDFLAG(IS_APPLE) @@ -31,4 +31,4 @@ +#if BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_BSD) // Since /proc/self/maps is not available, use dladdr() to obtain module // names and offsets inside the modules from the given addresses. - void PrintStackTraceInternal(void* const* trace, size_t size) { + void PrintStackTraceInternal(const void* const* trace, size_t size) { diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc__constants.h b/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc__constants.h index 882b0d6ae2d8..5c447ca562b3 100644 --- a/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc__constants.h +++ b/www/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-09-13 12:11:42 UTC +--- base/allocator/partition_allocator/partition_alloc_constants.h.orig 2023-11-03 10:09:45 UTC +++ base/allocator/partition_allocator/partition_alloc_constants.h -@@ -95,7 +95,7 @@ PartitionPageShift() { +@@ -107,7 +107,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; -@@ -297,7 +297,8 @@ constexpr size_t kNumPools = kMaxPoolHandle - 1; +@@ -309,7 +309,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/chromium/files/patch-base_base__paths__posix.cc b/www/chromium/files/patch-base_base__paths__posix.cc index 9b6827056e06..1814d597ecf0 100644 --- a/www/chromium/files/patch-base_base__paths__posix.cc +++ b/www/chromium/files/patch-base_base__paths__posix.cc @@ -1,4 +1,4 @@ ---- base/base_paths_posix.cc.orig 2022-02-28 16:54:41 UTC +--- base/base_paths_posix.cc.orig 2023-11-03 16:09:21 UTC +++ base/base_paths_posix.cc @@ -15,6 +15,7 @@ #include <ostream> @@ -8,7 +8,7 @@ #include "base/environment.h" #include "base/files/file_path.h" #include "base/files/file_util.h" -@@ -25,9 +26,13 @@ +@@ -26,9 +27,13 @@ #include "base/process/process_metrics.h" #include "build/build_config.h" @@ -23,7 +23,17 @@ #elif BUILDFLAG(IS_SOLARIS) || BUILDFLAG(IS_AIX) #include <stdlib.h> #endif -@@ -68,13 +73,65 @@ bool PathProviderPosix(int key, FilePath* result) { +@@ -48,8 +53,7 @@ bool PathProviderPosix(int key, FilePath* result) { + *result = bin_dir; + return true; + #elif BUILDFLAG(IS_FREEBSD) +- int name[] = { CTL_KERN, KERN_PROC, KERN_PROC_PATHNAME, -1 }; +- absl::optional<std::string> bin_dir = StringSysctl(name, std::size(name)); ++ absl::optional<std::string> bin_dir = StringSysctl({ CTL_KERN, KERN_PROC, KERN_PROC_PATHNAME, -1 }); + if (!bin_dir.has_value() || bin_dir.value().length() <= 1) { + NOTREACHED() << "Unable to resolve path."; + return false; +@@ -65,13 +69,65 @@ bool PathProviderPosix(int key, FilePath* result) { *result = FilePath(bin_dir); return true; #elif BUILDFLAG(IS_OPENBSD) || BUILDFLAG(IS_AIX) diff --git a/www/chromium/files/patch-base_debug_stack__trace__posix.cc b/www/chromium/files/patch-base_debug_stack__trace__posix.cc index e1b9de653941..976166eac365 100644 --- a/www/chromium/files/patch-base_debug_stack__trace__posix.cc +++ b/www/chromium/files/patch-base_debug_stack__trace__posix.cc @@ -1,4 +1,4 @@ ---- base/debug/stack_trace_posix.cc.orig 2023-09-13 12:11:42 UTC +--- base/debug/stack_trace_posix.cc.orig 2023-11-03 10:09:45 UTC +++ base/debug/stack_trace_posix.cc @@ -41,7 +41,7 @@ // execinfo.h and backtrace(3) are really only present in glibc and in macOS @@ -9,16 +9,19 @@ #define HAVE_BACKTRACE #include <execinfo.h> #endif -@@ -59,7 +59,7 @@ +@@ -59,8 +59,10 @@ #include <AvailabilityMacros.h> #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) ++#if !BUILDFLAG(IS_BSD) + #include <sys/prctl.h> ++#endif + #include "base/debug/proc_maps_linux.h" #endif - -@@ -300,7 +300,7 @@ void PrintToStderr(const char* output) { +@@ -302,7 +304,7 @@ void PrintToStderr(const char* output) { std::ignore = HANDLE_EINTR(write(STDERR_FILENO, output, strlen(output))); } @@ -27,7 +30,7 @@ void AlarmSignalHandler(int signal, siginfo_t* info, void* void_context) { // We have seen rare cases on AMD linux where the default signal handler // either does not run or a thread (Probably an AMD driver thread) prevents -@@ -317,7 +317,11 @@ void AlarmSignalHandler(int signal, siginfo_t* info, v +@@ -319,7 +321,11 @@ void AlarmSignalHandler(int signal, siginfo_t* info, v "Warning: Default signal handler failed to terminate process.\n"); PrintToStderr("Calling exit_group() directly to prevent timeout.\n"); // See: https://man7.org/linux/man-pages/man2/exit_group.2.html @@ -39,7 +42,7 @@ } #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) || // BUILDFLAG(IS_CHROMEOS) -@@ -534,7 +538,7 @@ void StackDumpSignalHandler(int signal, siginfo_t* inf +@@ -536,7 +542,7 @@ void StackDumpSignalHandler(int signal, siginfo_t* inf _exit(EXIT_FAILURE); } @@ -48,7 +51,7 @@ // Set an alarm to trigger in case the default handler does not terminate // the process. See 'AlarmSignalHandler' for more details. struct sigaction action; -@@ -559,6 +563,7 @@ void StackDumpSignalHandler(int signal, siginfo_t* inf +@@ -561,6 +567,7 @@ void StackDumpSignalHandler(int signal, siginfo_t* inf // signals that do not re-raise autonomously), such as signals delivered via // kill() and asynchronous hardware faults such as SEGV_MTEAERR, which would // otherwise be lost when re-raising the signal via raise(). @@ -56,7 +59,7 @@ long retval = syscall(SYS_rt_tgsigqueueinfo, getpid(), syscall(SYS_gettid), info->si_signo, info); if (retval == 0) { -@@ -573,6 +578,7 @@ void StackDumpSignalHandler(int signal, siginfo_t* inf +@@ -575,6 +582,7 @@ void StackDumpSignalHandler(int signal, siginfo_t* inf if (errno != EPERM) { _exit(EXIT_FAILURE); } @@ -64,7 +67,21 @@ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) || // BUILDFLAG(IS_CHROMEOS) -@@ -821,6 +827,9 @@ class SandboxSymbolizeHelper { +@@ -764,6 +772,7 @@ class SandboxSymbolizeHelper { + return -1; + } + ++#if !BUILDFLAG(IS_BSD) + // This class is copied from + // third_party/crashpad/crashpad/util/linux/scoped_pr_set_dumpable.h. + // It aims at ensuring the process is dumpable before opening /proc/self/mem. +@@ -856,11 +865,15 @@ class SandboxSymbolizeHelper { + r.base = cur_base; + } + } ++#endif + + // Parses /proc/self/maps in order to compile a list of all object file names // for the modules that are loaded in the current process. // Returns true on success. bool CacheMemoryRegions() { @@ -74,7 +91,7 @@ // Reads /proc/self/maps. std::string contents; if (!ReadProcMaps(&contents)) { -@@ -838,6 +847,7 @@ class SandboxSymbolizeHelper { +@@ -878,6 +891,7 @@ class SandboxSymbolizeHelper { is_initialized_ = true; return true; diff --git a/www/chromium/files/patch-base_files_file__path__watcher__unittest.cc b/www/chromium/files/patch-base_files_file__path__watcher__unittest.cc index 466139722045..e53f2a38c872 100644 --- a/www/chromium/files/patch-base_files_file__path__watcher__unittest.cc +++ b/www/chromium/files/patch-base_files_file__path__watcher__unittest.cc @@ -1,6 +1,6 @@ ---- base/files/file_path_watcher_unittest.cc.orig 2023-09-13 12:11:42 UTC +--- base/files/file_path_watcher_unittest.cc.orig 2023-11-03 10:09:45 UTC +++ base/files/file_path_watcher_unittest.cc -@@ -586,7 +586,7 @@ TEST_F(FilePathWatcherTest, WatchDirectory) { +@@ -705,7 +705,7 @@ TEST_F(FilePathWatcherTest, WatchDirectory) { } delegate.RunUntilEventsMatch(event_expecter); @@ -9,7 +9,7 @@ ASSERT_TRUE(WriteFile(file1, "content v2")); // Mac implementation does not detect files modified in a directory. // TODO(https://crbug.com/1432064): Expect that no events are fired on Mac. -@@ -1525,7 +1525,7 @@ namespace { +@@ -1641,7 +1641,7 @@ namespace { enum Permission { Read, Write, Execute }; @@ -18,7 +18,7 @@ bool ChangeFilePermissions(const FilePath& path, Permission perm, bool allow) { struct stat stat_buf; -@@ -1559,7 +1559,7 @@ bool ChangeFilePermissions(const FilePath& path, Permi +@@ -1675,7 +1675,7 @@ bool ChangeFilePermissions(const FilePath& path, Permi } // namespace diff --git a/www/chromium/files/patch-base_files_file__util__posix.cc b/www/chromium/files/patch-base_files_file__util__posix.cc index 7afe327ec4b4..3858c31133cd 100644 --- a/www/chromium/files/patch-base_files_file__util__posix.cc +++ b/www/chromium/files/patch-base_files_file__util__posix.cc @@ -1,6 +1,6 @@ ---- base/files/file_util_posix.cc.orig 2023-04-28 17:01:32 UTC +--- base/files/file_util_posix.cc.orig 2023-11-03 10:09:45 UTC +++ base/files/file_util_posix.cc -@@ -756,32 +756,34 @@ bool CreateDirectoryAndGetError(const FilePath& full_p +@@ -756,33 +756,34 @@ bool CreateDirectoryAndGetError(const FilePath& full_p File::Error* error) { ScopedBlockingCall scoped_blocking_call( FROM_HERE, BlockingType::MAY_BLOCK); // For call to mkdir(). @@ -34,11 +34,12 @@ - if (!DirectoryExists(subpath)) { - if (error) - *error = File::OSErrorToFileError(saved_errno); +- errno = saved_errno; - return false; + if (!PathExists(subpath)) { + if ((mkdir(subpath.value().c_str(), 0700) == -1) && + ((full_path != subpath) ? (errno != ENOENT) : (-1))) { -+ int saved_errno = errno; ++ int saved_errno = errno; + if (error) + *error = File::OSErrorToFileError(saved_errno); + return false; diff --git a/www/chromium/files/patch-base_process_process__handle__freebsd.cc b/www/chromium/files/patch-base_process_process__handle__freebsd.cc index 5cc930471cea..cca86a8ad3b0 100644 --- a/www/chromium/files/patch-base_process_process__handle__freebsd.cc +++ b/www/chromium/files/patch-base_process_process__handle__freebsd.cc @@ -1,4 +1,4 @@ ---- base/process/process_handle_freebsd.cc.orig 2022-04-21 18:48:31 UTC +--- base/process/process_handle_freebsd.cc.orig 2023-11-03 10:09:45 UTC +++ base/process/process_handle_freebsd.cc @@ -3,6 +3,7 @@ // found in the LICENSE file. @@ -8,7 +8,7 @@ #include <limits.h> #include <stddef.h> -@@ -15,10 +16,13 @@ namespace base { +@@ -19,10 +20,13 @@ namespace base { ProcessId GetParentProcessId(ProcessHandle process) { struct kinfo_proc info; diff --git a/www/chromium/files/patch-base_process_process__unittest.cc b/www/chromium/files/patch-base_process_process__unittest.cc index 95c2253774fb..39648480fc45 100644 --- a/www/chromium/files/patch-base_process_process__unittest.cc +++ b/www/chromium/files/patch-base_process_process__unittest.cc @@ -1,6 +1,6 @@ ---- base/process/process_unittest.cc.orig 2023-04-28 17:01:32 UTC +--- base/process/process_unittest.cc.orig 2023-11-03 10:09:45 UTC +++ base/process/process_unittest.cc -@@ -195,7 +195,7 @@ TEST_F(ProcessTest, CreationTimeOtherProcess) { +@@ -198,7 +198,7 @@ TEST_F(ProcessTest, CreationTimeOtherProcess) { // was spawned and a time recorded after it was spawned. However, since the // base::Time and process creation clocks don't match, tolerate some error. constexpr base::TimeDelta kTolerance = diff --git a/www/chromium/files/patch-base_rand__util__posix.cc b/www/chromium/files/patch-base_rand__util__posix.cc index b6df31cda061..e1a0737bb539 100644 --- a/www/chromium/files/patch-base_rand__util__posix.cc +++ b/www/chromium/files/patch-base_rand__util__posix.cc @@ -1,4 +1,4 @@ ---- base/rand_util_posix.cc.orig 2022-11-30 08:12:58 UTC +--- base/rand_util_posix.cc.orig 2023-11-03 10:09:45 UTC +++ base/rand_util_posix.cc @@ -22,7 +22,7 @@ #include "base/time/time.h" @@ -9,14 +9,14 @@ #include "third_party/lss/linux_syscall_support.h" #elif BUILDFLAG(IS_MAC) // TODO(crbug.com/995996): Waiting for this header to appear in the iOS SDK. -@@ -46,6 +46,7 @@ static constexpr int kOpenFlags = O_RDONLY; - static constexpr int kOpenFlags = O_RDONLY | O_CLOEXEC; - #endif +@@ -39,6 +39,7 @@ namespace base { + + namespace { +#if !BUILDFLAG(IS_BSD) - // We keep the file descriptor for /dev/urandom around so we don't need to - // reopen it (which is expensive), and since we may not even be able to reopen - // it if we are later put in a sandbox. This class wraps the file descriptor so + #if BUILDFLAG(IS_AIX) + // AIX has no 64-bit support for O_CLOEXEC. + static constexpr int kOpenFlags = O_RDONLY; @@ -63,10 +64,11 @@ class URandomFd { private: const int fd_; diff --git a/www/chromium/files/patch-base_system_sys__info.h b/www/chromium/files/patch-base_system_sys__info.h index 5a4a49653054..de4a240b92d3 100644 --- a/www/chromium/files/patch-base_system_sys__info.h +++ b/www/chromium/files/patch-base_system_sys__info.h @@ -1,6 +1,6 @@ ---- base/system/sys_info.h.orig 2023-10-11 18:22:24 UTC +--- base/system/sys_info.h.orig 2023-11-03 10:09:45 UTC +++ base/system/sys_info.h -@@ -266,6 +266,8 @@ class BASE_EXPORT SysInfo { +@@ -304,6 +304,8 @@ class BASE_EXPORT SysInfo { static void ResetCpuSecurityMitigationsEnabledForTesting(); #endif @@ -9,7 +9,7 @@ private: friend class test::ScopedAmountOfPhysicalMemoryOverride; FRIEND_TEST_ALL_PREFIXES(SysInfoTest, AmountOfAvailablePhysicalMemory); -@@ -278,7 +280,7 @@ class BASE_EXPORT SysInfo { +@@ -316,7 +318,7 @@ class BASE_EXPORT SysInfo { static HardwareInfo GetHardwareInfoSync(); #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \ diff --git a/www/chromium/files/patch-base_system_sys__info__openbsd.cc b/www/chromium/files/patch-base_system_sys__info__openbsd.cc index 4e9997823827..20d87c1dd592 100644 --- a/www/chromium/files/patch-base_system_sys__info__openbsd.cc +++ b/www/chromium/files/patch-base_system_sys__info__openbsd.cc @@ -1,14 +1,14 @@ ---- base/system/sys_info_openbsd.cc.orig 2022-08-31 12:19:35 UTC +--- base/system/sys_info_openbsd.cc.orig 2023-11-03 10:09:45 UTC +++ base/system/sys_info_openbsd.cc -@@ -11,6 +11,7 @@ - #include <sys/sysctl.h> +@@ -12,6 +12,7 @@ #include "base/notreached.h" + #include "base/posix/sysctl.h" +#include "base/strings/string_util.h" namespace { -@@ -26,9 +27,15 @@ uint64_t AmountOfMemory(int pages_name) { +@@ -27,9 +28,15 @@ uint64_t AmountOfMemory(int pages_name) { namespace base { @@ -25,7 +25,7 @@ int ncpu; size_t size = sizeof(ncpu); if (sysctl(mib, std::size(mib), &ncpu, &size, NULL, 0) < 0) { -@@ -40,10 +47,26 @@ int SysInfo::NumberOfProcessors() { +@@ -41,10 +48,26 @@ int SysInfo::NumberOfProcessors() { // static uint64_t SysInfo::AmountOfPhysicalMemoryImpl() { @@ -53,7 +53,7 @@ uint64_t SysInfo::AmountOfAvailablePhysicalMemoryImpl() { // We should add inactive file-backed memory also but there is no such // information from OpenBSD unfortunately. -@@ -55,23 +78,28 @@ uint64_t SysInfo::MaxSharedMemorySize() { +@@ -56,16 +79,28 @@ uint64_t SysInfo::MaxSharedMemorySize() { int mib[] = {CTL_KERN, KERN_SHMINFO, KERN_SHMINFO_SHMMAX}; size_t limit; size_t size = sizeof(limit); @@ -72,14 +72,7 @@ // static -std::string SysInfo::CPUModelName() { -- int mib[] = {CTL_HW, HW_MODEL}; -- char name[256]; -- size_t len = std::size(name); -- if (sysctl(mib, std::size(mib), name, &len, NULL, 0) < 0) { -- NOTREACHED(); -- return std::string(); -- } -- return name; +- return StringSysctl({CTL_HW, HW_MODEL}).value(); +SysInfo::HardwareInfo SysInfo::GetHardwareInfoSync() { + HardwareInfo info; + // Set the manufacturer to "OpenBSD" and the model to diff --git a/www/chromium/files/patch-base_test_launcher_test__launcher.cc b/www/chromium/files/patch-base_test_launcher_test__launcher.cc index 4176faa10b09..9dbcd7c46474 100644 --- a/www/chromium/files/patch-base_test_launcher_test__launcher.cc +++ b/www/chromium/files/patch-base_test_launcher_test__launcher.cc @@ -1,6 +1,6 @@ ---- base/test/launcher/test_launcher.cc.orig 2023-10-11 18:22:24 UTC +--- base/test/launcher/test_launcher.cc.orig 2023-11-03 10:09:45 UTC +++ base/test/launcher/test_launcher.cc -@@ -68,6 +68,7 @@ +@@ -70,6 +70,7 @@ #include "testing/gtest/include/gtest/gtest.h" #if BUILDFLAG(IS_POSIX) diff --git a/www/chromium/files/patch-base_threading_platform__thread__unittest.cc b/www/chromium/files/patch-base_threading_platform__thread__unittest.cc index 24c2bbbf636e..0ca9042b35b8 100644 --- a/www/chromium/files/patch-base_threading_platform__thread__unittest.cc +++ b/www/chromium/files/patch-base_threading_platform__thread__unittest.cc @@ -1,4 +1,4 @@ ---- base/threading/platform_thread_unittest.cc.orig 2023-09-13 12:11:42 UTC +--- base/threading/platform_thread_unittest.cc.orig 2023-11-03 10:09:45 UTC +++ base/threading/platform_thread_unittest.cc @@ -32,7 +32,7 @@ #include "base/time/time.h" @@ -16,9 +16,9 @@ -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // On Ubuntu, RLIMIT_NICE and RLIMIT_RTPRIO are 0 by default, so we won't be - // able to increase priority to any level. - constexpr bool kCanIncreasePriority = false; -@@ -695,12 +695,16 @@ INSTANTIATE_TEST_SUITE_P( + // able to increase priority to any level unless we are root (euid == 0). + bool kCanIncreasePriority = false; +@@ -706,12 +706,16 @@ INSTANTIATE_TEST_SUITE_P( #endif // BUILDFLAG(IS_APPLE) diff --git a/www/chromium/files/patch-base_trace__event_trace__log.cc b/www/chromium/files/patch-base_trace__event_trace__log.cc index aab016ef7dca..9d5e7c22f3ef 100644 --- a/www/chromium/files/patch-base_trace__event_trace__log.cc +++ b/www/chromium/files/patch-base_trace__event_trace__log.cc @@ -1,6 +1,6 @@ ---- base/trace_event/trace_log.cc.orig 2023-10-11 18:22:24 UTC +--- base/trace_event/trace_log.cc.orig 2023-11-03 10:09:45 UTC *** 8892 LINES SKIPPED ***
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202311031901.3A3J1Qmn075116>