From d372eb01694bddc37fbf8f8a320da8c41a7376bb Mon Sep 17 00:00:00 2001 From: vasilito Date: Mon, 27 Jul 2026 17:00:37 +0900 Subject: [PATCH] =?UTF-8?q?local/docs:=20add=20DEF-P0-7=20(relibc=20MSG=5F?= =?UTF-8?q?NOSIGNAL)=20+=20stale=20TODO=20removal=20to=20=C2=A715.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit HIGH DEF-P0-7: relibc MSG_NOSIGNAL now properly blocks SIGPIPE via pthread_sigmask around the syscall, instead of stripping the flag. sendmsg does the sigprocmask block; sendto forwards the original flags to sendmsg (removing the previous 'flags & !MSG_NOSIGNAL' workaround). Also removed the stale 'TCP lacks SocketCall::SendMsg handling' TODO - the netstack scheme handler at local/sources/base/netstack/src/scheme/socket.rs:519-533 does handle SocketCall::SendMsg for both SOCK_STREAM and SOCK_DGRAM. --- local/docs/NETWORKING-AND-DRIVERS-CODE-ASSESSMENT-2026-07-27.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/local/docs/NETWORKING-AND-DRIVERS-CODE-ASSESSMENT-2026-07-27.md b/local/docs/NETWORKING-AND-DRIVERS-CODE-ASSESSMENT-2026-07-27.md index 4a61213312..8dd454c60a 100644 --- a/local/docs/NETWORKING-AND-DRIVERS-CODE-ASSESSMENT-2026-07-27.md +++ b/local/docs/NETWORKING-AND-DRIVERS-CODE-ASSESSMENT-2026-07-27.md @@ -1021,6 +1021,8 @@ incrementally; this is a rolling changelog. | **P001 (firewalling)** | **IPv6 ext header firewall bypass fix** | `submodule/base f6780296` → parent `17367212dc` | `local/sources/base/netstack/src/router/mod.rs` (ipv6_transport_offset walker) | | **CRITICAL F002** | **worker_pool from_raw_fd type tightening** | `submodule/base b19e0a64` → parent `146cd0dced` | `local/sources/base/netstack/src/worker_pool.rs` (RawFd not usize) | | **CRITICAL F003** | **scheme File ownership redundant cast fix** | `submodule/base e3f87fa3` → parent `2356417820` | `local/sources/base/netstack/src/scheme/mod.rs` (2 sites) | +| **HIGH DEF-P0-7 (relibc)** | **MSG_NOSIGNAL: implement sigprocmask SIGPIPE blocking** | `submodule/relibc ccd379c6` → parent `f7f27a91f3` | `local/sources/relibc/src/platform/redox/socket.rs` (sendmsg + sendto) | +| **STALE TCP SendMsg TODO** | Removed (netstack does handle SocketCall::SendMsg at `local/sources/base/netstack/src/scheme/socket.rs:519-533`) | (same relibc commit) | `local/sources/relibc/src/platform/redox/socket.rs` (sendto) | | **F21 (dnsd wiring)** | **Wire redbear-dnsd into redbear-mini** | `6b105c7cee` | `config/redbear-mini.toml` ([packages] + [init] 11_dnsd.service) | | **ghost-recipe docs** | **netd/audiodevd/usbd WIP per AGENTS.md** | `6b105c7cee` | `local/recipes/system/{netd,audiodevd,usbd}/recipe.toml` | | **local ssh recipe** | **net/openssh Red Bear fork with IPv6 detect + host-key gen** | `5656f8ccbe` | `local/recipes/net/openssh/recipe.toml` + `local/scripts/apply-patches.sh` symlink entry |