Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp641072ybt; Wed, 24 Jun 2020 07:47:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyAwl00dA6mdPRKs3gU5gST2XCloV0JaSiEizICJ6fo+4VnDnEBGePTTsLNFrvuC6tdVGos X-Received: by 2002:a17:906:eb95:: with SMTP id mh21mr9194036ejb.235.1593010042799; Wed, 24 Jun 2020 07:47:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593010042; cv=none; d=google.com; s=arc-20160816; b=VmJ8Cy9g+2TppQODvN+QRa2TnYLig7BbMkcPAqHuy4h+mf8S3CXWse/WpygAV3NuH5 WS0orS6ZH7OvAZtn48FAWQSgxHm/c0pdlINX71jZbY4PhsP+7VSHHaLYrBCZ9icnmpnw 3DxJXgDYMmNtPanHj5y7rV6KRaC8OBly57Nb7uv1UL2G11OqZ5stW5hGvOATcqWlHjNl MrkggtVWbKl40zueq1QMUdoMx7LPTfj7unespXw8W3qB9sO0H5anjMbpKuweXRb/4Y2K CFQrhRur9ZLtdr0XuWOT7A/ZnMutypklBmr0sCzBagiovuqMp6Jj2gmbFMRnjcG9bNev MngA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=YGEb31AttHeA5YUH1Hedg3SW+2stgVlj3nYXGGbAchU=; b=ZRmhg/7R+K0ZzhIqIKDcPcNy01I6e07gNqZ547+t+sJne3AYsTLY0mMyl5qRvc7lIV 2RXrdAFiCHofrHUD7E4asROMeVtjyFSlsEqkP5dgGpLzf4kDZ62B0q0aRz9Yqj14FspV 53rBeWz8ZmYjfPtesSwJ3Rt0ntXqqbrOpWbME3xCen8Cq36TsREUjRNRyLiafcwS2FHJ hiOy2kHEFkmuoazS5wurUHWCbLcukNiBeTa7uvjtBBp+XTjMv56OoT0CdR6kaIcL5uNu GkXQbca8XLcG39ppBN+UexSbwBwF86SroOdSK7xhKycElxaLtIiZMP7q532fHtDqtnb5 YtEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=UcuWUiaL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k19si8291164ejc.167.2020.06.24.07.46.58; Wed, 24 Jun 2020 07:47:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=UcuWUiaL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391228AbgFXOqV (ORCPT + 99 others); Wed, 24 Jun 2020 10:46:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389253AbgFXOqT (ORCPT ); Wed, 24 Jun 2020 10:46:19 -0400 Received: from mail-pl1-x641.google.com (mail-pl1-x641.google.com [IPv6:2607:f8b0:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A60EC0613ED for ; Wed, 24 Jun 2020 07:46:19 -0700 (PDT) Received: by mail-pl1-x641.google.com with SMTP id s14so1141258plq.6 for ; Wed, 24 Jun 2020 07:46:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=YGEb31AttHeA5YUH1Hedg3SW+2stgVlj3nYXGGbAchU=; b=UcuWUiaLtS6hQwB9KxUy3Z9bv7Nks62Tpl6fbvA8uqD2/B7av9kURZB/L+B445OT1t NvQdGODIDeocCPW6jfNCyl35CogPsG3G8IknHXCfJJW3FYZfWX6G7dhUvusVDuWMLuDl qZYw9sQff/knmaH1usdfgE0F1lzEuWXKIIt4c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=YGEb31AttHeA5YUH1Hedg3SW+2stgVlj3nYXGGbAchU=; b=gBIWsG+uxsmeMVhTRAc0ri7OTbtQ8it81OvRX/A7d++uGBdlBWq8Cl/mLj1GHHQHVl oXr1EM0mQrTdlGeCsSdUsUZg1JiEpDO/Yf9e/o+Ywio2U9KIEGZHiQIievcPT0tl3lwD Fw69QIoY5oltmcJn+YoPtj4tfHAlzEzm3JENazHt5Rt+QpMR00gD0mC8rBycFOx36duk FvM0ATroRtVwe4sHTpf56KCoHM3VHvvKWfpROvW1iRJHmtpFUHzfenHqqu8Gs9mlOIPr Zfbs8ea9N/J05pi2VGHbGqCJAdn4cDdGoFAKXCB6nWe7s3h0lKsSg8YSAZjmiSkaRMks +rng== X-Gm-Message-State: AOAM530y6Bkqm6ECeZIeykRtSOS3KTWG5GJS47MrMsqkXE5SkgdAvFZg 52pZhQxV+/N5HBnhq4nP0/4hrA== X-Received: by 2002:a17:902:8681:: with SMTP id g1mr27995114plo.161.1593009978891; Wed, 24 Jun 2020 07:46:18 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id c9sm20548752pfp.100.2020.06.24.07.46.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jun 2020 07:46:18 -0700 (PDT) Date: Wed, 24 Jun 2020 07:46:17 -0700 From: Kees Cook To: Alexander Popov Cc: Jann Horn , Emese Revfy , Miguel Ojeda , Masahiro Yamada , Michal Marek , Andrew Morton , Masahiro Yamada , Thiago Jung Bauermann , Luis Chamberlain , Jessica Yu , Sven Schnelle , Iurii Zaikin , Catalin Marinas , Will Deacon , Vincenzo Frascino , Thomas Gleixner , Peter Collingbourne , Naohiro Aota , Alexander Monakov , Mathias Krause , PaX Team , Brad Spengler , Laura Abbott , Florian Weimer , kernel-hardening@lists.openwall.com, linux-kbuild@vger.kernel.org, x86@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, gcc@gcc.gnu.org, notify@kernel.org Subject: Re: [PATCH v2 3/5] arm64: vdso: Don't use gcc plugins for building vgettimeofday.c Message-ID: <202006240745.19E4F8BDEA@keescook> References: <20200624123330.83226-1-alex.popov@linux.com> <20200624123330.83226-4-alex.popov@linux.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200624123330.83226-4-alex.popov@linux.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 24, 2020 at 03:33:28PM +0300, Alexander Popov wrote: > Don't use gcc plugins for building arch/arm64/kernel/vdso/vgettimeofday.c > to avoid unneeded instrumentation. > > Signed-off-by: Alexander Popov It looks like Will has taken this already, but: Acked-by: Kees Cook -- Kees Cook