add preadv2 and pwritev2 syscall numbers for linux v4.6
authorSzabolcs Nagy <nsz@port70.net>
Thu, 26 May 2016 20:04:56 +0000 (22:04 +0200)
committerRich Felker <dalias@aerifal.cx>
Thu, 9 Jun 2016 17:38:41 +0000 (13:38 -0400)
the syscalls take an additional flag argument, they were added in commit
f17d8b35452cab31a70d224964cd583fb2845449 and a RWF_HIPRI priority hint
flag was added to linux/fs.h in 97be7ebe53915af504fb491fb99f064c7cf3cb09.

the syscall is not allocated for microblaze and sh yet.

arch/aarch64/bits/syscall.h.in
arch/arm/bits/syscall.h.in
arch/i386/bits/syscall.h.in
arch/mips/bits/syscall.h.in
arch/mips64/bits/syscall.h.in
arch/mipsn32/bits/syscall.h.in
arch/or1k/bits/syscall.h.in
arch/powerpc/bits/syscall.h.in
arch/powerpc64/bits/syscall.h.in
arch/x32/bits/syscall.h.in
arch/x86_64/bits/syscall.h.in

index bcf69d2085f0eca3204de2bc209ec4d8b1d5d002..332f437d3674044a444f2a76bca5bf4473a6b81d 100644 (file)
 #define __NR_membarrier 283
 #define __NR_mlock2 284
 #define __NR_copy_file_range 285
+#define __NR_preadv2 286
+#define __NR_pwritev2 287
 
index 143b0a8d1e948e28f3ddf1320e9a1a00177f70f8..04c8b1cfed81020ea79e609a59973506bb69b341 100644 (file)
 #define __NR_membarrier                389
 #define __NR_mlock2            390
 #define __NR_copy_file_range   391
+#define __NR_preadv2   392
+#define __NR_pwritev2  393
 
 #define __ARM_NR_breakpoint    0x0f0001
 #define __ARM_NR_cacheflush    0x0f0002
index 108fbbcebacf9a303e21aee986e5ea0957099a2a..5fe9c5c41cfae169ced54e44bfbafb32d0a62d8f 100644 (file)
 #define __NR_membarrier                375
 #define __NR_mlock2            376
 #define __NR_copy_file_range   377
+#define __NR_preadv2           378
+#define __NR_pwritev2          379
 
index 61ff7a5806fab8c42384cbfb449b220647f1a66f..bcceaa2ac9c9553e2eba50711d3beab435feb24d 100644 (file)
 #define __NR_membarrier              4358
 #define __NR_mlock2                  4359
 #define __NR_copy_file_range         4360
+#define __NR_preadv2                 4361
+#define __NR_pwritev2                4362
 
index 0e2068308618277a7f4a6f0b382e723e0c60b044..eef85435f38278bc12f0e445227dc8c092c094ad 100644 (file)
 #define __NR_membarrier                        5318
 #define __NR_mlock2                    5319
 #define __NR_copy_file_range           5320
+#define __NR_preadv2                   5321
+#define __NR_pwritev2                  5322
 
index 6c38f68d5395798a52e9bd41b5870ac5f9ff5046..5fda0b57a38b5dd1dea5a7250c8cb28cc15dea7a 100644 (file)
 #define __NR_membarrier                        6322
 #define __NR_mlock2                    6323
 #define __NR_copy_file_range           6324
+#define __NR_preadv2                   6325
+#define __NR_pwritev2                  6326
 
index c6e55c6b6f02d08c28b8604943540e13bd824ea2..c6b6cf2ceca90408e0cc272a536183707278ad68 100644 (file)
 #define __NR_membarrier 283
 #define __NR_mlock2 284
 #define __NR_copy_file_range 285
+#define __NR_preadv2 286
+#define __NR_pwritev2 287
 
index f55e69c541b060d269586ee335c9ea43b1647081..9d0223215c289f6fce6d8e5c316e86ccc0e7c9e0 100644 (file)
 #define __NR_membarrier            365
 #define __NR_mlock2                378
 #define __NR_copy_file_range       379
+#define __NR_preadv2               380
+#define __NR_pwritev2              381
 
index ff375364b76c9b903c67b39ea469254fe36ffffe..c9880fa2330e4cab14e715a06444de48636685e8 100644 (file)
 #define __NR_membarrier             365
 #define __NR_mlock2                 378
 #define __NR_copy_file_range        379
+#define __NR_preadv2                380
+#define __NR_pwritev2               381
 
index 0b9362a3aaa7e72b4c9dfb1e6e0e086debe1cf96..cf2b4f14761fef6e29fb608fff9b7c8d081d068c 100644 (file)
 #define __NR_membarrier (0x40000000 + 324)
 #define __NR_mlock2 (0x40000000 + 325)
 #define __NR_copy_file_range (0x40000000 + 326)
+#define __NR_preadv2 (0x40000000 + 327)
+#define __NR_pwritev2 (0x40000000 + 328)
 
 #define __NR_rt_sigaction (0x40000000 + 512)
 #define __NR_rt_sigreturn (0x40000000 + 513)
index 7e638a03cb7a6255f1d9839a33f04f73cd4e5af1..d0c551858209ec6852b536af00600e720266aebf 100644 (file)
 #define __NR_membarrier                                324
 #define __NR_mlock2                            325
 #define __NR_copy_file_range                   326
+#define __NR_preadv2                           327
+#define __NR_pwritev2                          328