From 8370377832193bf0486aeae4fe33937a328794bb Mon Sep 17 00:00:00 2001 From: Tim Schumacher Date: Wed, 12 Apr 2023 11:18:17 +0200 Subject: [PATCH] Shell: Add `map_fixed` to the pledges for command autocompletion --- Userland/Shell/Shell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Shell/Shell.cpp b/Userland/Shell/Shell.cpp index 42a02cd58d..638889564f 100644 --- a/Userland/Shell/Shell.cpp +++ b/Userland/Shell/Shell.cpp @@ -1901,7 +1901,7 @@ ErrorOr> Shell::complete_via_program_itself(s // Restrict the process to effectively readonly access to the FS. auto scoped_promise = promise({ - .exec_promises = "stdio rpath prot_exec no_error", + .exec_promises = "stdio rpath prot_exec map_fixed no_error", .unveils = { { "/", "rx" }, },