Thread (33 messages) 33 messages, 4 authors, 2021-04-16

Re: [RFC PATCH v2 0/4] arm64: Implement stack trace reliability checks

From: Madhavan T. Venkataraman <hidden>
Date: 2021-04-16 14:44:07
Also in: live-patching, lkml


On 4/14/21 5:23 AM, Madhavan T. Venkataraman wrote:
In any case, I have absolutely no problems in implementing your section idea. I will
make an attempt to do that in version 3 of my patch series.
So, I attempted a patch with just declaring all .entry.text functions as unreliable
by checking just the section bounds. It does work for EL1 exceptions. But there
are other functions that are actually reliable that show up as unreliable.
The example in my test is el0_sync() which is at the base of all system call stacks.

How would you prefer I handle this? Should I place all SYM_CODE functions that
are actually safe for the unwinder in a separate section? I could just take
some approach and solve this. But I would like to get your opinion and Mark
Rutland's opinion so we are all on the same page.

Please let me know.

Madhavan

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help