Bug 509643 - Missing s390x-linux syswraps already implemented on other linux arches.
Summary: Missing s390x-linux syswraps already implemented on other linux arches.
Status: RESOLVED FIXED
Alias: None
Product: valgrind
Classification: Developer tools
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: mcermak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-18 16:15 UTC by Mark Wielaard
Modified: 2025-09-19 15:21 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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