From nobody Sun Apr 21 10:21:15 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VMktg6ndjz5HxW3; Sun, 21 Apr 2024 10:21:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VMktg5Wv0z4wp9; Sun, 21 Apr 2024 10:21:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713694875; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4RJqP2SFmkOzijt3jRVAIDgqTxYvvMLGWV/rUGvFgF4=; b=gI/op5neDxUM2aP20BtRgHOhhFDklbWv5zhbnrn+MEBYI1FdspiBIzRdlwqrJAy9drudt9 vX1SD/FsJDzqfhfkGegxdbIVhkQY1VVrujm8O6Rccd1eYQRIUSSv3nqq6xaJrUepXC+74k Ms2x7bc3+NwAnALEDDNbcB3OSyquSfzUb8QYSmqKiDSGQ0Qt2+skRIzukq9x9+hK0XokAs Jfest9jdxPFRdfam9VFG9Ag2yrF9F+HsoKIpV0S82VvwC6+yeD2yuBJiNlwSDN7sMUw5uQ 2JW/i/UdRfQ9QZyAslFlaLe+qVP1GbR+TdsGKf+4rrNErI4MouwImyS6QmImqw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713694875; a=rsa-sha256; cv=none; b=FagIm4s7laayAqCOEAdlmuB1CZ3cD8RPique7JZxl3pqX4PhbGovTpQK6+cKssU47UuKv8 bpcGH29pepv5q76xYM2clsOLZ5rOTxKKj0UlUpIRfuDnKt9LFTE8kXhuW2ho1ku1dKxzXq htI4ijIfbHLMYgXJtmBWqMUSq0ndBzV7PwR0XdvgSOCQSjDWQlI+IRF3rAIlQrgIzRNmAz JGXWGiOFGhPfuIfzR5LJ9Kl5FZS9lE0gF+TM4zGYbur8y0bFZf1rjrqbCRhWwjvFS/QWCh xeacD0etB1lVMeu6qK8lPsPMAYcYt0eD6VozQoHCrwKKTQBY6Ex7pV34bOpoDg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713694875; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4RJqP2SFmkOzijt3jRVAIDgqTxYvvMLGWV/rUGvFgF4=; b=VxDy4NAoucuHkppD4tqo9ZG/64QYpXq4drDliNFmsJbDB/BqgEwduOM3nGrxyoXmVnsguy K1c9m7ZA9lye4O9V+4EUMSB30vxsWRNf4v9rMh3Qy1WfYKC/wUdWMslvzd67bZ4qxnsRKH 0cxT2QbY2x66l8oi/trIuyju7ugL29+32diU+ks+TOjgSGPALq/Pc5z1QSbf60oFaR9sW8 ovKki5jwxR+ojo42BmPxqC013/4sBXGK95gd/4/YfJKrMLTxjSCi36r5ECtdhle3fgmvJ0 88muAmlEp2rBAMFHeueAIYut+nKsoJCI57SqkRmrbAFJUJqL3//YeaEwnbCv7Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VMktg57bWz1GTX; Sun, 21 Apr 2024 10:21:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 43LALFDR038836; Sun, 21 Apr 2024 10:21:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43LALF0L038833; Sun, 21 Apr 2024 10:21:15 GMT (envelope-from git) Date: Sun, 21 Apr 2024 10:21:15 GMT Message-Id: <202404211021.43LALF0L038833@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Nagy Subject: git: 6644efa6cc5d - main - www/*chromium: update to 124.0.6367.60 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rnagy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6644efa6cc5db048ec9e188ad369ce6e20717d48 Auto-Submitted: auto-generated The branch main has been updated by rnagy: URL: https://cgit.FreeBSD.org/ports/commit/?id=6644efa6cc5db048ec9e188ad369ce6e20717d48 commit 6644efa6cc5db048ec9e188ad369ce6e20717d48 Author: Robert Nagy AuthorDate: 2024-04-21 10:18:41 +0000 Commit: Robert Nagy CommitDate: 2024-04-21 10:21:08 +0000 www/*chromium: update to 124.0.6367.60 Security: https://vuxml.freebsd.org/freebsd/9bed230f-ffc8-11ee-8e76-a8a1599412c6.html --- www/chromium/Makefile | 2 +- www/chromium/distinfo | 14 +-- www/chromium/files/patch-BUILD.gn | 16 +-- www/chromium/files/patch-base_BUILD.gn | 36 +++---- .../files/patch-base_allocator_dispatcher_tls.h | 8 +- ...cator_partition__allocator_partition__alloc.gni | 8 +- ...tition__allocator_src_partition__alloc_BUILD.gn | 4 +- ...artition__alloc_address__space__randomization.h | 4 +- ...llocator_src_partition__alloc_page__allocator.h | 4 +- ...c_partition__alloc_page__allocator__constants.h | 37 +------ ...c_partition__alloc_partition__address__space.cc | 11 -- ...src_partition__alloc_partition__alloc__config.h | 10 +- ..._partition__alloc_partition__alloc__constants.h | 16 +-- ...c_partition__alloc_partition__page__constants.h | 11 -- ...locator_src_partition__alloc_partition__root.cc | 15 +-- .../files/patch-base_base__paths__posix.cc | 8 +- .../files/patch-base_debug_debugger__posix.cc | 7 +- www/chromium/files/patch-base_debug_elf__reader.cc | 27 ++--- .../files/patch-base_debug_stack__trace.cc | 38 ++++--- .../files/patch-base_debug_stack__trace__posix.cc | 18 ++-- .../files/patch-base_files_file__util__posix.cc | 4 +- .../files/patch-base_files_file__util__unittest.cc | 6 +- ...-base_memory_platform__shared__memory__region.h | 12 +-- .../files/patch-base_posix_unix__domain__socket.cc | 20 +++- .../files/patch-base_process_internal__linux.h | 20 ++++ .../patch-base_process_process__handle__freebsd.cc | 4 +- .../patch-base_process_process__handle__openbsd.cc | 30 +++--- .../files/patch-base_process_process__metrics.cc | 13 +-- .../files/patch-base_process_process__metrics.h | 37 +++---- ...patch-base_process_process__metrics__freebsd.cc | 51 +++++----- ...patch-base_process_process__metrics__openbsd.cc | 69 +++++++------ ...atch-base_process_process__metrics__unittest.cc | 4 +- .../files/patch-base_profiler_module__cache.cc | 4 +- ...e_profiler_sampling__profiler__thread__token.cc | 4 +- ...se_profiler_sampling__profiler__thread__token.h | 6 +- ...ch-base_profiler_stack__base__address__posix.cc | 13 ++- ...ofiler_stack__sampling__profiler__test__util.cc | 4 +- .../patch-base_profiler_thread__delegate__posix.cc | 10 +- .../files/patch-base_synchronization_lock__impl.h | 6 +- www/chromium/files/patch-base_system_sys__info.h | 6 +- .../files/patch-base_system_sys__info__unittest.cc | 4 +- .../files/patch-base_threading_platform__thread.h | 11 ++ .../patch-base_threading_platform__thread__bsd.cc | 6 +- ...patch-base_threading_platform__thread__posix.cc | 17 +++- ...tch-base_trace__event_malloc__dump__provider.cc | 8 +- ...atch-base_trace__event_process__memory__dump.cc | 6 +- .../files/patch-build_config_clang_BUILD.gn | 4 +- .../files/patch-build_config_compiler_BUILD.gn | 25 +++-- www/chromium/files/patch-build_config_rust.gni | 4 +- .../files/patch-build_linux_unbundle_libwebp.gn | 27 +++++ www/chromium/files/patch-cc_BUILD.gn | 6 +- .../patch-chrome_app_chrome__main__delegate.cc | 52 ++++++---- www/chromium/files/patch-chrome_browser_BUILD.gn | 4 +- .../files/patch-chrome_browser_about__flags.cc | 67 ++++++------ ...apps_app__service_publishers_extension__apps.cc | 10 +- ...er_apps_platform__apps_platform__app__launch.cc | 63 ++++++++++-- ...ser_apps_platform__apps_platform__app__launch.h | 6 +- ...browser_background_background__mode__manager.cc | 4 +- .../patch-chrome_browser_browser__features.cc | 6 +- ..._browser_chrome__browser__interface__binders.cc | 18 ++-- .../patch-chrome_browser_chrome__browser__main.cc | 34 +++++-- ...r_chrome__browser__main__extra__parts__linux.cc | 4 +- ...r_chrome__browser__main__extra__parts__ozone.cc | 4 +- ...ome_browser_chrome__content__browser__client.cc | 37 +++---- ...rome_browser_chrome__content__browser__client.h | 4 +- ...download_chrome__download__manager__delegate.cc | 8 +- ...hrome_browser_download_download__item__model.cc | 8 +- ...atch-chrome_browser_download_download__prefs.cc | 18 ++-- ...ser__management_browser__management__service.cc | 29 ++++++ ...wser__management_browser__management__service.h | 11 ++ ...er_enterprise_connectors_connectors__service.cc | 4 +- ...ectors_reporting_realtime__reporting__client.cc | 6 +- ...browser_enterprise_watermark_watermark__view.cc | 20 ++++ .../files/patch-chrome_browser_extensions_BUILD.gn | 4 +- ..._browser__context__keyed__service__factories.cc | 8 +- ...management_chrome__management__api__delegate.cc | 11 ++ ...__private_passwords__private__delegate__impl.cc | 4 +- ...s_api_runtime_chrome__runtime__api__delegate.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 | 10 +- ...e__file__system__access__permission__context.cc | 4 +- .../patch-chrome_browser_flag__descriptions.cc | 22 ++-- .../patch-chrome_browser_flag__descriptions.h | 20 ++-- ..._browser_media_webrtc_capture__policy__utils.cc | 20 ---- ...chrome__browser__main__extra__parts__metrics.cc | 12 +-- ...ser_metrics_chrome__metrics__service__client.cc | 29 ++---- ...trics_power_process__metrics__recorder__util.cc | 4 +- ...hrome_browser_metrics_power_process__monitor.cc | 14 +-- ...chrome_browser_metrics_power_process__monitor.h | 6 +- ...rowser_net_system__network__context__manager.cc | 4 +- ...browser_net_system__network__context__manager.h | 8 +- ...d__manager_chrome__password__manager__client.cc | 13 ++- .../patch-chrome_browser_platform__util__linux.cc | 8 +- ...onfiguration__policy__handler__list__factory.cc | 78 +++++++------- ...y_device__management__service__configuration.cc | 6 +- .../patch-chrome_browser_prefs_browser__prefs.cc | 10 +- ...er_prefs_pref__service__incognito__allowlist.cc | 4 +- ...er_printing_print__backend__service__manager.cc | 6 +- ...hrome__browser__main__extra__parts__profiles.cc | 26 ++--- .../patch-chrome_browser_profiles_profile__impl.cc | 6 +- ...h-chrome_browser_renderer__preferences__util.cc | 8 +- ...rowser_screen__ai_screen__ai__install__state.cc | 8 +- ...owser_screen__ai_screen__ai__service__router.cc | 20 ++++ ...supervised__user__extensions__delegate__impl.cc | 11 ++ ...__user_supervised__user__extensions__manager.cc | 20 ++++ ...d__user_supervised__user__extensions__manager.h | 11 ++ ...tch-chrome_browser_sync_chrome__sync__client.cc | 12 +-- ...h-chrome_browser_sync_sync__service__factory.cc | 4 +- ..._task__manager_sampling_task__group__sampler.cc | 12 +-- ...-chrome_browser_ui_actions_chrome__action__id.h | 4 +- ..._payments_desktop__payments__window__manager.cc | 20 ++++ ...l_payments_desktop__payments__window__manager.h | 38 +++++++ .../patch-chrome_browser_ui_browser__ui__prefs.cc | 11 ++ .../files/patch-chrome_browser_ui_chrome__pages.cc | 6 +- .../files/patch-chrome_browser_ui_chrome__pages.h | 4 +- ...r_ui_omnibox_omnibox__pedal__implementations.cc | 4 +- ..._passwords_manage__passwords__ui__controller.cc | 4 +- ...e_browser_ui_signin_signin__view__controller.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 +- ...r_ui_views_frame_browser__frame__view__linux.cc | 6 +- ...er__non__client__frame__view__factory__views.cc | 11 +- ...-chrome_browser_ui_views_frame_browser__view.cc | 4 +- ...e_picture__in__picture__browser__frame__view.cc | 36 +++---- ...me_picture__in__picture__browser__frame__view.h | 8 +- ..._ui_views_profiles_profile__menu__view__base.cc | 4 +- ...e_browser_ui_views_tab__search__bubble__host.cc | 4 +- ..._browser_ui_views_tabs_tab__drag__controller.cc | 18 ++-- ...ui_views_tabs_tab__hover__card__bubble__view.cc | 4 +- ...r_ui_views_tabs_tab__hover__card__controller.cc | 11 -- ..._education_browser__user__education__service.cc | 4 +- ...eb__apps_web__app__integration__test__driver.cc | 20 ++-- ...rowser_ui_web__applications_web__app__dialogs.h | 4 +- ...web__applications_web__app__ui__manager__impl.h | 4 +- ..._ui_webui_app__home_app__home__page__handler.cc | 18 ++-- ...i_webui_chrome__web__ui__controller__factory.cc | 14 +-- ...i_connectors__internals_device__trust__utils.cc | 10 +- ...me_browser_ui_webui_realbox_realbox__handler.cc | 29 ------ ...tings_settings__localized__strings__provider.cc | 8 +- ...er_web__applications_extension__status__utils.h | 16 +-- ...ications_extensions_extension__status__utils.cc | 18 ++-- ..._os__integration_web__app__shortcut__manager.cc | 4 +- ...pplications_policy_web__app__policy__manager.cc | 4 +- ..._browser_web__applications_web__app__helpers.cc | 11 ++ ...thn_chrome__authenticator__request__delegate.cc | 4 +- .../files/patch-chrome_common_chrome__features.cc | 22 ++-- .../files/patch-chrome_common_chrome__features.h | 8 +- .../files/patch-chrome_common_chrome__switches.cc | 4 +- .../files/patch-chrome_common_chrome__switches.h | 4 +- .../files/patch-chrome_common_pref__names.h | 20 ++-- .../files/patch-chrome_common_url__constants.h | 4 +- .../patch-chrome_common_webui__url__constants.cc | 12 +-- .../patch-chrome_common_webui__url__constants.h | 8 +- ...ome_renderer_chrome__render__frame__observer.cc | 4 +- ...services_speech_audio__source__fetcher__impl.cc | 4 +- .../files/patch-chrome_updater_util_posix__util.cc | 4 +- ...utofill_core_browser_personal__data__manager.cc | 4 +- ...ill_core_common_autofill__payments__features.cc | 4 +- ...e__engagement_public_feature__configurations.cc | 17 +++- ...eature__engagement_public_feature__constants.cc | 6 +- ...feature__engagement_public_feature__constants.h | 8 +- ...nts_feature__engagement_public_feature__list.cc | 12 +-- ...ents_feature__engagement_public_feature__list.h | 20 ++-- .../patch-components_gwp__asan_client_gwp__asan.cc | 4 +- ...nts_gwp__asan_crash__handler_crash__analyzer.cc | 6 +- ...rator_browser_network__session__configurator.cc | 4 +- ...ser_network__session__configurator__unittest.cc | 4 +- ...ponents_omnibox_browser_omnibox__edit__model.cc | 10 -- ...ger_core_browser_features_password__features.cc | 10 +- ...ager_core_browser_features_password__features.h | 8 +- ...manager_core_browser_password__form__manager.cc | 4 +- ...word__manager_core_browser_password__manager.cc | 4 +- ...er_core_common_password__manager__pref__names.h | 4 +- ...icy_core_browser_policy__pref__mapping__test.cc | 4 +- ...licy_core_common_cloud_cloud__policy__client.cc | 4 +- ...onents_policy_tools_generate__policy__source.py | 4 +- ...mponents_safe__browsing_core_common_features.cc | 11 -- ...gine__choice_search__engine__choice__service.cc | 4 +- ...nents_search__engines_template__url__service.cc | 4 +- ...nts_services_screen__ai_public_cpp_utilities.cc | 11 -- ..._ai_sandbox_screen__ai__sandbox__hook__linux.cc | 18 ---- ...__ai_sandbox_screen__ai__sandbox__hook__linux.h | 16 --- ...mponents_signin_public_base_signin__switches.cc | 6 +- ...omponents_signin_public_base_signin__switches.h | 4 +- ..._user_core_browser_supervised__user__service.cc | 8 +- ...onents_supervised__user_core_common_features.cc | 47 ++------- ...ponents_supervised__user_core_common_features.h | 4 +- ...ents_supervised__user_core_common_pref__names.h | 11 ++ .../files/patch-components_sync_base_features.cc | 4 +- ...isplay__embedder_skia__output__surface__impl.cc | 4 +- ...omponents_viz_service_display_skia__renderer.cc | 4 +- ...e__sinks_root__compositor__frame__sink__impl.cc | 10 +- ...me__sinks_root__compositor__frame__sink__impl.h | 8 +- www/chromium/files/patch-content_browser_BUILD.gn | 4 +- ..._browser_browser__child__process__host__impl.cc | 18 ++-- ...t_browser_browser__child__process__host__impl.h | 4 +- .../patch-content_browser_browser__main__loop.cc | 8 +- ...tent_browser_child__process__launcher__helper.h | 4 +- ..._compositor_viz__process__transport__factory.cc | 4 +- ...wser_devtools_protocol_system__info__handler.cc | 4 +- .../patch-content_browser_gpu_compositor__util.cc | 26 ++--- ...content_browser_gpu_gpu__data__manager__impl.cc | 4 +- ...-content_browser_gpu_gpu__data__manager__impl.h | 4 +- ...rowser_gpu_gpu__data__manager__impl__private.cc | 4 +- ...browser_gpu_gpu__data__manager__impl__private.h | 6 +- ...patch-content_browser_gpu_gpu__process__host.cc | 18 ++-- ...r_renderer__host_render__process__host__impl.cc | 14 +-- ...wser_renderer__host_render__view__host__impl.cc | 4 +- ...derer__host_render__widget__host__view__aura.cc | 14 +-- ...nderer__host_render__widget__host__view__aura.h | 4 +- ...patch-content_browser_utility__process__host.cc | 17 +++- .../patch-content_browser_utility__process__host.h | 6 +- ...r_utility__process__host__receiver__bindings.cc | 8 +- ...wser_web__contents_web__contents__view__aura.cc | 4 +- ...owser_zygote__host_zygote__host__impl__linux.cc | 18 ++-- www/chromium/files/patch-content_common_BUILD.gn | 15 +-- .../files/patch-content_common_features.cc | 6 +- www/chromium/files/patch-content_common_features.h | 6 +- ...-content_common_gpu__pre__sandbox__hook__bsd.cc | 5 +- ...content_common_gpu__pre__sandbox__hook__linux.h | 16 +++ .../files/patch-content_gpu_gpu__child__thread.cc | 6 +- www/chromium/files/patch-content_gpu_gpu__main.cc | 23 +++-- ...tent_public_browser_content__browser__client.cc | 4 +- ...ontent_public_browser_service__process__host.cc | 11 ++ ...atch-content_public_common_content__features.cc | 10 +- ...atch-content_public_common_content__switches.cc | 4 +- ...patch-content_public_common_content__switches.h | 6 +- .../patch-content_renderer_render__thread__impl.cc | 4 +- www/chromium/files/patch-content_shell_BUILD.gn | 4 +- ...atch-content_shell_app_shell__main__delegate.cc | 4 +- www/chromium/files/patch-content_test_BUILD.gn | 20 ---- .../files/patch-content_utility_services.cc | 33 +++--- ...ch_speech__recognition__sandbox__hook__linux.cc | 8 +- .../files/patch-content_utility_utility__main.cc | 35 ++++--- ...h-extensions_shell_app_shell__main__delegate.cc | 6 +- ...__buffer_common_gpu__memory__buffer__support.cc | 4 +- ...mand__buffer_service_dawn__context__provider.cc | 4 +- ..._command__buffer_service_gles2__cmd__decoder.cc | 4 +- ...service_shared__image_shared__image__manager.cc | 4 +- ...ommand__buffer_service_webgpu__decoder__impl.cc | 6 +- .../files/patch-gpu_config_gpu__finch__features.cc | 6 +- .../files/patch-gpu_ipc_service_gpu__init.cc | 18 ++-- .../files/patch-gpu_vulkan_vulkan__util.cc | 4 +- .../patch-media_audio_audio__input__device.cc | 4 +- .../files/patch-media_base_media__switches.cc | 37 ++++--- .../files/patch-media_base_media__switches.h | 14 +-- .../files/patch-media_base_video__frame.cc | 6 +- www/chromium/files/patch-media_base_video__frame.h | 6 +- ...h-media_capture_video_linux_fake__v4l2__impl.cc | 4 +- ..._linux_video__capture__device__factory__v4l2.cc | 40 ++++++-- ...capture_video_video__capture__device__client.cc | 4 +- ...u_chromeos_libyuv__image__processor__backend.cc | 6 +- ...pu_chromeos_mailbox__video__frame__converter.cc | 4 +- ...gpu_chromeos_native__pixmap__frame__resource.cc | 11 ++ ...a_gpu_chromeos_platform__video__frame__utils.cc | 4 +- ...-media_gpu_chromeos_video__decoder__pipeline.cc | 8 +- ...gpu_gpu__video__encode__accelerator__factory.cc | 4 +- ...dware__video__decoding__sandbox__hook__linux.cc | 12 +-- ...dware__video__encoding__sandbox__hook__linux.cc | 4 +- .../patch-media_gpu_vaapi_vaapi__video__decoder.cc | 4 +- .../patch-media_video_fake__gpu__memory__buffer.cc | 12 +-- ...ideo_gpu__memory__buffer__video__frame__pool.cc | 4 +- ...ia_video_video__encode__accelerator__adapter.cc | 6 +- www/chromium/files/patch-media_webrtc_helpers.cc | 11 +- .../files/patch-media_webrtc_helpers__unittests.cc | 26 +---- .../patch-mojo_public_tools_bindings_mojom.gni | 4 +- www/chromium/files/patch-net_BUILD.gn | 16 +-- www/chromium/files/patch-net_base_features.cc | 4 +- .../files/patch-net_cert_cert__verify__proc.h | 4 +- www/chromium/files/patch-net_dns_BUILD.gn | 8 +- .../files/patch-net_dns_address__sorter__posix.cc | 4 +- .../patch-net_socket_udp__socket__unittest.cc | 12 +-- ..._tools_cert__verify__tool_cert__verify__tool.cc | 4 +- .../patch-printing_print__settings__conversion.cc | 4 +- ...sandbox_print__backend__sandbox__hook__linux.cc | 6 +- ...ch-remoting_host_basic__desktop__environment.cc | 4 +- .../files/patch-remoting_host_client__session.cc | 4 +- ...patch-remoting_host_desktop__capturer__proxy.cc | 6 +- ...tch-remoting_host_desktop__capturer__wrapper.cc | 8 +- .../patch-remoting_host_remoting__me2me__host.cc | 38 +++---- .../files/patch-sandbox_policy_features.cc | 4 +- www/chromium/files/patch-sandbox_policy_features.h | 4 +- www/chromium/files/patch-sandbox_policy_sandbox.cc | 4 +- ...h-services_audio_audio__sandbox__hook__linux.cc | 4 +- ...ices_device_geolocation_location__arbitrator.cc | 6 +- www/chromium/files/patch-services_network_BUILD.gn | 4 +- .../patch-services_network_network__context.cc | 6 +- .../patch-services_network_network__context.h | 4 +- ...rvices_network_network__sandbox__hook__linux.cc | 4 +- .../patch-services_network_network__service.cc | 6 +- .../patch-services_network_network__service.h | 8 +- .../patch-services_network_public_cpp_BUILD.gn | 4 +- .../patch-services_network_public_mojom_BUILD.gn | 4 +- ...tch-services_screen__ai_public_cpp_utilities.cc | 29 ++++++ ..._ai_sandbox_screen__ai__sandbox__hook__linux.cc | 18 ++++ ...__ai_sandbox_screen__ai__sandbox__hook__linux.h | 16 +++ .../patch-skia_ext_SkMemory__new__handler.cpp | 13 ++- .../files/patch-third__party_angle_BUILD.gn | 8 +- ...tch-third__party_angle_src_libANGLE_Display.cpp | 4 +- ...erences_renderer__preferences__mojom__traits.cc | 4 +- ...ferences_renderer__preferences__mojom__traits.h | 4 +- ...blink_renderer_controller_blink__initializer.cc | 8 +- ...blink_renderer_core_exported_web__view__impl.cc | 4 +- ...arty_blink_renderer_core_layout_layout__view.cc | 6 +- ..._core_paint_object__paint__properties__sparse.h | 13 --- ...party_blink_renderer_core_paint_paint__layer.cc | 4 +- ..._audio_audio__renderer__mixer__manager__test.cc | 4 +- ...ty_blink_renderer_modules_ml_webnn_features.gni | 4 +- ...renderer_modules_ml_webnn_ml__graph__xnnpack.cc | 4 +- ...odules_webaudio_audio__worklet__thread__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 +- ...ion_partition__alloc__memory__dump__provider.cc | 16 ++- ...derer_platform_runtime__enabled__features.json5 | 25 ++--- ...platform_video__capture_video__capture__impl.cc | 8 +- ..._renderer_platform_wtf_text_text__codec__icu.cc | 18 ++++ ...ty_boringssl_src_util_generate__build__files.py | 6 +- .../files/patch-third__party_ffmpeg_BUILD.gn | 4 +- ..._party_ffmpeg_chromium_scripts_build__ffmpeg.py | 112 ++++++++++----------- ...rty_ffmpeg_chromium_scripts_robo__lib_config.py | 100 +++++++++--------- ...m_source_libaom_aom__ports_aarch64__cpudetect.c | 4 +- .../patch-third__party_libusb_src_libusb_libusb.h | 11 ++ ...arty_pdfium_core_fxge_linux_fx__linux__impl.cpp | 14 +-- ..._perfetto_src_tracing_core_clock__snapshots.cc} | 8 +- ...ird__party_skia_src_ports_SkMemory__malloc.cpp} | 12 +-- ...__party_speech-dispatcher_libspeechd__version.h | 4 +- ...-third__party_sqlite_src_amalgamation_sqlite3.c | 6 +- .../files/patch-third__party_unrar_src_crypt.cpp | 4 +- ...rd__party_webrtc_modules_audio__device_BUILD.gn | 4 +- ...__capture_linux_x11_x__server__pixel__buffer.cc | 20 ++-- ...ty_webrtc_rtc__base_physical__socket__server.cc | 65 ++++++++++-- .../files/patch-third__party_zlib_cpu__features.c | 28 +++--- .../files/patch-tools_gn_bootstrap_bootstrap.py | 11 ++ www/chromium/files/patch-tools_gn_build_gen.py | 6 +- ...op_os__exchange__data__provider__non__backed.cc | 8 +- ...-ui_base_ime_init_input__method__initializer.cc | 6 +- .../files/patch-ui_base_ui__base__features.cc | 6 +- .../files/patch-ui_base_x_x11__display__util.cc | 29 +++--- .../files/patch-ui_base_x_x11__shm__image__pool.cc | 28 +++++- .../files/patch-ui_color_color__provider__utils.cc | 4 +- .../files/patch-ui_compositor_compositor.cc | 4 +- .../files/patch-ui_compositor_compositor.h | 4 +- .../files/patch-ui_gfx_font__render__params.h | 6 +- .../files/patch-ui_gfx_linux_gbm__wrapper.cc | 4 +- www/chromium/files/patch-ui_gfx_switches.cc | 4 +- www/chromium/files/patch-ui_gfx_switches.h | 6 +- www/chromium/files/patch-ui_gl_BUILD.gn | 6 +- www/chromium/files/patch-ui_gl_gl__switches.cc | 6 +- ..._ozone_platform_wayland_common_wayland__util.cc | 4 +- ...ne_platform_wayland_host_wayland__connection.cc | 11 ++ ...tform_wayland_host_wayland__toplevel__window.cc | 4 +- ...atform_wayland_host_wayland__toplevel__window.h | 4 +- ...i_ozone_platform_wayland_host_wayland__window.h | 4 +- ...ne_platform_wayland_ozone__platform__wayland.cc | 19 +++- .../patch-ui_views_controls_textfield_textfield.cc | 12 +-- .../patch-ui_views_controls_textfield_textfield.h | 4 +- .../files/patch-ui_views_corewm_tooltip__aura.cc | 4 +- .../files/patch-ui_views_focus_focus__manager.cc | 6 +- ...__aura_desktop__window__tree__host__platform.cc | 4 +- ...e__host__platform__impl__interactive__uitest.cc | 4 +- www/chromium/files/patch-ui_views_widget_widget.cc | 6 +- 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 +- .../files/patch-v8_src_execution_isolate.cc | 10 +- www/chromium/files/patch-v8_src_flags_flags.cc | 8 +- ...tch-v8_src_trap-handler_handler-inside-posix.cc | 4 +- ...wasm_baseline_ia32_liftoff-assembler-ia32-inl.h | 30 +++--- 374 files changed, 2314 insertions(+), 1917 deletions(-) diff --git a/www/chromium/Makefile b/www/chromium/Makefile index dbbcf89863e2..f4243fab81f2 100644 --- a/www/chromium/Makefile +++ b/www/chromium/Makefile @@ -1,5 +1,5 @@ PORTNAME= chromium -PORTVERSION= 123.0.6312.122 +PORTVERSION= 124.0.6367.60 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 a8767f5d73f0..e61cc1be1d16 100644 --- a/www/chromium/distinfo +++ b/www/chromium/distinfo @@ -1,9 +1,9 @@ -TIMESTAMP = 1712941203 -SHA256 (chromium-123.0.6312.122.tar.xz) = c883f192af7cb76cf46de4044349645b0fb0b5c42a1c0f7950a24c825c17f885 -SIZE (chromium-123.0.6312.122.tar.xz) = 3488275388 -SHA256 (chrome-linux-123.0.6312.122-llvm17.profdata.tar.xz) = b039c11fc2d1df8c36dd511552f2f8f6e08e471b5b0792328c72cdfc291a49f6 -SIZE (chrome-linux-123.0.6312.122-llvm17.profdata.tar.xz) = 29800600 -SHA256 (chromium-123.0.6312.122-testdata.tar.xz) = f9075629ea813e184977811fd95c9edf3ca499d83af4e934706a0b344c874cbf -SIZE (chromium-123.0.6312.122-testdata.tar.xz) = 279875756 +TIMESTAMP = 1713531852 +SHA256 (chromium-124.0.6367.60.tar.xz) = ebd553527149cb8477a522df90acd6cea2388a6f431e2db589a0301df1d0cae2 +SIZE (chromium-124.0.6367.60.tar.xz) = 3432734968 +SHA256 (chrome-linux-124.0.6367.60-llvm17.profdata.tar.xz) = 6c4447dcd395f898bce3dbb7c5d361ee25f571f1c9c9c30767b169dec5ce1290 +SIZE (chrome-linux-124.0.6367.60-llvm17.profdata.tar.xz) = 30129116 +SHA256 (chromium-124.0.6367.60-testdata.tar.xz) = 42fcb4454bb703343843b7b7b4c7c28cbc9e0f885f5e38748268aeeb00ce9d29 +SIZE (chromium-124.0.6367.60-testdata.tar.xz) = 279785420 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 b7b12485ca76..e599afc55ff6 100644 --- a/www/chromium/files/patch-BUILD.gn +++ b/www/chromium/files/patch-BUILD.gn @@ -1,4 +1,4 @@ ---- BUILD.gn.orig 2024-03-22 08:19:40 UTC +--- BUILD.gn.orig 2024-04-19 13:02:56 UTC +++ BUILD.gn @@ -64,7 +64,7 @@ declare_args() { root_extra_deps = [] @@ -17,7 +17,7 @@ "//net:net_unittests", "//sandbox:sandbox_unittests", "//services:services_unittests", -@@ -428,7 +427,7 @@ group("gn_all") { +@@ -427,7 +426,7 @@ group("gn_all") { } } @@ -26,7 +26,7 @@ deps += [ "//third_party/breakpad:breakpad_unittests", "//third_party/breakpad:core-2-minidump", -@@ -628,6 +627,15 @@ group("gn_all") { +@@ -627,6 +626,15 @@ group("gn_all") { } } @@ -42,7 +42,7 @@ if (is_mac) { deps += [ "//third_party/breakpad:dump_syms", -@@ -674,7 +682,7 @@ group("gn_all") { +@@ -673,7 +681,7 @@ group("gn_all") { host_os == "win") { deps += [ "//chrome/test/mini_installer:mini_installer_tests" ] } @@ -51,7 +51,7 @@ deps += [ "//third_party/breakpad:symupload($host_toolchain)" ] } -@@ -1095,7 +1103,7 @@ if (use_blink && !is_cronet_build) { +@@ -1094,7 +1102,7 @@ if (use_blink && !is_cronet_build) { ] } @@ -60,7 +60,7 @@ script_test("chrome_wpt_tests") { script = "//third_party/blink/tools/run_wpt_tests.py" args = [ -@@ -1186,7 +1194,7 @@ if (use_blink && !is_cronet_build) { +@@ -1185,7 +1193,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)" ] } -@@ -1195,7 +1203,7 @@ if (use_blink && !is_cronet_build) { +@@ -1194,7 +1202,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)" ] } -@@ -1645,7 +1653,7 @@ group("chromium_builder_perf") { +@@ -1654,7 +1662,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 5ab4d3df8551..111ebfe4e412 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 2024-03-22 08:19:40 UTC +--- base/BUILD.gn.orig 2024-04-19 13:02:56 UTC +++ base/BUILD.gn -@@ -192,7 +192,7 @@ buildflag_header("ios_cronet_buildflags") { +@@ -200,7 +200,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" -@@ -1126,11 +1126,23 @@ component("base") { +@@ -1131,11 +1131,23 @@ component("base") { # Needed for 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" ] -@@ -1150,7 +1162,7 @@ component("base") { +@@ -1155,7 +1167,7 @@ component("base") { # Allow more direct string conversions on platforms with native utf8 # strings @@ -43,7 +43,7 @@ defines += [ "SYSTEM_NATIVE_UTF8" ] } -@@ -2106,6 +2118,22 @@ component("base") { +@@ -2113,6 +2125,22 @@ component("base") { ] } @@ -66,7 +66,7 @@ # iOS if (is_ios) { sources += [ -@@ -2241,6 +2269,31 @@ component("base") { +@@ -2249,6 +2277,33 @@ component("base") { } } @@ -74,6 +74,8 @@ + sources -= [ + "files/file_path_watcher_inotify.cc", + "files/scoped_file_linux.cc", ++ "process/set_process_title_linux.cc", ++ "process/set_process_title_linux.h", + "system/sys_info_linux.cc", + "process/process_iterator_linux.cc", + "process/process_linux.cc", @@ -98,7 +100,7 @@ if (use_blink) { sources += [ "files/file_path_watcher.cc", -@@ -2251,7 +2304,7 @@ component("base") { +@@ -2259,7 +2314,7 @@ component("base") { } if (dep_libevent) { @@ -107,7 +109,7 @@ } if (use_libevent) { -@@ -3027,7 +3080,7 @@ if (is_apple) { +@@ -3072,7 +3127,7 @@ if (is_apple) { } } @@ -116,24 +118,16 @@ # This test must compile with -fstack-protector-all source_set("stack_canary_linux_unittests") { testonly = true -@@ -3675,14 +3728,14 @@ test("base_unittests") { +@@ -3716,7 +3771,7 @@ test("base_unittests") { ] } - if (is_linux || is_chromeos) { -+ if ((is_linux || is_chromeos) && !is_bsd) { ++ if (!is_bsd && (is_linux || is_chromeos)) { sources += [ "debug/proc_maps_linux_unittest.cc", "files/scoped_file_linux_unittest.cc", - "nix/mime_util_xdg_unittest.cc", - ] - -- if (!is_nacl) { -+ if (!is_nacl && !is_bsd) { - deps += [ ":stack_canary_linux_unittests" ] - } - } -@@ -3701,7 +3754,7 @@ test("base_unittests") { +@@ -3743,7 +3798,7 @@ test("base_unittests") { "posix/file_descriptor_shuffle_unittest.cc", "posix/unix_domain_socket_unittest.cc", ] @@ -142,7 +136,7 @@ sources += [ "profiler/stack_base_address_posix_unittest.cc", "profiler/stack_copier_signal_unittest.cc", -@@ -3712,7 +3765,7 @@ test("base_unittests") { +@@ -3754,7 +3809,7 @@ test("base_unittests") { # Allow more direct string conversions on platforms with native utf8 # strings @@ -151,7 +145,7 @@ defines += [ "SYSTEM_NATIVE_UTF8" ] } -@@ -3980,7 +4033,7 @@ test("base_unittests") { +@@ -4022,7 +4077,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 b3403f22a21f..4846c23803fd 100644 --- a/www/chromium/files/patch-base_allocator_dispatcher_tls.h +++ b/www/chromium/files/patch-base_allocator_dispatcher_tls.h @@ -1,8 +1,8 @@ ---- base/allocator/dispatcher/tls.h.orig 2023-11-03 10:09:45 UTC +--- base/allocator/dispatcher/tls.h.orig 2024-04-19 13:02:56 UTC +++ base/allocator/dispatcher/tls.h -@@ -74,7 +74,7 @@ struct BASE_EXPORT MMapAllocator { - partition_alloc::PartitionPageSize(); - #elif BUILDFLAG(IS_APPLE) +@@ -76,7 +76,7 @@ struct BASE_EXPORT MMapAllocator { + constexpr static size_t AllocationChunkSize = 16384; + #elif BUILDFLAG(IS_ANDROID) && defined(ARCH_CPU_64_BITS) constexpr static size_t AllocationChunkSize = 16384; -#elif BUILDFLAG(IS_LINUX) && defined(ARCH_CPU_ARM64) +#elif (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(ARCH_CPU_ARM64) 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 90ec31009c98..d9e57c421e1a 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,7 +1,7 @@ ---- base/allocator/partition_allocator/partition_alloc.gni.orig 2024-03-22 08:19:40 UTC +--- base/allocator/partition_allocator/partition_alloc.gni.orig 2024-04-19 13:02:56 UTC +++ base/allocator/partition_allocator/partition_alloc.gni -@@ -30,7 +30,7 @@ if (is_nacl) { - } +@@ -33,7 +33,7 @@ if (is_nacl) { + use_large_empty_slot_span_ring = is_mac has_memory_tagging = - current_cpu == "arm64" && is_clang && !is_asan && (is_linux || is_android) @@ -9,7 +9,7 @@ declare_args() { # Causes all the allocations to be routed via allocator_shim.cc. Usually, -@@ -357,7 +357,7 @@ declare_args() { +@@ -351,7 +351,7 @@ declare_args() { # dependencies that use partition_allocator are compiled in AOSP against a # version of glibc that does not include pkeys syscall numbers. enable_pkeys = diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_BUILD.gn b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_BUILD.gn index d721d056c575..6c1f761e5029 100644 --- a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_BUILD.gn +++ b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_BUILD.gn @@ -1,6 +1,6 @@ ---- base/allocator/partition_allocator/src/partition_alloc/BUILD.gn.orig 2024-03-22 08:19:40 UTC +--- base/allocator/partition_allocator/src/partition_alloc/BUILD.gn.orig 2024-04-19 13:02:56 UTC +++ base/allocator/partition_allocator/src/partition_alloc/BUILD.gn -@@ -858,7 +858,7 @@ if (is_clang_or_gcc) { +@@ -851,7 +851,7 @@ if (is_clang_or_gcc) { configs -= [ "//build/config/compiler:enable_arc" ] } } diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_address__space__randomization.h b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_address__space__randomization.h index a2a366e6c264..76b0580b3f89 100644 --- a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_address__space__randomization.h +++ b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_address__space__randomization.h @@ -1,4 +1,4 @@ ---- base/allocator/partition_allocator/src/partition_alloc/address_space_randomization.h.orig 2024-02-23 21:04:38 UTC +--- base/allocator/partition_allocator/src/partition_alloc/address_space_randomization.h.orig 2024-04-19 13:02:56 UTC +++ base/allocator/partition_allocator/src/partition_alloc/address_space_randomization.h @@ -38,7 +38,7 @@ AslrMask(uintptr_t bits) { @@ -9,7 +9,7 @@ // We shouldn't allocate system pages at all for sanitizer builds. However, // we do, and if random hint addresses interfere with address ranges -@@ -126,7 +126,7 @@ AslrMask(uintptr_t bits) { +@@ -128,7 +128,7 @@ AslrMask(uintptr_t bits) { return AslrAddress(0x20000000ULL); } diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator.h b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator.h index 5ead2f4b8adb..2b8e04c5b547 100644 --- a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator.h +++ b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator.h @@ -1,6 +1,6 @@ ---- base/allocator/partition_allocator/src/partition_alloc/page_allocator.h.orig 2024-02-23 21:04:38 UTC +--- base/allocator/partition_allocator/src/partition_alloc/page_allocator.h.orig 2024-04-19 13:02:56 UTC +++ base/allocator/partition_allocator/src/partition_alloc/page_allocator.h -@@ -256,7 +256,7 @@ bool DecommitAndZeroSystemPages(void* address, +@@ -259,7 +259,7 @@ bool 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/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__constants.h b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__constants.h index 2296c9fc1e02..e3693583741a 100644 --- a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__constants.h +++ b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__constants.h @@ -1,38 +1,11 @@ ---- base/allocator/partition_allocator/src/partition_alloc/page_allocator_constants.h.orig 2024-02-23 21:04:38 UTC +--- base/allocator/partition_allocator/src/partition_alloc/page_allocator_constants.h.orig 2024-04-19 13:02:56 UTC +++ base/allocator/partition_allocator/src/partition_alloc/page_allocator_constants.h -@@ -25,7 +25,7 @@ - // elimination. +@@ -26,7 +26,7 @@ #define PAGE_ALLOCATOR_CONSTANTS_DECLARE_CONSTEXPR __attribute__((const)) --#elif (BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)) && defined(ARCH_CPU_ARM64) -+#elif (BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(ARCH_CPU_ARM64) + #elif (BUILDFLAG(IS_ANDROID) && defined(ARCH_CPU_64_BITS)) || \ +- (BUILDFLAG(IS_LINUX) && defined(ARCH_CPU_ARM64)) ++ ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(ARCH_CPU_ARM64)) // 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 -@@ -92,7 +92,7 @@ PageAllocationGranularityShift() { - return 14; // 16kB - #elif BUILDFLAG(IS_APPLE) && defined(ARCH_CPU_64_BITS) - return static_cast(vm_page_shift); --#elif (BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)) && defined(ARCH_CPU_ARM64) -+#elif (BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(ARCH_CPU_ARM64) - // 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); -@@ -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; --#elif (BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)) && defined(ARCH_CPU_ARM64) -+#elif (BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(ARCH_CPU_ARM64) - // arm64 supports 4kb, 16kb, and 64kb page sizes. Retrieve from or - // initialize cache. - size_t size = page_characteristics.size.load(std::memory_order_relaxed); -@@ -153,7 +153,7 @@ PA_ALWAYS_INLINE PAGE_ALLOCATOR_CONSTANTS_DECLARE_CONS - SystemPageSize() { - #if (BUILDFLAG(IS_APPLE) && defined(ARCH_CPU_64_BITS)) || \ - (BUILDFLAG(IS_ANDROID) && defined(ARCH_CPU_ARM64)) || \ -- (BUILDFLAG(IS_LINUX) && defined(ARCH_CPU_ARM64)) -+ ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(ARCH_CPU_ARM64)) - // This is literally equivalent to |1 << SystemPageShift()| below, but was - // separated out for 64-bit IS_APPLE and arm64 on Android/Linux to avoid << - // on a non-constexpr. diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__address__space.cc b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__address__space.cc deleted file mode 100644 index a5846514a528..000000000000 --- a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__address__space.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- base/allocator/partition_allocator/src/partition_alloc/partition_address_space.cc.orig 2024-02-23 21:04:38 UTC -+++ base/allocator/partition_allocator/src/partition_alloc/partition_address_space.cc -@@ -421,7 +421,7 @@ void PartitionAddressSpace::UninitThreadIsolatedPoolFo - } - #endif - --#if (BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)) && defined(ARCH_CPU_ARM64) -+#if (BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(ARCH_CPU_ARM64) - - PageCharacteristics page_characteristics; - diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__config.h b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__config.h index 979df47dcdc0..0bdfb80dfa47 100644 --- a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__config.h +++ b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__config.h @@ -1,4 +1,4 @@ ---- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_config.h.orig 2024-02-23 21:04:38 UTC +--- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_config.h.orig 2024-04-19 13:02:56 UTC +++ base/allocator/partition_allocator/src/partition_alloc/partition_alloc_config.h @@ -251,7 +251,7 @@ constexpr bool kUseLazyCommit = false; // On these platforms, lock all the partitions before fork(), and unlock after. @@ -11,10 +11,10 @@ // PartitionRoots at BeforeFork and to release at AfterFork. @@ -299,7 +299,7 @@ constexpr bool kUseLazyCommit = false; // - // Also enabled on ARM64 macOS, as the 16kiB pages on this platform lead to - // larger slot spans. --#if BUILDFLAG(IS_LINUX) || (BUILDFLAG(IS_MAC) && defined(ARCH_CPU_ARM64)) -+#if BUILDFLAG(IS_LINUX) || (BUILDFLAG(IS_MAC) && defined(ARCH_CPU_ARM64)) || BUILDFLAG(IS_BSD) + // Also enabled on ARM64 macOS and iOS, as the 16kiB pages on this platform lead + // to larger slot spans. +-#if BUILDFLAG(IS_LINUX) || (BUILDFLAG(IS_APPLE) && defined(ARCH_CPU_ARM64)) ++#if BUILDFLAG(IS_LINUX) || (BUILDFLAG(IS_APPLE) && defined(ARCH_CPU_ARM64)) || BUILDFLAG(IS_BSD) #define PA_CONFIG_PREFER_SMALLER_SLOT_SPANS() 1 #else #define PA_CONFIG_PREFER_SMALLER_SLOT_SPANS() 0 diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__constants.h b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__constants.h index e280ac740ef0..5214c122b0c5 100644 --- a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__constants.h +++ b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__constants.h @@ -1,21 +1,11 @@ ---- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_constants.h.orig 2024-02-23 21:04:38 UTC +--- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_constants.h.orig 2024-04-19 13:02:56 UTC +++ base/allocator/partition_allocator/src/partition_alloc/partition_alloc_constants.h -@@ -112,7 +112,7 @@ PartitionPageShift() { - } - #elif (BUILDFLAG(IS_APPLE) && defined(ARCH_CPU_64_BITS)) || \ - (BUILDFLAG(IS_ANDROID) && defined(ARCH_CPU_ARM64)) || \ -- (BUILDFLAG(IS_LINUX) && defined(ARCH_CPU_ARM64)) -+ ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(ARCH_CPU_ARM64)) - PA_ALWAYS_INLINE PAGE_ALLOCATOR_CONSTANTS_DECLARE_CONSTEXPR size_t - PartitionPageShift() { - return PageAllocationGranularityShift() + 2; -@@ -314,7 +314,8 @@ constexpr size_t kNumPools = kMaxPoolHandle - 1; +@@ -313,7 +313,7 @@ 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) || \ - BUILDFLAG(ENABLE_POINTER_COMPRESSION) -+ BUILDFLAG(ENABLE_POINTER_COMPRESSION) || \ -+ BUILDFLAG(IS_BSD) ++ BUILDFLAG(ENABLE_POINTER_COMPRESSION) || BUILDFLAG(IS_BSD) constexpr size_t kPoolMaxSize = 8 * kGiB; #else constexpr size_t kPoolMaxSize = 16 * kGiB; diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__page__constants.h b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__page__constants.h deleted file mode 100644 index ab01aa758242..000000000000 --- a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__page__constants.h +++ /dev/null @@ -1,11 +0,0 @@ ---- base/allocator/partition_allocator/src/partition_alloc/partition_page_constants.h.orig 2024-02-23 21:04:38 UTC -+++ base/allocator/partition_allocator/src/partition_alloc/partition_page_constants.h -@@ -16,7 +16,7 @@ namespace partition_alloc::internal { - // (1 << 12 or 1 << 14), as checked in PartitionRoot::Init(). And - // PartitionPageSize() is 4 times the OS page size. - static constexpr size_t kMaxSlotsPerSlotSpan = 4 * (1 << 14) / kSmallestBucket; --#elif (BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)) && defined(ARCH_CPU_ARM64) -+#elif (BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(ARCH_CPU_ARM64) - // System page size can be 4, 16, or 64 kiB on Linux on arm64. 64 kiB is - // currently (kMaxSlotsPerSlotSpanBits == 13) not supported by the code, - // so we use the 16 kiB maximum (64 kiB will crash). diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__root.cc b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__root.cc index 96ad9699c0a1..d5d4496bfa86 100644 --- a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__root.cc +++ b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__root.cc @@ -1,4 +1,4 @@ ---- base/allocator/partition_allocator/src/partition_alloc/partition_root.cc.orig 2024-02-23 21:04:38 UTC +--- base/allocator/partition_allocator/src/partition_alloc/partition_root.cc.orig 2024-04-19 13:02:56 UTC +++ base/allocator/partition_allocator/src/partition_alloc/partition_root.cc @@ -47,7 +47,7 @@ #include "wow64apiset.h" @@ -9,7 +9,7 @@ #include #endif -@@ -278,7 +278,7 @@ void PartitionAllocMallocInitOnce() { +@@ -279,7 +279,7 @@ void PartitionAllocMallocInitOnce() { return; } @@ -18,16 +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. -@@ -377,7 +377,7 @@ static size_t PartitionPurgeSlotSpan(PartitionRoot* ro - (PartitionPageSize() * kMaxPartitionPagesPerRegularSlotSpan) / - MinPurgeableSlotSize(); - #elif BUILDFLAG(IS_APPLE) || \ -- ((BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)) && \ -+ ((BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && \ - defined(ARCH_CPU_ARM64)) - // 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, -@@ -942,7 +942,7 @@ void PartitionRoot::Init(PartitionOptions opts) { +@@ -950,7 +950,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/chromium/files/patch-base_base__paths__posix.cc b/www/chromium/files/patch-base_base__paths__posix.cc index 1814d597ecf0..c343f2e93b3c 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 2023-11-03 16:09:21 UTC +--- base/base_paths_posix.cc.orig 2024-04-19 13:02:56 UTC +++ base/base_paths_posix.cc @@ -15,6 +15,7 @@ #include @@ -28,8 +28,8 @@ return true; #elif BUILDFLAG(IS_FREEBSD) - int name[] = { CTL_KERN, KERN_PROC, KERN_PROC_PATHNAME, -1 }; -- absl::optional bin_dir = StringSysctl(name, std::size(name)); -+ absl::optional bin_dir = StringSysctl({ CTL_KERN, KERN_PROC, KERN_PROC_PATHNAME, -1 }); +- std::optional bin_dir = StringSysctl(name, std::size(name)); ++ std::optional 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; @@ -73,7 +73,7 @@ + goto out; + } + -+ if ((kd = kvm_openfiles(NULL, NULL, NULL, KVM_NO_FILES, errbuf)) == NULL) ++ if ((kd = kvm_openfiles(NULL, NULL, NULL, (int)KVM_NO_FILES, errbuf)) == NULL) + goto out; + + if ((files = kvm_getfiles(kd, KERN_FILE_BYPID, cpid, diff --git a/www/chromium/files/patch-base_debug_debugger__posix.cc b/www/chromium/files/patch-base_debug_debugger__posix.cc index 447811370c92..58341a527cf1 100644 --- a/www/chromium/files/patch-base_debug_debugger__posix.cc +++ b/www/chromium/files/patch-base_debug_debugger__posix.cc @@ -1,6 +1,6 @@ ---- base/debug/debugger_posix.cc.orig 2022-04-21 18:48:31 UTC +--- base/debug/debugger_posix.cc.orig 2024-04-19 13:02:56 UTC +++ base/debug/debugger_posix.cc -@@ -35,6 +35,10 @@ +@@ -36,6 +36,10 @@ #include #endif @@ -27,7 +27,8 @@ if (sysctl(mib, std::size(mib), NULL, &info_size, NULL, 0) < 0) return -1; - mib[5] = (info_size / sizeof(struct kinfo_proc)); +- mib[5] = (info_size / sizeof(struct kinfo_proc)); ++ mib[5] = static_cast((info_size / sizeof(struct kinfo_proc))); + if ((info = reinterpret_cast(malloc(info_size))) == NULL) { + is_set = true; + being_debugged = false; diff --git a/www/chromium/files/patch-base_debug_elf__reader.cc b/www/chromium/files/patch-base_debug_elf__reader.cc index 32660158bfd6..b585334b9528 100644 --- a/www/chromium/files/patch-base_debug_elf__reader.cc +++ b/www/chromium/files/patch-base_debug_elf__reader.cc @@ -1,18 +1,13 @@ ---- base/debug/elf_reader.cc.orig 2023-09-13 12:11:42 UTC +--- base/debug/elf_reader.cc.orig 2024-04-19 13:02:56 UTC +++ base/debug/elf_reader.cc -@@ -78,6 +78,7 @@ size_t ReadElfBuildId(const void* elf_mapped_base, - bool found = false; - while (current_section < section_end) { - current_note = reinterpret_cast(current_section); -+#if !BUILDFLAG(IS_BSD) - if (current_note->n_type == NT_GNU_BUILD_ID) { - StringPiece note_name(current_section + sizeof(Nhdr), - current_note->n_namesz); -@@ -87,6 +88,7 @@ size_t ReadElfBuildId(const void* elf_mapped_base, - break; - } - } -+#endif +@@ -45,6 +45,10 @@ using Xword = Elf64_Xword; + + constexpr char kGnuNoteName[] = "GNU"; - size_t section_size = bits::AlignUp(current_note->n_namesz, 4u) + - bits::AlignUp(current_note->n_descsz, 4u) + ++#ifndef NT_GNU_BUILD_ID ++#define NT_GNU_BUILD_ID 3 ++#endif ++ + // Returns a pointer to the header of the ELF binary mapped into memory, or a + // null pointer if the header is invalid. Here and below |elf_mapped_base| is a + // pointer to the start of the ELF image. diff --git a/www/chromium/files/patch-base_debug_stack__trace.cc b/www/chromium/files/patch-base_debug_stack__trace.cc index 7d4f7d7b5772..729c3ad3e29a 100644 --- a/www/chromium/files/patch-base_debug_stack__trace.cc +++ b/www/chromium/files/patch-base_debug_stack__trace.cc @@ -1,21 +1,29 @@ ---- base/debug/stack_trace.cc.orig 2023-12-10 06:10:27 UTC +--- base/debug/stack_trace.cc.orig 2024-04-19 13:02:56 UTC +++ base/debug/stack_trace.cc -@@ -266,7 +266,9 @@ void StackTrace::Print() const { - } - - void StackTrace::OutputToStream(std::ostream* os) const { -+#if !BUILDFLAG(IS_BSD) - OutputToStreamWithPrefix(os, nullptr); -+#endif - } - - std::string StackTrace::ToString() const { -@@ -274,7 +276,7 @@ std::string StackTrace::ToString() const { +@@ -247,7 +247,7 @@ bool StackTrace::WillSymbolizeToStreamForTesting() { + // Symbols are not expected to be reliable when gn args specifies + // symbol_level=0. + return false; *** 11023 LINES SKIPPED ***