Re: [PATCH v4 1/2 fix] arm64: refactor the rodata=xxx

From: Shijie Huang
Date: Fri Dec 13 2024 - 03:46:57 EST



On 2024/12/13 16:26, Ard Biesheuvel wrote:
How do you envisage 'noalias' becoming a security feature? The point
for the case 2) above, if its linear alias is also mapped as read-only,

can we think it is safe as the original "rodata=full"?

No, it is not. Why would we bother with rodata=full (which is costly
in terms of TLB pressure) if rodata=noalias is equally safe?

okay, thanks.

I will wait for two days, and send out the new patch if there no other comment.


Thanks

Huang Shijie