Files
openloongarch-buildroot-202…/package/libseccomp/0003-30-parisc_syscalls_linux414.patch
maoxiaochuan 216db098cc libseccomp: support libseccomp compile (2.3.3 version)
添加 libseccomp 库的编译

Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn>
2025-02-12 18:27:19 +08:00

23 lines
669 B
Diff

Description: arch: add the statx syscall
Origin: cherry-picked parts from 4793ea990ea80ee26ed63e2a20723fdb417abf5b
--- a/src/arch-parisc-syscalls.c
+++ b/src/arch-parisc-syscalls.c
@@ -10,7 +10,7 @@
#include "arch.h"
#include "arch-parisc.h"
-/* NOTE: based on Linux 4.9 */
+/* NOTE: based on Linux 4.14 */
const struct arch_syscall_def parisc_syscall_table[] = { \
{ "_llseek", 140 },
{ "_newselect", 142 },
@@ -376,6 +376,7 @@ const struct arch_syscall_def parisc_syscall_table[] = { \
{ "stat64", 101 },
{ "statfs", 99 },
{ "statfs64", 298 },
+ { "statx", 349 },
{ "stime", 25 },
{ "stty", __PNR_stty },
{ "subpage_prot", __PNR_subpage_prot },