[PATCH v4 0/4] Enable orphan-handling=warn for VDSO

Vincenzo Frascino vincenzo.frascino at arm.com
Tue Apr 19 04:10:25 PDT 2022


Hi Joey,

On 4/14/22 11:46 AM, Joey Gouly wrote:
> Hi all,
> 
> This small series enables the orphan-handling linker flag for the VDSO.
> This could catch subtle errors if features that use special sections are
> introduced into the VDSO implementation.
> 
> Sorry for the extra version, I forgot to include Kees' and Vincenzo's 
> reviewed-by tags. That's the only change to the patches.
> 

The patches look fine. Could you please provide some test results with [1] or [2]?

[1] https://github.com/nlynch-mentor/vdsotest
[2] <kernel_tree>/tools/testing/selftests/vDSO

> Changes from v3 [1]:
>   - Adding missing r-b tags
> 
> Changes from v2 [2]:
>   - Include vdso compat support
> 
> Thanks,
> Joey
> 
> [1]: https://lore.kernel.org/linux-arm-kernel/20220413101832.4594-1-joey.gouly@arm.com/
> [2]: https://lore.kernel.org/linux-arm-kernel/20220407101304.539-1-joey.gouly@arm.com/
> 
> Joey Gouly (4):
>   arm64: vdso: put ELF related sections in the linker script
>   arm64: vdso: enable orphan handling for VDSO
>   arm64: vdso32: put ELF related sections in the linker script
>   arm64: vdso32: enable orphan handling for VDSO
> 
>  arch/arm64/kernel/vdso/Makefile     | 8 +++++++-
>  arch/arm64/kernel/vdso/vdso.lds.S   | 4 ++++
>  arch/arm64/kernel/vdso32/Makefile   | 1 +
>  arch/arm64/kernel/vdso32/vdso.lds.S | 4 ++++
>  4 files changed, 16 insertions(+), 1 deletion(-)
> 

-- 
Regards,
Vincenzo



More information about the linux-arm-kernel mailing list