From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5FA76158086 for ; Sat, 20 Nov 2021 10:08:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 20E67E07EA; Sat, 20 Nov 2021 10:08:44 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AE80DE07EA for ; Sat, 20 Nov 2021 10:08:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3EFA8343073 for ; Sat, 20 Nov 2021 10:08:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9F7CD1B8 for ; Sat, 20 Nov 2021 10:08:38 +0000 (UTC) From: "Stephan Hartmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Stephan Hartmann" Message-ID: <1637402880.2415a3c94f322bf84d310cf985b6e6081683ff92.sultan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/chromium/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-client/chromium/files/chromium-glibc-2.34.patch X-VCS-Directories: www-client/chromium/files/ X-VCS-Committer: sultan X-VCS-Committer-Name: Stephan Hartmann X-VCS-Revision: 2415a3c94f322bf84d310cf985b6e6081683ff92 X-VCS-Branch: master Date: Sat, 20 Nov 2021 10:08:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b1e2e252-8bc6-41c3-92ae-b932a90cd180 X-Archives-Hash: d6e22aa3884ff54b91925943cfe67a16 commit: 2415a3c94f322bf84d310cf985b6e6081683ff92 Author: Stephan Hartmann gentoo org> AuthorDate: Sat Nov 20 10:08:00 2021 +0000 Commit: Stephan Hartmann gentoo org> CommitDate: Sat Nov 20 10:08:00 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2415a3c9 www-client/chromium: add workaround for sandbox with glibc-2.34 Bug: https://bugs.gentoo.org/823857 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Stephan Hartmann gentoo.org> .../chromium/files/chromium-glibc-2.34.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/www-client/chromium/files/chromium-glibc-2.34.patch b/www-client/chromium/files/chromium-glibc-2.34.patch index 0cb85b2ca516..64c03a6adae6 100644 --- a/www-client/chromium/files/chromium-glibc-2.34.patch +++ b/www-client/chromium/files/chromium-glibc-2.34.patch @@ -26,3 +26,25 @@ index ca353c4..5cdabcf 100644 // Only set an alternative stack if there isn't already one, or if the current // one is too small. +diff --git a/sandbox/linux/services/credentials.cc b/sandbox/linux/services/credentials.cc +index ca6b595..1c1ee42 100644 +--- a/sandbox/linux/services/credentials.cc ++++ b/sandbox/linux/services/credentials.cc +@@ -11,6 +11,7 @@ + #include + #include + #include ++#include + #include + #include + #include +@@ -100,7 +101,8 @@ bool ChrootToSafeEmptyDir() { + // TODO(crbug.com/1247458) Broken in MSan builds after LLVM f1bb30a4956f. + clone_flags |= CLONE_VM | CLONE_VFORK | CLONE_SETTLS; + +- char tls_buf[PTHREAD_STACK_MIN] = {0}; ++ char tls_buf[PTHREAD_STACK_MIN]; ++ memset(tls_buf, 0, PTHREAD_STACK_MIN); + tls = tls_buf; + #endif +