[LTP] [PATCH 0/4] syscalls: Fix various syscalls tests when compiled with Musl

Tudor Cretu tudor.cretu@arm.com
Wed Aug 17 15:39:42 CEST 2022


Hi,

There were a few issues with some syscalls tests when they were compiled
with Musl. This series attempts to improve the robustness of some syscalls
tests.

Tudor Cretu (4):
  lib: Fix initialization of recursive mutex
  syscalls/mprotect01: Invoke the syscall directly instead of the libc
    wrapper
  syscalls/prctl04: Allow rt_sigprocmask in the syscall filter
  syscalls/statfs: Avoid dereferencing invalid buf in libc

 lib/tst_res.c                                 | 25 +++++++++++++------
 testcases/kernel/syscalls/fstatfs/fstatfs02.c |  7 +++++-
 .../kernel/syscalls/mprotect/mprotect01.c     |  3 ++-
 testcases/kernel/syscalls/prctl/prctl04.c     |  1 +
 testcases/kernel/syscalls/statfs/statfs02.c   |  7 +++++-
 5 files changed, 32 insertions(+), 11 deletions(-)

-- 
2.25.1



More information about the ltp mailing list