Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp1220927imm; Thu, 5 Jul 2018 17:51:26 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdAPOFHcifMGHV9tzQ9TyV6HgJ42PJbjx0vh1tBXAJfgAK4BebbZAUZLtOH+0r8dTbyQBqe X-Received: by 2002:a65:6397:: with SMTP id h23-v6mr7486633pgv.380.1530838285954; Thu, 05 Jul 2018 17:51:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530838285; cv=none; d=google.com; s=arc-20160816; b=u8porVqTNZPGqf/GwMhkfqbepdK/8FCv63kUpu+abunlES/tSGYtKETX5EwgFOTqjK SuiGw95Jb7acBoWbZccrhYB2j5aZ1ey6ZgfMj/5ZhJa1jzvXKJ/KcX3w0G8SbuTEOH78 Aajq+tPMEwVkvSiIdsOmZP8tI+STDg9MvZAB2P7ZgE1iEnBKsGd7giCiId49KpMdQ36w TIn+1VU/xfD6CuEnHSXLH0NPyfqZ1v1JKJy3riApd4oe/XLgTfwcpMO8HNxWg/xabq9E q8QT/+yxIjB9L2qFnvCQ9L5pjZFGnYiGic8dRSgNmsRC4f99efpX0ytxFuTJMS8OXH1b B/xg== 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=PFn9mkwdccGrhASv75koBIRMBltlMYl7BIJMUgrwj/0=; b=v/lT7hve4eWO5pYr6XEfkXVcooo+2KbRkYk4m4p7UnU63if+5rWhQTSJqagz7f9ZLs q1UcqidNDxrZdGrKZDV5QBN04iB7mtBhclMQD94ZmyXeNOmRb9TNLoDnx7aPC/XCnRXM MLgsbMy+yWq5qpR+khhxdUTpFCgFn/d1NS9aYDNttpIQHbkjd/afvog2TP64a3t16SC8 yGN+3J6b6qtbzVdJqQSXfbtQ1td6idO9wZktGkZ06i5PrUU0JCxxGljMJBtEuLThh+wr SW5mNPQI4Y+slnETWQuPuQEi6RtL2lT+EFb38GSC2MHmoYBBUCdhnenTpeJ4n+6W7cAK +bEA== 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 h4-v6si6818070pgm.441.2018.07.05.17.51.12; Thu, 05 Jul 2018 17:51:25 -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 S1753878AbeGFAuD (ORCPT + 99 others); Thu, 5 Jul 2018 20:50:03 -0400 Received: from mail-qk0-f196.google.com ([209.85.220.196]:40038 "EHLO mail-qk0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753829AbeGFAuA (ORCPT ); Thu, 5 Jul 2018 20:50:00 -0400 Received: by mail-qk0-f196.google.com with SMTP id b129-v6so5500820qke.7 for ; Thu, 05 Jul 2018 17:50:00 -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=PFn9mkwdccGrhASv75koBIRMBltlMYl7BIJMUgrwj/0=; b=E1b+YhkBItZjYSjcy5dSrht65mANOaHSmfzuBrKGaHA/Qf7SsMpb2eIbAxG/O26U9u QYb9fnWeXmRDzpdghOABu2HG8rEI6eNG8gcms46yePuuHXbcoEsCmW5d+aaZFbNY6cMx IGP/TgzosAv7vOLYZTgj86Nv90nf9v2DAitc9EmJ5AkAd/8zMj1Dwc+1/HTwcb5gpesO A4Uy4pgWI3iUF0x3lj5C1C8jjds0OMfYodCnFTx05BIBi5i4mhUFsSHQycWtpk4zqloO rQApnds3INQ/wHGM67sOWMrpnCCPbufh0j5APmn+qbD/UphvxTy1JI+jahGvrhssAdaA i86w== X-Gm-Message-State: APt69E2Z2szqnI7CmGi5EePx72vyp7+dmHUtywujN9jPaJWNrf7LRMv0 CA1762JE1I6YzFIt+jThrkFpUA== X-Received: by 2002:ae9:dc05:: with SMTP id q5-v6mr1842490qkf.332.1530838199726; Thu, 05 Jul 2018 17:49:59 -0700 (PDT) Received: from labbott-redhat.redhat.com ([2601:602:9802:a8dc::f0c1]) by smtp.gmail.com with ESMTPSA id q67-v6sm4675205qkb.16.2018.07.05.17.49.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 05 Jul 2018 17:49:58 -0700 (PDT) From: Laura Abbott To: mjw@fedoraproject.org, "H . J . Lu" , Masahiro Yamada , Catalin Marinas , Will Deacon Cc: Laura Abbott , Andy Lutomirski , Linus Torvalds , X86 ML , linux-kernel@vger.kernel.org, Nick Clifton , Cary Coutant , linux-kbuild@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Michael Ellerman , linux-arm-kernel@lists.infradead.org Subject: [PATCHv6 4/4] arm64: Add build salt to the vDSO Date: Thu, 5 Jul 2018 17:49:40 -0700 Message-Id: <20180706004940.32587-5-labbott@redhat.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180706004940.32587-1-labbott@redhat.com> References: <20180706004940.32587-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 needs to have a unique build id in a similar manner to the kernel and modules. Use the build salt macro. Acked-by: Will Deacon Signed-off-by: Laura Abbott --- v6: Remove the semi-colon, Ack from Will --- arch/arm64/kernel/vdso/note.S | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/kernel/vdso/note.S b/arch/arm64/kernel/vdso/note.S index b82c85e5d972..e20483b104d9 100644 --- a/arch/arm64/kernel/vdso/note.S +++ b/arch/arm64/kernel/vdso/note.S @@ -22,7 +22,10 @@ #include #include #include +#include ELFNOTE_START(Linux, 0, "a") .long LINUX_VERSION_CODE ELFNOTE_END + +BUILD_SALT -- 2.17.1