Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 1 | From 7b3bc1de0c79a1b410105ce36bbe9f774438d263 Mon Sep 17 00:00:00 2001 |
| 2 | From: Ross Schulman <ross@rbs.io> |
| 3 | Date: Tue, 1 Feb 2022 09:13:16 -0500 |
| 4 | Subject: [PATCH] Add 400-series syscalls to musl riscv64 definitions |
| 5 | |
| 6 | Upstream-Status: Backport [https://github.com/rust-lang/libc/commit/7b3bc1de0c79a1b410105ce36bbe9f774438d263] |
| 7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 8 | --- |
| 9 | .../linux_like/linux/musl/b64/riscv64/mod.rs | 19 +++++++++++++++++++ |
| 10 | 1 file changed, 19 insertions(+) |
| 11 | |
Patrick Williams | 03907ee | 2022-05-01 06:28:52 -0500 | [diff] [blame] | 12 | diff --git a/vendor/libc-0.2.112/src/unix/linux_like/linux/musl/b64/riscv64/mod.rs b/vendor/libc-0.2.112/src/unix/linux_like/linux/musl/b64/riscv64/mod.rs |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 13 | index 6b17621c7..2036583d5 100644 |
Patrick Williams | 03907ee | 2022-05-01 06:28:52 -0500 | [diff] [blame] | 14 | --- a/vendor/libc-0.2.112/src/unix/linux_like/linux/musl/b64/riscv64/mod.rs |
| 15 | +++ b/vendor/libc-0.2.112/src/unix/linux_like/linux/musl/b64/riscv64/mod.rs |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 16 | @@ -465,6 +465,25 @@ pub const SYS_pkey_mprotect: ::c_long = 288; |
| 17 | pub const SYS_pkey_alloc: ::c_long = 289; |
| 18 | pub const SYS_pkey_free: ::c_long = 290; |
| 19 | pub const SYS_statx: ::c_long = 291; |
| 20 | +pub const SYS_pidfd_send_signal: ::c_long = 424; |
| 21 | +pub const SYS_io_uring_setup: ::c_long = 425; |
| 22 | +pub const SYS_io_uring_enter: ::c_long = 426; |
| 23 | +pub const SYS_io_uring_register: ::c_long = 427; |
| 24 | +pub const SYS_open_tree: ::c_long = 428; |
| 25 | +pub const SYS_move_mount: ::c_long = 429; |
| 26 | +pub const SYS_fsopen: ::c_long = 430; |
| 27 | +pub const SYS_fsconfig: ::c_long = 431; |
| 28 | +pub const SYS_fsmount: ::c_long = 432; |
| 29 | +pub const SYS_fspick: ::c_long = 433; |
| 30 | +pub const SYS_pidfd_open: ::c_long = 434; |
| 31 | +pub const SYS_clone3: ::c_long = 435; |
| 32 | +pub const SYS_close_range: ::c_long = 436; |
| 33 | +pub const SYS_openat2: ::c_long = 437; |
| 34 | +pub const SYS_pidfd_getfd: ::c_long = 438; |
| 35 | +pub const SYS_faccessat2: ::c_long = 439; |
| 36 | +pub const SYS_process_madvise: ::c_long = 440; |
| 37 | +pub const SYS_epoll_pwait2: ::c_long = 441; |
| 38 | +pub const SYS_mount_setattr: ::c_long = 442; |
| 39 | |
| 40 | pub const O_APPEND: ::c_int = 1024; |
| 41 | pub const O_DIRECT: ::c_int = 0x4000; |
| 42 | -- |
| 43 | 2.35.1 |
| 44 | |