Make escalated communication pathless using sendfd.

This commit is contained in:
4lDO2
2023-10-14 12:48:12 +02:00
parent 76242fc7bc
commit 966c59ca0c
6 changed files with 127 additions and 114 deletions
+3
View File
@@ -144,6 +144,9 @@ impl Pal for Sys {
unsafe fn execve(path: &CStr, argv: *const *mut c_char, envp: *const *mut c_char) -> c_int {
e(syscall!(EXECVE, path.as_ptr(), argv, envp)) as c_int
}
unsafe fn fexecve(fildes: c_int, argv: *const *mut c_char, envp: *const *mut c_char) -> c_int {
todo!("not yet used by relibc")
}
fn exit(status: c_int) -> ! {
unsafe {