[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220506173140.gkuhf3kzxq7mxfi2@treble>
Date: Fri, 6 May 2022 10:31:40 -0700
From: Josh Poimboeuf <jpoimboe@...nel.org>
To: Mark Rutland <mark.rutland@....com>
Cc: Peter Zijlstra <peterz@...radead.org>,
Chen Zhongjin <chenzhongjin@...wei.com>,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-arch@...r.kernel.org, jthierry@...hat.com,
catalin.marinas@....com, will@...nel.org, masahiroy@...nel.org,
jpoimboe@...hat.com, ycote@...hat.com, herbert@...dor.apana.org.au,
davem@...emloft.net, ardb@...nel.org, maz@...nel.org,
tglx@...utronix.de, luc.vanoostenryck@...il.com
Subject: Re: [RFC PATCH v4 22/37] arm64: kernel: Skip validation of kuser32.o
On Thu, May 05, 2022 at 11:56:45AM +0100, Mark Rutland wrote:
> The objects under arch/arm64/kernel/{vdso,vdso32}/ are all userspace objects,
> and from userspace's PoV the existing secrtions within those objects are
> correct, so I don't think those should change.
>
> How does x86 deal with its vdso objects?
On x86, we just use OBJECT_FILES_NON_STANDARD (like the up-thread patch)
to tell objtool to ignore all the vdso objects.
That should be fine for vdso, since it doesn't actually end up as text
in vmlinux.
--
Josh
Powered by blists - more mailing lists