aboutsummaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorAlbert van der Linde <alinde@google.com>2020-07-24 13:37:01 +0000
committerDmitry Vyukov <dvyukov@google.com>2020-07-25 07:05:51 +0200
commit1f7cc1ca26f786658b146bf760d9698390e9bbfb (patch)
tree7244a41011970b183886db06d0d0e7e248b12f73 /sys
parent0a13649c058c68a7707b22beb08b0806ce3a1d42 (diff)
sys/linux: add description for copy_file_range
Diffstat (limited to 'sys')
-rw-r--r--sys/linux/sys.txt2
-rw-r--r--sys/linux/sys_386.const1
-rw-r--r--sys/linux/sys_amd64.const1
-rw-r--r--sys/linux/sys_arm.const1
-rw-r--r--sys/linux/sys_arm64.const1
-rw-r--r--sys/linux/sys_mips64le.const1
-rw-r--r--sys/linux/sys_ppc64le.const1
-rw-r--r--sys/linux/sys_riscv64.const1
-rw-r--r--sys/linux/sys_s390x.const1
9 files changed, 10 insertions, 0 deletions
diff --git a/sys/linux/sys.txt b/sys/linux/sys.txt
index d4a027fd9..5370e5508 100644
--- a/sys/linux/sys.txt
+++ b/sys/linux/sys.txt
@@ -96,8 +96,10 @@ writev(fd fd, vec ptr[in, array[iovec_in]], vlen len[vec])
pwritev(fd fd, vec ptr[in, array[iovec_in]], vlen len[vec], off_low int32, off_high int32)
pwritev2(fd fd, vec ptr[in, array[iovec_in]], vlen len[vec], off_low int32, off_high int32, flags flags[rwf_flags])
lseek(fd fd, offset fileoff, whence flags[seek_whence])
+copy_file_range(fd_in fd, off_in ptr[inout, fileoff[int64], opt], fd_out fd, off_out ptr[inout, fileoff[int64], opt], len intptr, flags flags[copy_file_range_flags])
rwf_flags = RWF_DSYNC, RWF_HIPRI, RWF_SYNC, RWF_NOWAIT, RWF_APPEND
+copy_file_range_flags = 0
dup(oldfd fd) fd
dup2(oldfd fd, newfd fd) fd
diff --git a/sys/linux/sys_386.const b/sys/linux/sys_386.const
index ddb64ebf4..c052da423 100644
--- a/sys/linux/sys_386.const
+++ b/sys/linux/sys_386.const
@@ -607,6 +607,7 @@ __NR_clone = 120
__NR_clone3 = 435
__NR_close = 6
__NR_close_range = 436
+__NR_copy_file_range = 377
__NR_creat = 8
__NR_delete_module = 129
__NR_dup = 41
diff --git a/sys/linux/sys_amd64.const b/sys/linux/sys_amd64.const
index ec1d8f7fe..9df2b7b79 100644
--- a/sys/linux/sys_amd64.const
+++ b/sys/linux/sys_amd64.const
@@ -607,6 +607,7 @@ __NR_clone = 56
__NR_clone3 = 435
__NR_close = 3
__NR_close_range = 436
+__NR_copy_file_range = 326
__NR_creat = 85
__NR_delete_module = 176
__NR_dup = 32
diff --git a/sys/linux/sys_arm.const b/sys/linux/sys_arm.const
index 20644bead..4b7760fb6 100644
--- a/sys/linux/sys_arm.const
+++ b/sys/linux/sys_arm.const
@@ -607,6 +607,7 @@ __NR_clone = 120
__NR_clone3 = 435
__NR_close = 6
__NR_close_range = 436
+__NR_copy_file_range = 391
__NR_creat = 8
__NR_delete_module = 129
__NR_dup = 41
diff --git a/sys/linux/sys_arm64.const b/sys/linux/sys_arm64.const
index 95fcd5ba5..e689806f0 100644
--- a/sys/linux/sys_arm64.const
+++ b/sys/linux/sys_arm64.const
@@ -607,6 +607,7 @@ __NR_clone = 220
__NR_clone3 = 435
__NR_close = 57
__NR_close_range = 436
+__NR_copy_file_range = 285
# __NR_creat is not set
__NR_delete_module = 106
__NR_dup = 23
diff --git a/sys/linux/sys_mips64le.const b/sys/linux/sys_mips64le.const
index ab0afef83..87f6ee1a4 100644
--- a/sys/linux/sys_mips64le.const
+++ b/sys/linux/sys_mips64le.const
@@ -607,6 +607,7 @@ __NR_clone = 5055
__NR_clone3 = 5435
__NR_close = 5003
__NR_close_range = 5436
+__NR_copy_file_range = 5320
__NR_creat = 5083
__NR_delete_module = 5169
__NR_dup = 5031
diff --git a/sys/linux/sys_ppc64le.const b/sys/linux/sys_ppc64le.const
index 7da3b6676..f2e1ffe66 100644
--- a/sys/linux/sys_ppc64le.const
+++ b/sys/linux/sys_ppc64le.const
@@ -607,6 +607,7 @@ __NR_clone = 120
__NR_clone3 = 435
__NR_close = 6
__NR_close_range = 436
+__NR_copy_file_range = 379
__NR_creat = 8
__NR_delete_module = 129
__NR_dup = 41
diff --git a/sys/linux/sys_riscv64.const b/sys/linux/sys_riscv64.const
index 2eb0ae338..497945ae5 100644
--- a/sys/linux/sys_riscv64.const
+++ b/sys/linux/sys_riscv64.const
@@ -607,6 +607,7 @@ __NR_clone = 220
__NR_clone3 = 435
__NR_close = 57
__NR_close_range = 436
+__NR_copy_file_range = 285
# __NR_creat is not set
__NR_delete_module = 106
__NR_dup = 23
diff --git a/sys/linux/sys_s390x.const b/sys/linux/sys_s390x.const
index d743ee3ee..2065b9ae1 100644
--- a/sys/linux/sys_s390x.const
+++ b/sys/linux/sys_s390x.const
@@ -607,6 +607,7 @@ __NR_clone = 120
__NR_clone3 = 435
__NR_close = 6
__NR_close_range = 436
+__NR_copy_file_range = 375
__NR_creat = 8
__NR_delete_module = 129
__NR_dup = 41