Просмотр исходного кода

Shell: Add `map_fixed` to the pledges for command autocompletion

Tim Schumacher 2 лет назад
Родитель
Сommit
8370377832
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      Userland/Shell/Shell.cpp

+ 1 - 1
Userland/Shell/Shell.cpp

@@ -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" },
         },