提交 84d4f5ee 编写于 作者: S Szabolcs Nagy 提交者: Rich Felker

add copy_file_range syscall numbers from linux v4.5

it was introduced for offloading copying between regular files
in linux commit 29732938a6289a15e907da234d6692a2ead71855

(microblaze and sh does not yet have the syscall number.)
上级 2de52704
......@@ -268,6 +268,7 @@
#define __NR_userfaultfd 282
#define __NR_membarrier 283
#define __NR_mlock2 284
#define __NR_copy_file_range 285
#define SYS_io_setup __NR_io_setup
#define SYS_io_destroy __NR_io_destroy
......@@ -539,3 +540,4 @@
#define SYS_userfaultfd __NR_userfaultfd
#define SYS_membarrier __NR_membarrier
#define SYS_mlock2 __NR_mlock2
#define SYS_copy_file_range __NR_copy_file_range
......@@ -344,6 +344,7 @@
#define __NR_userfaultfd 388
#define __NR_membarrier 389
#define __NR_mlock2 390
#define __NR_copy_file_range 391
#define __ARM_NR_breakpoint 0x0f0001
#define __ARM_NR_cacheflush 0x0f0002
......@@ -699,3 +700,4 @@
#define SYS_userfaultfd 388
#define SYS_membarrier 389
#define SYS_mlock2 390
#define SYS_copy_file_range 391
......@@ -375,6 +375,7 @@
#define __NR_userfaultfd 374
#define __NR_membarrier 375
#define __NR_mlock2 376
#define __NR_copy_file_range 377
/* Repeated with SYS_ prefix */
......@@ -756,3 +757,4 @@
#define SYS_userfaultfd 374
#define SYS_membarrier 375
#define SYS_mlock2 376
#define SYS_copy_file_range 377
......@@ -357,6 +357,7 @@
#define __NR_userfaultfd 4357
#define __NR_membarrier 4358
#define __NR_mlock2 4359
#define __NR_copy_file_range 4360
/* Repeated with SYS_ prefix */
......@@ -719,3 +720,4 @@
#define SYS_userfaultfd 4357
#define SYS_membarrier 4358
#define SYS_mlock2 4359
#define SYS_copy_file_range 4360
......@@ -317,6 +317,7 @@
#define __NR_userfaultfd 5317
#define __NR_membarrier 5318
#define __NR_mlock2 5319
#define __NR_copy_file_range 5320
#define SYS_read 5000
#define SYS_write 5001
......@@ -637,3 +638,4 @@
#define SYS_userfaultfd 5317
#define SYS_membarrier 5318
#define SYS_mlock2 5319
#define SYS_copy_file_range 5320
......@@ -268,6 +268,7 @@
#define __NR_userfaultfd 282
#define __NR_membarrier 283
#define __NR_mlock2 284
#define __NR_copy_file_range 285
#define SYS_io_setup __NR_io_setup
#define SYS_io_destroy __NR_io_destroy
......@@ -539,3 +540,4 @@
#define SYS_userfaultfd __NR_userfaultfd
#define SYS_membarrier __NR_membarrier
#define SYS_mlock2 __NR_mlock2
#define SYS_copy_file_range __NR_copy_file_range
......@@ -368,6 +368,7 @@
#define __NR_userfaultfd 364
#define __NR_membarrier 365
#define __NR_mlock2 378
#define __NR_copy_file_range 379
/*
* repeated with SYS prefix
......@@ -742,3 +743,4 @@
#define SYS_userfaultfd 364
#define SYS_membarrier 365
#define SYS_mlock2 378
#define SYS_copy_file_range 379
......@@ -280,6 +280,7 @@
#define __NR_userfaultfd (__X32_SYSCALL_BIT + 323)
#define __NR_membarrier (__X32_SYSCALL_BIT + 324)
#define __NR_mlock2 (__X32_SYSCALL_BIT + 325)
#define __NR_copy_file_range (__X32_SYSCALL_BIT + 326)
#define __NR_rt_sigaction (__X32_SYSCALL_BIT + 512)
#define __NR_rt_sigreturn (__X32_SYSCALL_BIT + 513)
......@@ -613,6 +614,7 @@
#define SYS_userfaultfd __NR_userfaultfd
#define SYS_membarrier __NR_membarrier
#define SYS_mlock2 __NR_mlock2
#define SYS_copy_file_range __NR_copy_file_range
#define SYS_rt_sigaction __NR_rt_sigaction
......
......@@ -324,6 +324,7 @@
#define __NR_userfaultfd 323
#define __NR_membarrier 324
#define __NR_mlock2 325
#define __NR_copy_file_range 326
......@@ -655,3 +656,4 @@
#define SYS_userfaultfd 323
#define SYS_membarrier 324
#define SYS_mlock2 325
#define SYS_copy_file_range 326
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册