From 34708bd1bebcd3ac500aba2daf17dc3cb5046c4c Mon Sep 17 00:00:00 2001 From: 4lDO2 <4lDO2@protonmail.com> Date: Tue, 1 Aug 2023 15:44:41 +0200 Subject: [PATCH] Temporarily disable MAP_LAZY. --- src/scheme/user.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/scheme/user.rs b/src/scheme/user.rs index d40e3e9fe8..fc47f5f1a9 100644 --- a/src/scheme/user.rs +++ b/src/scheme/user.rs @@ -507,7 +507,12 @@ impl UserInner { gid: 0, })?; - let mapping_is_lazy = map.flags.contains(MapFlags::MAP_LAZY); + // TODO: I've previously tested that this works, but because the scheme trait all of + // Redox's schemes currently rely on doesn't allow one-way messages, there's no current + // code using it. + + //let mapping_is_lazy = map.flags.contains(MapFlags::MAP_LAZY); + let mapping_is_lazy = false; let base_page_opt = match response { Response::Regular(code) => (!mapping_is_lazy)