Add stub for kill and sigq.
This commit is contained in:
+1
-1
@@ -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 = {
|
||||
|
||||
@@ -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))
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user