Bug 509643

Summary: Missing s390x-linux syswraps already implemented on other linux arches.
Product: [Developer tools] valgrind Reporter: Mark Wielaard <mark>
Component: generalAssignee: mcermak
Status: RESOLVED FIXED    
Severity: normal CC: mcermak
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Mark Wielaard 2025-09-18 16:15:37 UTC
The following syscalls don't seem to be wrapped on s390x even though they already have generic or linux wrappers on other arches: adjtimex, bpf, semtimedop, semctl, msgctl, sigpending and sethostname.
Comment 1 Mark Wielaard 2025-09-19 15:21:39 UTC
commit 53c66de8857300172c62827a4fc06e28685892a0
Author: Martin Cermak <mcermak@redhat.com>
Date:   Fri Sep 19 11:47:14 2025 +0200

    Add missing ppc64-linux and s390x-linux syswraps existing on other arches
    
    This update adds following ppc64le and s390x syswraps:
     - sys_msgctl
     - sys_semctl
     - sys_semtimedop
     - sys_sethostname
     - sys_shmctl
     - sys_sigpending
     - sys_stime
    
    This update adds following ppc64le syswraps:
     - sys_setns
    
    This update adds following s390x syswraps:
     - sys_bpf
    
    Blacklist the shmctl05, as it is a long running one.  It does
    pass on all architectures afaics, but needs a relatively high
    LTP_TIMEOUT_MUL setting. So, let's skip that one.
    
    https://bugs.kde.org/show_bug.cgi?id=509642
    https://bugs.kde.org/show_bug.cgi?id=509643