fix: protocol constants and local path deps
This commit is contained in:
+4
-1
@@ -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
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user