From cd0bcde0dce32d85760d5062937d7a71814b32f8 Mon Sep 17 00:00:00 2001 From: oreo639 Date: Tue, 15 Apr 2025 09:12:19 -0700 Subject: [PATCH] musl: add missing syscalls for powerpc64 --- srcpkgs/musl/patches/new-syscalls.patch | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/srcpkgs/musl/patches/new-syscalls.patch b/srcpkgs/musl/patches/new-syscalls.patch index 6b2bdc20121..321ba1d0328 100644 --- a/srcpkgs/musl/patches/new-syscalls.patch +++ b/srcpkgs/musl/patches/new-syscalls.patch @@ -217,6 +217,30 @@ +#define __NR_cachestat 451 +#define __NR_fchmodat2 452 +--- a/arch/powerpc64/bits/syscall.h.in ++++ b/arch/powerpc64/bits/syscall.h.in +@@ -385,4 +385,21 @@ + #define __NR_fsconfig 431 + #define __NR_fsmount 432 + #define __NR_fspick 433 ++#define __NR_pidfd_open 434 ++#define __NR_clone3 435 ++#define __NR_close_range 436 ++#define __NR_openat2 437 ++#define __NR_pidfd_getfd 438 ++#define __NR_faccessat2 439 ++#define __NR_process_madvise 440 ++#define __NR_epoll_pwait2 441 ++#define __NR_mount_setattr 442 ++#define __NR_landlock_create_ruleset 444 ++#define __NR_landlock_add_rule 445 ++#define __NR_landlock_restrict_self 446 ++#define __NR_process_mrelease 448 ++#define __NR_futex_waitv 449 ++#define __NR_set_mempolicy_home_node 450 ++#define __NR_cachestat 451 ++#define __NR_fchmodat2 452 + --- a/arch/powerpc/bits/syscall.h.in +++ b/arch/powerpc/bits/syscall.h.in @@ -413,4 +413,21 @@