Skip to contentSkip to conversation

generic syscalls: Wire up statx syscall

PATCH Superseded Stafford Horne 1 participant 1 message Mar 10, 2017 Generic include/asm header files

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 generic syscalls: Wire up statx syscall

The new syscall statx is implemented as generic code, so enable it for architectures like openrisc which use the generic syscall table.

---
 include/uapi/asm-generic/unistd.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
include/uapi/asm-generic/unistd.h +3 -1
index 9b1462e..a076cf1 100644
@@ -730,9 +730,11 @@ __SYSCALL(__NR_pkey_mprotect, sys_pkey_mprotect)
 __SYSCALL(__NR_pkey_alloc,    sys_pkey_alloc)
 #define __NR_pkey_free 290
 __SYSCALL(__NR_pkey_free,     sys_pkey_free)
+#define __NR_statx 291
+__SYSCALL(__NR_statx,     sys_statx)
 
 #undef __NR_syscalls
-#define __NR_syscalls 291
+#define __NR_syscalls 292
 
 /*
  * All syscalls below here should go away really,
Signature · 1 line
2.9.3