From 664cf58ee8fb9cfce1a4fcf93af350c28f308956 Mon Sep 17 00:00:00 2001 From: Necip Fazil Yildiran Date: Fri, 24 Jul 2020 08:01:38 +0000 Subject: sys/linux: added descs for preadv2, pwritev2 --- sys/linux/sys_riscv64.const | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sys/linux/sys_riscv64.const') diff --git a/sys/linux/sys_riscv64.const b/sys/linux/sys_riscv64.const index 0c758c9bd..2eb0ae338 100644 --- a/sys/linux/sys_riscv64.const +++ b/sys/linux/sys_riscv64.const @@ -459,6 +459,11 @@ RSEQ_CS_FLAG_NO_RESTART_ON_SIGNAL = 2 RUSAGE_CHILDREN = 18446744073709551615 RUSAGE_SELF = 0 RUSAGE_THREAD = 1 +RWF_APPEND = 16 +RWF_DSYNC = 2 +RWF_HIPRI = 1 +RWF_NOWAIT = 8 +RWF_SYNC = 4 RWF_WRITE_LIFE_NOT_SET = 0 RWH_WRITE_LIFE_EXTREME = 5 RWH_WRITE_LIFE_LONG = 4 @@ -724,6 +729,7 @@ __NR_pkey_mprotect = 288 __NR_ppoll = 73 __NR_pread64 = 67 __NR_preadv = 69 +__NR_preadv2 = 286 __NR_prlimit64 = 261 __NR_process_madvise = 443 __NR_process_vm_readv = 270 @@ -732,6 +738,7 @@ __NR_pselect6 = 72 __NR_ptrace = 117 __NR_pwrite64 = 68 __NR_pwritev = 70 +__NR_pwritev2 = 287 __NR_quotactl = 60 __NR_read = 63 __NR_readahead = 213 -- cgit mrf-deployment