>From 9f667dda60835a50bd34d6eebdc8030c36443125 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Sun, 9 Jul 2017 19:22:31 +0000 Subject: [PATCH 11/22] add statx syscall numbers from linux v4.11 statx was added in linux commit a528d35e8bfcc521d7cb70aaf03e1bd296c8493f (there is no libc wrapper yet and microblaze and sh misses the number). --- arch/aarch64/bits/syscall.h.in | 1 + arch/arm/bits/syscall.h.in | 1 + arch/i386/bits/syscall.h.in | 1 + arch/mips/bits/syscall.h.in | 1 + arch/mips64/bits/syscall.h.in | 1 + arch/mipsn32/bits/syscall.h.in | 1 + arch/or1k/bits/syscall.h.in | 1 + arch/powerpc/bits/syscall.h.in | 1 + arch/powerpc64/bits/syscall.h.in | 1 + arch/s390x/bits/syscall.h.in | 1 + arch/x32/bits/syscall.h.in | 1 + arch/x86_64/bits/syscall.h.in | 1 + 12 files changed, 12 insertions(+) diff --git a/arch/aarch64/bits/syscall.h.in b/arch/aarch64/bits/syscall.h.in index 8b56afff..0d4a9bca 100644 --- a/arch/aarch64/bits/syscall.h.in +++ b/arch/aarch64/bits/syscall.h.in @@ -273,4 +273,5 @@ #define __NR_pkey_mprotect 288 #define __NR_pkey_alloc 289 #define __NR_pkey_free 290 +#define __NR_statx 291 diff --git a/arch/arm/bits/syscall.h.in b/arch/arm/bits/syscall.h.in index 0096fe7c..c594152e 100644 --- a/arch/arm/bits/syscall.h.in +++ b/arch/arm/bits/syscall.h.in @@ -352,6 +352,7 @@ #define __NR_pkey_mprotect 394 #define __NR_pkey_alloc 395 #define __NR_pkey_free 396 +#define __NR_statx 397 #define __ARM_NR_breakpoint 0x0f0001 #define __ARM_NR_cacheflush 0x0f0002 diff --git a/arch/i386/bits/syscall.h.in b/arch/i386/bits/syscall.h.in index 1217f89a..b556d83b 100644 --- a/arch/i386/bits/syscall.h.in +++ b/arch/i386/bits/syscall.h.in @@ -380,4 +380,5 @@ #define __NR_pkey_mprotect 380 #define __NR_pkey_alloc 381 #define __NR_pkey_free 382 +#define __NR_statx 383 diff --git a/arch/mips/bits/syscall.h.in b/arch/mips/bits/syscall.h.in index 1a2147a7..c1e23635 100644 --- a/arch/mips/bits/syscall.h.in +++ b/arch/mips/bits/syscall.h.in @@ -363,4 +363,5 @@ #define __NR_pkey_mprotect 4363 #define __NR_pkey_alloc 4364 #define __NR_pkey_free 4365 +#define __NR_statx 4366 diff --git a/arch/mips64/bits/syscall.h.in b/arch/mips64/bits/syscall.h.in index a207133c..b0fe49b5 100644 --- a/arch/mips64/bits/syscall.h.in +++ b/arch/mips64/bits/syscall.h.in @@ -323,4 +323,5 @@ #define __NR_pkey_mprotect 5323 #define __NR_pkey_alloc 5324 #define __NR_pkey_free 5325 +#define __NR_statx 5326 diff --git a/arch/mipsn32/bits/syscall.h.in b/arch/mipsn32/bits/syscall.h.in index cd843a76..70c5d0b8 100644 --- a/arch/mipsn32/bits/syscall.h.in +++ b/arch/mipsn32/bits/syscall.h.in @@ -327,4 +327,5 @@ #define __NR_pkey_mprotect 6327 #define __NR_pkey_alloc 6328 #define __NR_pkey_free 6329 +#define __NR_statx 6330 diff --git a/arch/or1k/bits/syscall.h.in b/arch/or1k/bits/syscall.h.in index 54581fb4..03735e88 100644 --- a/arch/or1k/bits/syscall.h.in +++ b/arch/or1k/bits/syscall.h.in @@ -275,4 +275,5 @@ #define __NR_pkey_mprotect 288 #define __NR_pkey_alloc 289 #define __NR_pkey_free 290 +#define __NR_statx 291 diff --git a/arch/powerpc/bits/syscall.h.in b/arch/powerpc/bits/syscall.h.in index d537a1dc..20833915 100644 --- a/arch/powerpc/bits/syscall.h.in +++ b/arch/powerpc/bits/syscall.h.in @@ -367,4 +367,5 @@ #define __NR_preadv2 380 #define __NR_pwritev2 381 #define __NR_kexec_file_load 382 +#define __NR_statx 383 diff --git a/arch/powerpc64/bits/syscall.h.in b/arch/powerpc64/bits/syscall.h.in index 9907ae9b..936f43c0 100644 --- a/arch/powerpc64/bits/syscall.h.in +++ b/arch/powerpc64/bits/syscall.h.in @@ -358,4 +358,5 @@ #define __NR_preadv2 380 #define __NR_pwritev2 381 #define __NR_kexec_file_load 382 +#define __NR_statx 383 diff --git a/arch/s390x/bits/syscall.h.in b/arch/s390x/bits/syscall.h.in index 1b8fdf0c..bb1c0f4d 100644 --- a/arch/s390x/bits/syscall.h.in +++ b/arch/s390x/bits/syscall.h.in @@ -320,4 +320,5 @@ #define __NR_copy_file_range 375 #define __NR_preadv2 376 #define __NR_pwritev2 377 +#define __NR_statx 379 diff --git a/arch/x32/bits/syscall.h.in b/arch/x32/bits/syscall.h.in index de6cffe0..23ef4472 100644 --- a/arch/x32/bits/syscall.h.in +++ b/arch/x32/bits/syscall.h.in @@ -283,6 +283,7 @@ #define __NR_pkey_mprotect (0x40000000 + 329) #define __NR_pkey_alloc (0x40000000 + 330) #define __NR_pkey_free (0x40000000 + 331) +#define __NR_statx (0x40000000 + 332) #define __NR_rt_sigaction (0x40000000 + 512) #define __NR_rt_sigreturn (0x40000000 + 513) diff --git a/arch/x86_64/bits/syscall.h.in b/arch/x86_64/bits/syscall.h.in index 6e743dfb..bffcc4ee 100644 --- a/arch/x86_64/bits/syscall.h.in +++ b/arch/x86_64/bits/syscall.h.in @@ -330,4 +330,5 @@ #define __NR_pkey_mprotect 329 #define __NR_pkey_alloc 330 #define __NR_pkey_free 331 +#define __NR_statx 332 -- 2.14.1