1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:38:10 +00:00

Shell: Add map_fixed to the pledges for command autocompletion

This commit is contained in:
Tim Schumacher 2023-04-12 11:18:17 +02:00 committed by Tim Flynn
parent e78db6417a
commit 8370377832

View file

@ -1901,7 +1901,7 @@ ErrorOr<Vector<Line::CompletionSuggestion>> 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" },
},