From d81cdc8f4fbe23e9dc468f26f324ff351f1b9992 Mon Sep 17 00:00:00 2001 From: vasilito Date: Mon, 27 Jul 2026 17:07:26 +0900 Subject: [PATCH] =?UTF-8?q?local/docs:=20add=20libredox=20Fd::ftruncate/fu?= =?UTF-8?q?timens=20&self=20fix=20to=20=C2=A715.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit libredox API bug: Fd::ftruncate and Fd::futimens previously took 'self' (consuming the Fd), which would trigger Fd::drop and close the fd as a side effect. POSIX ftruncate/futimens do NOT close the fd. Changed to '&self' to match the surrounding methods (fsync, fdatasync) and match POSIX semantics. --- local/docs/NETWORKING-AND-DRIVERS-CODE-ASSESSMENT-2026-07-27.md | 1 + 1 file changed, 1 insertion(+) 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 8dd454c60a..325481a829 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 @@ -1022,6 +1022,7 @@ incrementally; this is a rolling changelog. | **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) | +| **libredox API bug** | **Fd::ftruncate/futimens take &self, not self** | `submodule/libredox 5bb745e` → parent `cc37a2c08a` | `local/sources/libredox/src/lib.rs` | | **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` |