From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A6FCFC433EF for ; Tue, 19 Apr 2022 11:02:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=qZ2VMhvHRQZTAsPb3aEMG7ujRyiIzYmn0mLAsQH90jQ=; b=tH0wUTeMbs76pK uhYciurIy6s3Bsa40V/UC4duA4HyuUi0GywTGQjX6WNoZ06wqOOba/K7eA2/yDTRTa3Y4mzxc1D3J 9kWC9YnbkboZZiTu4keorsqpdLdRdDLXYe6vKjWk6HiGSFxyl7kjc4QQvhgOEmpYhRpSnAR2+BM4E G+97+Cv/+4gQbrCsoeT+1X2DUTApd6XrFsBfoo7vTEUtOeKk6z6sDa5RRcuC6xeLMJm7fpjE8Xxo9 aS9oYm3E9WQoQyXYqt11lFiYHroiRriALQC4uLDaegx7f9g5fz3sr4FNKPNx4L6rTDbfsNGfEuU/B 0rkeD+5lCQimfr/E6Q5w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nglbW-002yQx-TK; Tue, 19 Apr 2022 11:01:07 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nglbS-002yPh-DY for linux-arm-kernel@lists.infradead.org; Tue, 19 Apr 2022 11:01:04 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 8E9461042; Tue, 19 Apr 2022 04:01:01 -0700 (PDT) Received: from [192.168.4.21] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 3FDA73F73B; Tue, 19 Apr 2022 04:01:00 -0700 (PDT) Message-ID: <449ab9fa-9fb4-0b9e-7698-95f62209a449@arm.com> Date: Tue, 19 Apr 2022 12:01:03 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Subject: Re: [PATCH v4 4/4] arm64: vdso32: enable orphan handling for VDSO Content-Language: en-US To: Joey Gouly , linux-arm-kernel@lists.infradead.org Cc: nd@arm.com, catalin.marinas@arm.com, keescook@chromium.org, masahiroy@kernel.org, will@kernel.org References: <20220414104611.17748-1-joey.gouly@arm.com> <20220414104611.17748-5-joey.gouly@arm.com> From: Vincenzo Frascino In-Reply-To: <20220414104611.17748-5-joey.gouly@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220419_040103_584637_CB21C66B X-CRM114-Status: GOOD ( 12.80 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 4/14/22 11:46 AM, Joey Gouly wrote: > Like vmlinux, enable orphan-handling for the compat VDSO32. This can catch > subtle errors that might arise from unexpected sections being included. > > Signed-off-by: Joey Gouly > Cc: Catalin Marinas > Cc: Will Deacon > Cc: Masahiro Yamada > Cc: Vincenzo Frascino > Cc: Kees Cook Reviewed-by: Vincenzo Frascino > --- > arch/arm64/kernel/vdso32/Makefile | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/kernel/vdso32/Makefile b/arch/arm64/kernel/vdso32/Makefile > index ed181bedbffc..1bf0bfb99652 100644 > --- a/arch/arm64/kernel/vdso32/Makefile > +++ b/arch/arm64/kernel/vdso32/Makefile > @@ -104,6 +104,7 @@ VDSO_AFLAGS += -D__ASSEMBLY__ > VDSO_LDFLAGS += -Bsymbolic --no-undefined -soname=linux-vdso.so.1 > VDSO_LDFLAGS += -z max-page-size=4096 -z common-page-size=4096 > VDSO_LDFLAGS += -shared --hash-style=sysv --build-id=sha1 > +VDSO_LDFLAGS += --orphan-handling=warn > > > # Borrow vdsomunge.c from the arm vDSO -- Regards, Vincenzo _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel