[PATCH] arm64: vdso: Mark vDSO code as read-only

Catalin Marinas catalin.marinas at arm.com
Tue Feb 16 10:22:35 PST 2016


On Wed, Feb 10, 2016 at 01:52:22PM -0800, David Brown wrote:
> diff --git a/arch/arm64/kernel/vdso/vdso.S b/arch/arm64/kernel/vdso/vdso.S
> index 60c1db5..db7c0f2 100644
> --- a/arch/arm64/kernel/vdso/vdso.S
> +++ b/arch/arm64/kernel/vdso/vdso.S
> @@ -24,6 +24,7 @@
>  	__PAGE_ALIGNED_DATA
>  
>  	.globl vdso_start, vdso_end
> +	.section .rodata
>  	.balign PAGE_SIZE
>  vdso_start:
>  	.incbin "arch/arm64/kernel/vdso/vdso.so"
> -- 
> 2.7.1

Patch applied (and removed __PAGE_ALIGNED_DATA as well). Thanks.

-- 
Catalin



More information about the linux-arm-kernel mailing list