ptrace:get_set_sud in ubuntu_kernel_selftests failed on M-gcp arm64
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
New
|
Undecided
|
Unassigned |
Bug Description
Issue found on GCP ARM64 instance t2a-standard-4, since M-gcp-1008
Test log:
Running 'make run_tests -C ptrace TEST_PROGS=
make: Entering directory '/home/
TAP version 13
1..1
# timeout set to 45
# selftests: ptrace: get_set_sud
# TAP version 13
# 1..1
# # Starting 1 tests from 1 test cases.
# # RUN global.get_set_sud ...
# # get_set_
# # get_set_sud: Test terminated by assertion
# # FAIL global.get_set_sud
# not ok 1 global.get_set_sud
# # FAILED: 0 / 1 tests passed.
# # Totals: pass:0 fail:1 xfail:0 xpass:0 skip:0 error:0
not ok 1 selftests: ptrace: get_set_sud # exit=1
make: Leaving directory '/home/
The cause is yet to be determined.
To support PTRACE_ SET_SYSCALL_ USER_DISPATCH_ CONFIG and PTRACE_ GET_SYSCALL_ USER_DISPATCH_ CONFIG, GENERIC_ ENTRY must be selected. (see ptrace_request())
CONFIG_
As of writing (v6.8 kernel), GENERIC_ENTRY is only selected by x86, s390, riscv, loongarch.
In my opinion, this test should be skipped for architectures that do not select GENERIC_ENTRY.
It is tedious to give a hint to every arm, arm64, ppc, platform.