mirror of
https://github.com/RGBCube/serenity
synced 2025-07-23 13:57:35 +00:00
Shell: Add map_fixed
to the pledges for command autocompletion
This commit is contained in:
parent
e78db6417a
commit
8370377832
1 changed files with 1 additions and 1 deletions
|
@ -1901,7 +1901,7 @@ ErrorOr<Vector<Line::CompletionSuggestion>> Shell::complete_via_program_itself(s
|
||||||
|
|
||||||
// Restrict the process to effectively readonly access to the FS.
|
// Restrict the process to effectively readonly access to the FS.
|
||||||
auto scoped_promise = promise({
|
auto scoped_promise = promise({
|
||||||
.exec_promises = "stdio rpath prot_exec no_error",
|
.exec_promises = "stdio rpath prot_exec map_fixed no_error",
|
||||||
.unveils = {
|
.unveils = {
|
||||||
{ "/", "rx" },
|
{ "/", "rx" },
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue