On 24/10/2022 16:07, Teo Couprie Diaz wrote:
This series updates the brk LTP tests to use direct syscalls which makes the compat tests pass on our musl-based distribution. Add a simple sanity check for purecap that checks for ENOSYS and fails otherwise. Deactivate brk02 in purecap as it cannot be completed.
This series should be disregarded as we decided to push a fix upstream and use the LTP infrastructure for direct system calls.
checkpatch complains about using ENOSYS but brk should not be implemented in purecap, so this is expected.
Depends on merging the corresponding Linux patch disabling brk : https://op-lists.linaro.org/archives/list/linux-morello@op-lists.linaro.org/...
Branch for review : review/teo/brk-fixes-v2 https://git.morello-project.org/Teo-CD/morello-linux-ltp/-/commits/review/te...
v2: Better descriptions, switched to direct syscall and not checking for EINTR.
Teo Couprie Diaz (2): syscalls/brk: use direct syscall syscalls/brk: add a sanity check for purecap
runtest/morello_transitional_extended | 3 +++ testcases/kernel/syscalls/brk/brk01.c | 33 +++++++++++++++++++++++---- testcases/kernel/syscalls/brk/brk02.c | 17 ++++++++------ 3 files changed, 42 insertions(+), 11 deletions(-)
base-commit: 04d5526fb44bffdb785e28a334f906c9221bef94