Re: [PATCH] [RFC]arm64:Mark __stack_chk_guard as __ro_after_init

From: Dan Li
Date: Wed Sep 15 2021 - 05:35:33 EST


Fine, I got it, thanks for reply.

On 9/15/21 5:19 PM, Mark Rutland wrote:
On Wed, Sep 15, 2021 at 09:57:14AM +0800, ashimida wrote:
Hi King, Rutland:

Thanks for the reply and let me understand the reason here.

Then may I first submit a patch to modify the attributes of
__stack_chk_guard of the arm/aarch64 platform?

This patch looks fine as-is (hence the Acked-by). Doing the same for
arch/arm makes sense, but that should be a separate patch.

I was suggesting that in future we should probably do the same in more
places, not that you need to do so now.

Thanks,
Mark.