From 05aa735a5b5bf4312538b440dbc0dd9568358a7d Mon Sep 17 00:00:00 2001 From: Martin Cermak Date: Fri, 8 Aug 2025 22:31:42 +0200 Subject: [PATCH] Fix mips32 FTBFS Define __NR_statmount and __NR_listmount. This update makes the source buildable on the mips32 arch. https://bugs.kde.org/show_bug.cgi?id=508027 --- NEWS | 1 + include/vki/vki-scnums-mips32-linux.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/NEWS b/NEWS index 8d3c33ab2..1a0cee4c8 100644 --- a/NEWS +++ b/NEWS @@ -72,6 +72,7 @@ are not entered into bugzilla tend to get forgotten about or ignored. 507868 futimesat doesn't handle AT_FDCWD 507873 Make fchmodat and fchmodat2 syscall wrappers accept AT_FDCWD 507897 Allow for patching LTP sources +508027 Fix mips32 FTBFS 508029 Review the vmsplice syscall wrapper 508030 Add several missing syscall hooks to ppc64-linux diff --git a/include/vki/vki-scnums-mips32-linux.h b/include/vki/vki-scnums-mips32-linux.h index 53f6499aa..62b423395 100644 --- a/include/vki/vki-scnums-mips32-linux.h +++ b/include/vki/vki-scnums-mips32-linux.h @@ -460,6 +460,8 @@ #define __NR_set_mempolicy_home_node (__NR_Linux + 450) #define __NR_cachestat (__NR_Linux + 451) #define __NR_fchmodat2 (__NR_Linux + 452) +#define __NR_statmount (__NR_Linux + 457) +#define __NR_listmount (__NR_Linux + 458) #define __NR_mseal (__NR_Linux + 462) /* * Offset of the last Linux o32 flavoured syscall -- 2.47.3