diff options
| author | Terry Tritton <[email protected]> | 2025-05-09 11:56:22 +0000 |
|---|---|---|
| committer | Kees Cook <[email protected]> | 2025-05-09 19:15:43 +0000 |
| commit | 73989c998814d82c71d523c104c398925470d59e (patch) | |
| tree | 24570d468907ff464bf2b9ae8aca44f3bef122f8 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | selftests/seccomp: fix syscall_restart test for arm compat (diff) | |
| download | kernel-73989c998814d82c71d523c104c398925470d59e.tar.gz kernel-73989c998814d82c71d523c104c398925470d59e.zip | |
selftests/seccomp: fix negative_ENOSYS tracer tests on arm32
TRACE_syscall.ptrace.negative_ENOSYS and TRACE_syscall.seccomp.negative_ENOSYS
on arm32 are being reported as failures instead of skipping.
The teardown_trace_fixture function sets the test to KSFT_FAIL in case of a
non 0 return value from the tracer process.
Due to _metadata now being shared between the forked processes the tracer is
returning the KSFT_SKIP value set by the tracee which is non 0.
Remove the setting of the _metadata.exit_code in teardown_trace_fixture.
Fixes: 24cf65a62266 ("selftests/harness: Share _metadata between forked processes")
Signed-off-by: Terry Tritton <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
