Skip to content

Some MUSL fixes

Petr Vorel ltp 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5rt_sigaction.h: Check for type sighandler_t and use if presentinclude/lapi/rt_sigaction.h m4/ltp-sighandler_t.m4+16 -01 reply
1/5rt_sigaction.h: Check for type sighandler_t and use if present+0 -00 replies
2/5{rt_, }sigaction: Define _GNU_SOURCE to get SA_NOMASK on MUSLtestcases/kernel/syscalls/rt_sigaction/rt_sigaction01.c testcases/kernel/syscalls/rt_sigaction/rt_sigaction02.c testcases/kernel/syscalls/rt_sigaction/rt_sigaction03.c +2 more+6 -01 reply
3/5ptrace: Use int instead of enum __ptrace_requesttestcases/kernel/syscalls/ptrace/ptrace03.c testcases/kernel/syscalls/ptrace/ptrace06.c testcases/kernel/syscalls/ptrace/spawn_ptrace_child.h+3 -31 reply
4/5mremap: Define _GNU_SOURCE to get MREMAP_MAYMOVE on MUSLtestcases/kernel/syscalls/mremap/mremap01.c testcases/kernel/syscalls/mremap/mremap02.c testcases/kernel/syscalls/mremap/mremap03.c +1 more+5 -81 reply
5/5mallopt: Test only on glibctestcases/kernel/syscalls/mallopt/mallopt01.c+3 -31 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [LTP] [PATCH 0/5] Some MUSL fixes

Hi,

there are numerous problems with LTP build with MUSL. This patchset address only few obvious ones.

Kind regards,
Petr

Petr Vorel (5):
rt_sigaction.h: Check for type sighandler_t and use if present {rt_,}sigaction: Define _GNU_SOURCE to get SA_NOMASK on MUSL
ptrace: Use int instead of enum __ptrace_request
mremap: Define _GNU_SOURCE to get MREMAP_MAYMOVE on MUSL
mallopt: Test only on glibc

 include/lapi/rt_sigaction.h                             | 8 ++++++++
 m4/ltp-sighandler_t.m4                                  | 8 ++++++++
 testcases/kernel/syscalls/mallopt/mallopt01.c           | 6 +++---
 testcases/kernel/syscalls/mremap/mremap01.c             | 4 ++--
 testcases/kernel/syscalls/mremap/mremap02.c             | 3 +--
 testcases/kernel/syscalls/mremap/mremap03.c             | 3 +--
 testcases/kernel/syscalls/mremap/mremap04.c             | 3 +--
 testcases/kernel/syscalls/ptrace/ptrace03.c             | 2 +-
 testcases/kernel/syscalls/ptrace/ptrace06.c             | 2 +-
 testcases/kernel/syscalls/ptrace/spawn_ptrace_child.h   | 2 +-
 testcases/kernel/syscalls/rt_sigaction/rt_sigaction01.c | 1 +
 testcases/kernel/syscalls/rt_sigaction/rt_sigaction02.c | 1 +
 testcases/kernel/syscalls/rt_sigaction/rt_sigaction03.c | 1 +
 testcases/kernel/syscalls/sigaction/sigaction02.c       | 2 ++
 testcases/misc/crash/crash01.c                          | 1 +
 15 files changed, 33 insertions(+), 14 deletions(-)
 create mode 100644 m4/ltp-sighandler_t.m4
Signature · 1 line
2.20.1