]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
mips: Add missing syscalls for mips32 and mips64
authorPetar Jovanovic <mips32r2@gmail.com>
Tue, 13 Jan 2026 16:20:36 +0000 (16:20 +0000)
committerPetar Jovanovic <mips32r2@gmail.com>
Tue, 13 Jan 2026 16:20:36 +0000 (16:20 +0000)
Adding several syscall defines for mips32 and mips64.
This fixes a build break for mips variants.

include/vki/vki-scnums-mips32-linux.h
include/vki/vki-scnums-mips64-linux.h

index 539db119b19371448ae53f67762a66812f98d3aa..d30cbf46c0992f327e35b370f639f8a84de7be4a 100644 (file)
 #define __NR_fchmodat2                  (__NR_Linux + 452)
 #define __NR_statmount                  (__NR_Linux + 457)
 #define __NR_listmount                  (__NR_Linux + 458)
+#define __NR_lsm_get_self_attr          (__NR_Linux + 459)
+#define __NR_lsm_set_self_attr          (__NR_Linux + 460)
+#define __NR_lsm_list_modules           (__NR_Linux + 461)
 #define __NR_mseal                      (__NR_Linux + 462)
+#define __NR_file_getattr               (__NR_Linux + 468)
+#define __NR_file_setattr               (__NR_Linux + 469)
 /*
  * Offset of the last Linux o32 flavoured syscall
  */
index a8fb5e2a8fc6b47598dda50a08f8756977f4c7bc..0e2f341535b5bc6b0f8616bb0d77b29898d7fbc2 100644 (file)
 #define __NR_lsm_set_self_attr      (__NR_Linux + 460)
 #define __NR_lsm_list_modules       (__NR_Linux + 461)
 #define __NR_mseal                  (__NR_Linux + 462)
+#define __NR_file_getattr           (__NR_Linux + 468)
+#define __NR_file_setattr           (__NR_Linux + 469)
 
 #elif defined(VGABI_N32)
 
 #define __NR_lsm_get_self_attr       (__NR_Linux + 459)
 #define __NR_lsm_set_self_attr       (__NR_Linux + 460)
 #define __NR_lsm_list_modules        (__NR_Linux + 461)
+#define __NR_mseal                   (__NR_Linux + 462)
+#define __NR_file_getattr            (__NR_Linux + 468)
+#define __NR_file_setattr            (__NR_Linux + 469)
 
 #else
 #error unknown mips64 abi