kselftest/arm64: Validate contents of EXTRA_CONTEXT blocks
authorMark Brown <broonie@kernel.org>
Mon, 29 Aug 2022 16:07:00 +0000 (17:07 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 7 Sep 2022 13:25:46 +0000 (14:25 +0100)
commitff89a81903d3c206ed90cfe60dce900f3b7be65b
treee892281ece5cebf191a984944544b291d59ded1c
parent1998c823c535643c59135a48242d1f933c379d5b
kselftest/arm64: Validate contents of EXTRA_CONTEXT blocks

Currently in validate_reserved() we check the basic form and contents of
an EXTRA_CONTEXT block but do not actually validate anything inside the
data block it provides. Extend the validation to do so, when we get to the
terminator for the main data block reset and start walking the extra data
block instead.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20220829160703.874492-8-broonie@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
tools/testing/selftests/arm64/signal/testcases/testcases.c