mirror of
https://gitee.com/open-loongarch/buildroot-2024.08.git
synced 2026-10-28 14:07:12 +08:00
23 lines
669 B
Diff
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 },
|