[RFC PATCH v4 22/37] arm64: kernel: Skip validation of kuser32.o

Josh Poimboeuf jpoimboe at kernel.org
Fri May 6 10:31:40 PDT 2022


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



More information about the linux-arm-kernel mailing list