Re: [RFC]arm64:Mark __stack_chk_guard as __ro_after_init
From: Catalin Marinas <catalin.marinas@arm.com>
Date: 2021-09-16 17:52:06
Also in:
lkml
From: Catalin Marinas <catalin.marinas@arm.com>
Date: 2021-09-16 17:52:06
Also in:
lkml
On Tue, 14 Sep 2021 17:44:02 +0800, Dan Li wrote:
__stack_chk_guard is setup once while init stage and never changed after that. Although the modification of this variable at runtime will usually cause the kernel to crash (so dose the attacker), it should be marked as _ro_after_init, and it should not affect performance if it is placed in the ro_after_init section. [...]
Applied to arm64 (for-next/fixes), thanks!
[1/1] arm64:Mark __stack_chk_guard as __ro_after_init
https://git.kernel.org/arm64/c/9fcb2e93f41c
--
Catalin
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel