diff options
author | Mark Brown <broonie@kernel.org> | 2022-08-29 19:06:57 +0300 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2022-09-07 16:25:46 +0300 |
commit | b721c8237fe39a0e3b653f47add3156f7cdccef2 (patch) | |
tree | d31ca02cce7f469ed35942d2911257ce94456155 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 5c152c2f66f9368394b89ac90dc7483476ef7b88 (diff) | |
download | linux-b721c8237fe39a0e3b653f47add3156f7cdccef2.tar.xz |
kselftest/arm64: Fix validation of EXTRA_CONTEXT signal context location
Currently in validate_extra_context() we assert both that the extra data
pointed to by the EXTRA_CONTEXT is 16 byte aligned and that it immediately
follows the struct _aarch64_ctx providing the terminator for the linked
list of contexts in the signal frame. Since struct _aarch64_ctx is an 8
byte structure which must be 16 byte aligned these cannot both be true. As
documented in sigcontext.h and implemented by the kernel the extra data
should be at the next 16 byte aligned address after the terminator so fix
the validation to match.
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20220829160703.874492-5-broonie@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions