mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:18:11 +00:00
AudioServer: Lock the process veil after startup
We can't do any file syscalls anyway because of the reduction of pledges, so we might as well lock the veil anyway.
This commit is contained in:
parent
f008e83eae
commit
bcb4cb4543
1 changed files with 2 additions and 0 deletions
|
@ -57,5 +57,7 @@ int main(int, char**)
|
|||
return 1;
|
||||
}
|
||||
|
||||
unveil(nullptr, nullptr);
|
||||
|
||||
return event_loop.exec();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue