From patchwork Tue Jul 20 20:55:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 1507753 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256 header.s=default header.b=FrONljVw; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (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 ozlabs.org (Postfix) with ESMTPS id 4GTrcD2pcHz9sSs for ; Wed, 21 Jul 2021 06:56:44 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 00B92398D410 for ; Tue, 20 Jul 2021 20:56:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 00B92398D410 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1626814602; bh=bDicYTXNNiU1CYS6yFebJr2GKfi/v+Yc5hPemErtJ/8=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=FrONljVw4DXT04jPsieBzKhZKnrP+XQYsJCNFtL3dNDuZCyKKAj5e4/H0rWsXMT4s VstMEjYRgo153eMQLLFnykSIcrLz/4NDntp5Hij/PviWY8LJk8gYOgE286qtUjlWWh loVgLjIH5AcBRot6a5k2O1wX75LBLO729mLn9PeA= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by sourceware.org (Postfix) with ESMTPS id D06E53851C39 for ; Tue, 20 Jul 2021 20:55:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org D06E53851C39 Received: by mail-pj1-x1029.google.com with SMTP id v18-20020a17090ac912b0290173b9578f1cso2508747pjt.0 for ; Tue, 20 Jul 2021 13:55:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=bDicYTXNNiU1CYS6yFebJr2GKfi/v+Yc5hPemErtJ/8=; b=aFzoKBzopGbzSYd+xTquAtXqGcsmiqiRBlmdzIsTXaSP/OdfIPjLH0GHDJ/m4C76Qr MS9Me+aEgGqChGzwjwTSisknmw9xO12S+LFg2lZYzXWjXbQObWXWQJFBNgT0tpChJPe2 xKz5AboLZR4QoMN7dBu5UsJZv/wnz7qlOzntinwq2DjSHeN6EeE7ssRxsm7GRWX6Qn1e o1xbZkq8G4vP3G1pJnXmGLu1roQ6/6vvvjGtugK+5koP5rstjmkYaTgO+x5h2CEGrZds 3TFidrfDNHUbaebbK8qAmKCrf/cS2HvlpzCqO6Zq6lNOQfhd2hiu/fi9ROWUajTGX6ue nhVg== X-Gm-Message-State: AOAM5322mHvbGpFB6qGCqxk/V3Lb0lR7iplRa8svWahOcPMCtvKdWvQ5 VqgiXV59p30K3q56YQ5iFcXPQBWpT24= X-Google-Smtp-Source: ABdhPJy2Cx3tTS7Y5d/0KNKTpfGS9laaX6xsbmi+dv5w5NlEhEl68dZmwinInc/TU1C25tSIUOT8yw== X-Received: by 2002:a17:90a:4988:: with SMTP id d8mr31263565pjh.85.1626814518871; Tue, 20 Jul 2021 13:55:18 -0700 (PDT) Received: from gnu-cfl-2.localdomain ([172.58.35.147]) by smtp.gmail.com with ESMTPSA id t6sm3600901pjo.4.2021.07.20.13.55.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Jul 2021 13:55:18 -0700 (PDT) Received: from gnu-tgl-2.localdomain (gnu-tgl-2 [192.168.1.34]) by gnu-cfl-2.localdomain (Postfix) with ESMTPS id B5E94C0592; Tue, 20 Jul 2021 13:55:16 -0700 (PDT) Received: from gnu-tgl-2.lan (localhost [IPv6:::1]) by gnu-tgl-2.localdomain (Postfix) with ESMTP id 9E99D3004C9; Tue, 20 Jul 2021 13:55:06 -0700 (PDT) To: gcc-patches@gcc.gnu.org Subject: [PATCH 4/4] libsanitizer: Bump asan/tsan versions Date: Tue, 20 Jul 2021 13:55:06 -0700 Message-Id: <20210720205506.296273-5-hjl.tools@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210720205506.296273-1-hjl.tools@gmail.com> References: <20210720205506.296273-1-hjl.tools@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-3034.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: "H.J. Lu via Gcc-patches" From: "H.J. Lu" Reply-To: "H.J. Lu" Cc: Jakub Jelinek Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Sender: "Gcc-patches" Bump asan/tsan versions for the upstream commit: commit acf0a6428681dccac803984bfbb1e3e54248f090 Author: Ilya Leoshkevich Date: Fri Jul 2 02:42:38 2021 +0200 [sanitizer] Fix __sanitizer_kernel_sigset_t endianness issue setuid(0) hangs on SystemZ under TSan because TSan's BackgroundThread ignores SIGSETXID. This in turn happens because internal_sigdelset() messes up the mask bits on big-endian system due to how __sanitizer_kernel_sigset_t is defined. Commit d9a1a53b8d80 ("[ESan] [MIPS] Fix workingset-signal-posix.cpp on MIPS") fixed this for MIPS by adjusting the __sanitizer_kernel_sigset_t definition. Generalize this by defining __SANITIZER_KERNEL_NSIG based on kernel's _NSIG and using uptr[] for __sanitizer_kernel_sigset_t.sig on all platforms. Reviewed By: dvyukov Differential Revision: https://reviews.llvm.org/D105629 which changed __sanitizer_kernel_sigset_t and changed the ABI for function void __sanitizer_syscall_post_impl_rt_sigaction (long int, long int, const __sanitizer::__sanitizer_kernel_sigaction_t*, __sanitizer::__sanitizer_kernel_sigaction_t*, SIZE_T); * asan/libtool-version: Bump version. * tsan/libtool-version: Likewise. --- libsanitizer/asan/libtool-version | 2 +- libsanitizer/tsan/libtool-version | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libsanitizer/asan/libtool-version b/libsanitizer/asan/libtool-version index c509757b572..2cd4546d1b9 100644 --- a/libsanitizer/asan/libtool-version +++ b/libsanitizer/asan/libtool-version @@ -3,4 +3,4 @@ # a separate file so that version updates don't involve re-running # automake. # CURRENT:REVISION:AGE -6:0:0 +7:0:0 diff --git a/libsanitizer/tsan/libtool-version b/libsanitizer/tsan/libtool-version index 11974598ac5..79dfeeea15f 100644 --- a/libsanitizer/tsan/libtool-version +++ b/libsanitizer/tsan/libtool-version @@ -3,4 +3,4 @@ # a separate file so that version updates don't involve re-running # automake. # CURRENT:REVISION:AGE -0:0:0 +1:0:0