mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-22 12:35:14 +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
Notes:
sideshowbarker
2024-07-19 04:10:44 +09:00
Author: https://github.com/bgianfo Commit: https://github.com/SerenityOS/serenity/commit/bcb4cb4543a Pull-request: https://github.com/SerenityOS/serenity/pull/3037
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
Reference in a new issue