Add stub for kill and sigq.

This commit is contained in:
4lDO2
2025-03-30 01:13:38 +01:00
parent 443c49f6c5
commit fd3a9f9a94
2 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ pub fn main() -> ! {
FdGuard::new(syscall::dup(*auth, b"cur-context").expect("failed to open open_via_dup"));
let this_thr_fd = unsafe { redox_rt::initialize_freestanding(this_thr_fd) };
log::set_max_level(log::LevelFilter::Trace);
log::set_max_level(log::LevelFilter::Debug);
let _ = log::set_logger(&Logger);
let envs = {
+8
View File
@@ -716,6 +716,14 @@ impl<'a> ProcScheme<'a> {
self.on_setresugid(fd_pid, payload).map(|()| 0),
op,
)),
ProcCall::Kill => {
log::error!("KILL STUB");
Ready(Response::ok(0, op))
}
ProcCall::Sigq => {
log::error!("SIGQ STUB");
Ready(Response::ok(0, op))
}
}
}
}