Bug 508030

Summary: Add several missing syscall hooks to ppc64-linux
Product: [Developer tools] valgrind Reporter: mcermak
Component: generalAssignee: mcermak
Status: RESOLVED FIXED    
Severity: normal CC: mark
Priority: NOR    
Version First Reported In: 3.25 GIT   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: proposed patch

Description mcermak 2025-08-08 21:46:06 UTC
Add several missing syscall hooks to powerpc64le.  Specifically:

sys_getrlimit
sys_mincore
sys_tkill
sys_unshare
sys_splice
sys_tee
sys_vmsplice
sys_fanotify_init
sys_fanotify_mark
sys_kcmp
sys_bpf
Comment 1 mcermak 2025-08-08 21:47:52 UTC
Created attachment 183889 [details]
proposed patch
Comment 2 Mark Wielaard 2025-08-09 01:12:41 UTC
This looks good. I just tweaked the wording since the ppc64-linux syscall wrappers work for both big and little endian.

Pushed as:

commit 4363549490ecaeaa6c3048beeb8c5edcec33ec06
Author: Martin Cermak <mcermak@redhat.com>
Date:   Fri Aug 8 23:46:53 2025 +0200

    Add several missing syscall hooks to ppc64-linux
    
    Specifically:
    
    sys_getrlimit
    sys_mincore
    sys_tkill
    sys_unshare
    sys_splice
    sys_tee
    sys_vmsplice
    sys_fanotify_init
    sys_fanotify_mark
    sys_kcmp
    sys_bpf
    
    https://bugs.kde.org/show_bug.cgi?id=508030