statx was added in linux commit a528d35e8bfcc521d7cb70aaf03e1bd296c8493f (there is no libc wrapper yet and microblaze and sh misses the number).
@@ -273,4 +273,5 @@
#define __NR_pkey_mprotect 288
#define __NR_pkey_alloc 289
#define __NR_pkey_free 290
+#define __NR_statx 291
@@ -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
@@ -380,4 +380,5 @@
#define __NR_pkey_mprotect 380
#define __NR_pkey_alloc 381
#define __NR_pkey_free 382
+#define __NR_statx 383
@@ -363,4 +363,5 @@
#define __NR_pkey_mprotect 4363
#define __NR_pkey_alloc 4364
#define __NR_pkey_free 4365
+#define __NR_statx 4366
@@ -323,4 +323,5 @@
#define __NR_pkey_mprotect 5323
#define __NR_pkey_alloc 5324
#define __NR_pkey_free 5325
+#define __NR_statx 5326
@@ -327,4 +327,5 @@
#define __NR_pkey_mprotect 6327
#define __NR_pkey_alloc 6328
#define __NR_pkey_free 6329
+#define __NR_statx 6330
@@ -275,4 +275,5 @@
@@ -367,4 +367,5 @@
#define __NR_preadv2 380
#define __NR_pwritev2 381
#define __NR_kexec_file_load 382
@@ -358,4 +358,5 @@
@@ -320,4 +320,5 @@
#define __NR_copy_file_range 375
#define __NR_preadv2 376
#define __NR_pwritev2 377
+#define __NR_statx 379
@@ -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)
@@ -330,4 +330,5 @@
#define __NR_pkey_mprotect 329
#define __NR_pkey_alloc 330
#define __NR_pkey_free 331
+#define __NR_statx 332