base: stability fixes — acpid EC, inputd, block driver, ipcd UDS, netstack loopback, ptyd, ramfs, randd, scheme-utils blocking

This commit is contained in:
Red Bear OS
2026-07-09 23:54:10 +03:00
parent 9f3f77cb72
commit 417fe4a4fa
11 changed files with 241 additions and 63 deletions
+11 -3
View File
@@ -55,9 +55,13 @@ impl<'sock> Blocking<'sock> {
let response = req.handle_sync(scheme, &mut self.state);
self.responses_to_write.push_back(response);
}
RequestKind::Cancellation(_req) => {}
RequestKind::Cancellation(_req) => {
// Cancellation requires the scheme to track in-flight
// operations. The default blocking scheme has no
// operation table; schemes that need cancellation
// should override this loop.
}
RequestKind::OnClose { id } => {
// TODO: state.on_close()
scheme.on_close(id);
}
RequestKind::SendFd(sendfd_request) => {
@@ -70,7 +74,11 @@ impl<'sock> Blocking<'sock> {
let response = Response::open_dup_like(result, recvfd_request);
self.responses_to_write.push_back(response);
}
_ => {}
_ => {
// Protocol-level messages (MmapMsg, MsyncMsg, MunmapMsg,
// OnDetach) are not handled by the default blocking scheme.
// Schemes that need them should override this loop.
}
}
}