Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp179409imm; Tue, 3 Jul 2018 16:36:08 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLLUlPJSBB7TlOB5/tSiILWIaOZ76ePgqwdyXIQEUfvMQG9f3s1KIBXiOEIfJ06VTKlB41+ X-Received: by 2002:a63:a44a:: with SMTP id c10-v6mr26818456pgp.198.1530660968816; Tue, 03 Jul 2018 16:36:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530660968; cv=none; d=google.com; s=arc-20160816; b=nbpfnre4uZTrqHm1INp8Xl+Nc8rnYyGpxT8k76RH1jAxKnx3VSHHPYg13fiPpQ80rO +Ed0tHB65ekUswwdkcUaCcgsfZj1UDUNfmNkwtPGcNh3lfA8tKIP+fKqJXc+HvyRdWAA 3/1+KApX7faGvR4fYI7WtlzGaDaytA+aRkVyg2aJ7W33G1PjyO9bYpSnwk8lsa6x9olg p2tSqeE4Oh3ECYGEe1AurcznJvKP+jGYQN9eSm3DW2unmfgR5ybStJiNiSESLUnYnQ+f bpmZVNoqeo2sP0eucRYHrFqkwXBWuKDKBte1Z/lBh96l/mfv04/Y2MjgPtV98+nZ5jg4 NqZg== 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=AghIbnVb/XLoarKJLDeGiy1VGGbkXNPve5XpgZTOSXI=; b=M81K/dtiNvPwabDEzzB+Eqb+GQA8GwsJRFMYEuEARhr7i7Zeua/77Cmn21EI1DIFtb tTscafyk5fWcPOMJXi6HkplaMofkB8/OPe+WgSMvUyoLX2087+DVaG5UZ2frSsnodYX+ xuGTp7tEBvqWFjCAyTaAm86WxaO1g6DteXPLwhvrY4VILiGmiLxF7HcakQ8A8pxQ6AiK HPutupIDHSguvQSO8G16TsF1h/J70RUE3sZEp0fjQybDOpZGgdKpl3wdnUebfeiVycVd gQBZlkihjPIwvjPXyBfEr/UeTdaI0PfSbbiMwZYvXntUnhq50JJ+mXAhp7V+gNcXHCaK ivww== 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 f32-v6si2141030plf.38.2018.07.03.16.35.54; Tue, 03 Jul 2018 16:36:08 -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 S932181AbeGCXe7 (ORCPT + 99 others); Tue, 3 Jul 2018 19:34:59 -0400 Received: from mail-oi0-f65.google.com ([209.85.218.65]:43049 "EHLO mail-oi0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753493AbeGCXeq (ORCPT ); Tue, 3 Jul 2018 19:34:46 -0400 Received: by mail-oi0-f65.google.com with SMTP id b15-v6so7204600oib.10 for ; Tue, 03 Jul 2018 16:34:46 -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=AghIbnVb/XLoarKJLDeGiy1VGGbkXNPve5XpgZTOSXI=; b=NXvnua0XtxemDl42S/wKsZ2AHZ0MQXtEcyzjGm9BaRbIm6ZvvgPRzwvkr1DxxGXroz SfHE0FU9b2YelFlDYkB8z0dLQ6U8xY1M79Rw+Kn27iJtxFPfyyiVXMt3LfK5j8XA856P HHSMJbCN7ZoaEKZiLUR2fsXAgmfl6+QjU2/tTOl4L5tiJRztfdAbYJkK6E4s/XSkfXXx JyyYuvxPh05lqTKzNJ2u/aKh3z7ZYAX/T1OuX4Su11a/WymSpU501OiExkAMvVtWH3iT DBXa8e50hICRNHDD6GU8dEhqGnjOXxtKoZ/XDAF+u73p4+t55U25ZhiSK6NhjsfXJu4e fRng== X-Gm-Message-State: APt69E2QSYHgb50kSdYOvBOjVHsVJ7K7tGjV9sNoS/FJVLxQhPQHFm44 REVNguOqx5BM2ZK7Tys8iz5DoQ== X-Received: by 2002:aca:4d56:: with SMTP id a83-v6mr21592669oib.205.1530660886024; Tue, 03 Jul 2018 16:34:46 -0700 (PDT) Received: from labbott-redhat.redhat.com ([2601:602:9802:a8dc::f0c1]) by smtp.gmail.com with ESMTPSA id h22-v6sm1828702otc.25.2018.07.03.16.34.43 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 03 Jul 2018 16:34:44 -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: [PATCHv5 4/4] arm64: Add build salt to the vDSO Date: Tue, 3 Jul 2018 16:34:30 -0700 Message-Id: <20180703233430.14416-5-labbott@redhat.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180703233430.14416-1-labbott@redhat.com> References: <20180703233430.14416-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. Signed-off-by: Laura Abbott --- v5: I was previously focused on x86 only but since powerpc gave a patch, I figured I would do arm64 since the changes were also fairly simple. --- 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..2c429dfd3f45 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