Received: by 10.213.65.68 with SMTP id h4csp1824977imn; Thu, 29 Mar 2018 11:43:45 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/Q/Z7QG8eBsZnJuFFrkV6BXIZ92C0Qfk1zePBs3sQJ6TPYPsoWE5njv8JBnkstv74hSq7Y X-Received: by 2002:a17:902:143:: with SMTP id 61-v6mr9643347plb.345.1522349025164; Thu, 29 Mar 2018 11:43:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522349025; cv=none; d=google.com; s=arc-20160816; b=eo4Z4yymNtQjGh7Ak+PyYEa/9Dhvq3ieWK+Pj+tGNUh9if/IN6i6aFfCvG5TC3ar7F XLVg0m3/yRQWZ+jv214jZPCuqAN+gS/7Ox1+VgTe9zrKsaWp17ie1O/LgWJfwHcxNr/s v+sn2v1VFE6SNcmFzvmQpFcDCOmyMOBhtwqnJhJqWljUnRTgm46g00QGzfw/dVNbLS04 1jJt2U+DHH5tR+9orwd15wZdcOyEVbRL1Zi2asW4hRDGQQE/oIOVnTFPt7RHd/rZt0lm NtGmxIKvYtxFQl08qRacs4ia8kR7QZ30x57xOVroganrsXC+o6/qAtEm2aB46SiMe+UV LF5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=I5p1pXFvwN/qDYvjgHIf+MljBYGAAu12lm/Jj/aDCkY=; b=tgjcDkjvENzFpHpXj2OSwpzsC5xkVT9JtSHUAqRnMoKM62BhMgKTnh+UABBXKbj9da gon/H/N4U5WOui53LwsX3fNoI+JfGzXhoHF7MSGqM80QEYHa/++7mHKoWYhAGNLgmrcn CtWKnE1Rd8Iw9wApX08hoqhM/i/xmVvz0FuuIvX8XZYEi/fUpzFQMJrW2P3+At4GuXkH lYBIJGUCRyH+gyZt71+iV62HvLeWEkHJFzMrGXqMrhI7Bko5kCl67HWiqxpYv0RxkhJs tHKVKWFrgXqmmUee+zh3JM9Q+nedxHrTSaS2Xdw2GlyqtU2O8GdeaLFEeoH2+IePdD0c 2TaQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w4-v6si3849583plq.336.2018.03.29.11.43.31; Thu, 29 Mar 2018 11:43:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752135AbeC2SB1 (ORCPT + 99 others); Thu, 29 Mar 2018 14:01:27 -0400 Received: from mail-pg0-f65.google.com ([74.125.83.65]:40406 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751187AbeC2SBY (ORCPT ); Thu, 29 Mar 2018 14:01:24 -0400 Received: by mail-pg0-f65.google.com with SMTP id g8so3544530pgv.7 for ; Thu, 29 Mar 2018 11:01:24 -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; bh=I5p1pXFvwN/qDYvjgHIf+MljBYGAAu12lm/Jj/aDCkY=; b=p2rbaOp3TZjg3KO+3BYqU4oVm48plREU4w5n8EiZq3mrLn/RxzF0zZ+wcMubkXRIi0 2K3TzDvCArwcURtMqAOQf5BjtZeXGGHIHFddtrc84V0q16WHDPLdPyVoONbFl1Vf0uKJ EyFC1W+aOleGb/+lCtbQP99dOEuSB6bLMLBMeBvrVxgDlTDsz/6j0FRmHcZNVORNLMeX /YX7fYzAWO4/k8F9gruXVbyQXoP7Kpu6ct7MRiRrJuPJBXhMJl/72vr5lWIzzw3vihAX QWc5Cd1Fjxud2U4l/rkVIpAoMXUlE6V+nkPTwSLEQuOfJ01ZcZUnkqVMcOU9NKkqcYE0 8hcw== X-Gm-Message-State: AElRT7ExOAzAqI0isP3O5STW+U7hl03/JWzHxNScr0auJaoWkq/Q9UDf 13YRz8zs9qTSbSKM/bT6ZTk5ok+Ihig= X-Received: by 2002:a17:902:1a4:: with SMTP id b33-v6mr9406498plb.303.1522346483848; Thu, 29 Mar 2018 11:01:23 -0700 (PDT) Received: from localhost.localdomain.utopia.net ([2601:602:9802:a8dc::19fb]) by smtp.gmail.com with ESMTPSA id m21sm4762432pgn.0.2018.03.29.11.01.21 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 29 Mar 2018 11:01:22 -0700 (PDT) From: Laura Abbott To: Andy Lutomirski , mjw@fedoraproject.org, "H . J . Lu" , Masahiro Yamada Cc: Laura Abbott , Linus Torvalds , X86 ML , linux-kernel@vger.kernel.org, Nick Clifton , Cary Coutant , linux-kbuild@vger.kernel.org Subject: [RFCv2 PATCH 3/3] x86/vdso: Add build salt to the vDSO Date: Thu, 29 Mar 2018 11:01:12 -0700 Message-Id: <20180329180112.11055-4-labbott@redhat.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180329180112.11055-1-labbott@redhat.com> References: <20180329180112.11055-1-labbott@redhat.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The vDSO is linked separately from the kernel and modules. Ensure it picks up the comment section, if available. Signed-off-by: Laura Abbott --- v2: Updated name --- arch/x86/entry/vdso/vdso-layout.lds.S | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/x86/entry/vdso/vdso-layout.lds.S b/arch/x86/entry/vdso/vdso-layout.lds.S index acfd5ba7d943..7c78dd39aae8 100644 --- a/arch/x86/entry/vdso/vdso-layout.lds.S +++ b/arch/x86/entry/vdso/vdso-layout.lds.S @@ -1,5 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0 */ #include +#include /* * Linker script for vDSO. This is an ELF shared object prelinked to @@ -95,6 +96,8 @@ SECTIONS .altinstructions : { *(.altinstructions) } :text .altinstr_replacement : { *(.altinstr_replacement) } :text + BUILD_ID_SALT + /DISCARD/ : { *(.discard) *(.discard.*) -- 2.16.2