Re: [PATCH] arm64:uprobe fix the uprobe SWBP_INSN in big-endian
From: Will Deacon
Date: Mon Dec 05 2022 - 10:43:17 EST
On Fri, 2 Dec 2022 15:11:10 +0800 (CST), guo.ziliang@xxxxxxxxxx wrote:
> From: junhua huang <huang.junhua@xxxxxxxxxx>
>
> We use uprobe in aarch64_be, which we found the tracee task would exit
> due to SIGILL when we enable the uprobe trace.
> We can see the replace inst from uprobe is not correct in aarch big-endian.
> As in Armv8-A, instruction fetches are always treated as little-endian,
> we should treat the UPROBE_SWBP_INSN as little-endian。
>
> [...]
Applied to arm64 (for-next/insn), thanks!
[1/1] arm64:uprobe fix the uprobe SWBP_INSN in big-endian
https://git.kernel.org/arm64/c/60f07e22a73d
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev