Bug 508030 - Add several missing syscall hooks to ppc64-linux
Summary: Add several missing syscall hooks to ppc64-linux
Status: RESOLVED FIXED
Alias: None
Product: valgrind
Classification: Developer tools
Component: general (other bugs)
Version First Reported In: 3.25 GIT
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: mcermak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-08 21:46 UTC by mcermak
Modified: 2025-08-09 01:12 UTC (History)
1 user (show)

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


Attachments
proposed patch (4.28 KB, patch)
2025-08-08 21:47 UTC, mcermak
Details

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