fix: protocol constants and local path deps

This commit is contained in:
2026-07-05 23:57:27 +03:00
parent 4a578129b2
commit d6fa513ca7
2 changed files with 11 additions and 5 deletions
+4 -1
View File
@@ -30,6 +30,9 @@ libc = { version = "0.2", optional = true }
# in Rust code it is imported as `syscall`, NOT `redox_syscall`.
# This dep is optional and gated by the `redox_syscall` feature
# above. Matching upstream `libredox 0.1.18` structure.
redox_syscall = { path = "../syscall", version = "0.9.0+rb0.2.5", optional = true }
redox_syscall = { path = "../syscall", optional = true }
ioslice = { version = "0.6", optional = true }
plain = { version = "0.2", optional = true }
[patch.crates-io]
redox_syscall = { path = "../syscall" }
+7 -4
View File
@@ -1090,12 +1090,12 @@ pub mod protocol {
pub const SIGALRM: usize = 14;
pub const SIGTERM: usize = 15;
pub const SIGSTKFLT: usize = 16;
pub const SIGCHLD: usize = syscall::SIGCHLD;
pub const SIGCHLD: usize = 17;
pub const SIGCONT: usize = 18;
pub const SIGSTOP: usize = 19;
pub const SIGTSTP: usize = syscall::SIGTSTP;
pub const SIGTTIN: usize = syscall::SIGTTIN;
pub const SIGTTOU: usize = syscall::SIGTTOU;
pub const SIGTSTP: usize = 20;
pub const SIGTTIN: usize = 21;
pub const SIGTTOU: usize = 22;
pub const SIGURG: usize = 23;
pub const SIGXCPU: usize = 24;
pub const SIGXFSZ: usize = 25;
@@ -1137,4 +1137,7 @@ pub mod protocol {
})
}
}
pub const O_CLOEXEC: usize = 0x0100_0000;
pub const F_DUPFD_CLOEXEC: usize = 5;
}