[PATCH] arm64: mte: Fix PTRACE_{PEEK,POKE}MTETAGS error documentation
Will Deacon
will at kernel.org
Fri Sep 11 06:44:08 PDT 2026
On Mon, 07 Sep 2026 12:30:25 +0100, Catalin Marinas wrote:
> PTRACE_{PEEK,POKE}MTETAGS return -EIO rather than -EOPNOTSUPP (as
> documented) when no tags are copied from/to a mapping without PROT_MTE.
> This has been the behaviour since the interface was introduced, though
> the original intent was to distinguish between address not being
> accessible and mapped as untagged.
>
> Update the documentation to match the implementation (de-facto ABI).
> Since -EOPNOTSUPP was never returned, change the error assignment to
> -EIO as well to avoid confusion.
>
> [...]
Applied to arm64 (for-next/fixes), thanks!
[1/1] arm64: mte: Fix PTRACE_{PEEK,POKE}MTETAGS error documentation
https://git.kernel.org/arm64/c/fdb9ebc7fb77
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
More information about the linux-arm-kernel
mailing list