[PATCH v2 4/5] arm64: mte: Dump the MTE tags in the core file

Mark Brown broonie at kernel.org
Wed Feb 2 09:55:05 PST 2022


On Mon, Jan 31, 2022 at 04:54:55PM +0000, Catalin Marinas wrote:

> For each vma mapped with PROT_MTE (the VM_MTE flag set), generate a
> PT_ARM_MEMTAG_MTE segment in the core file and dump the corresponding
> tags. The in-file size for such segments is 128 bytes per page.

> For pages in a VM_MTE vma which are not present in the user page tables
> or don't have the PG_mte_tagged flag set (e.g. execute-only), just write
> zeros in the core file.

For what it's worth

Reviewed-by: Mark Brown <broonie at kernel.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20220202/65675447/attachment.sig>


More information about the linux-arm-kernel mailing list