1
Fork 0
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:
Brian Gianforcaro 2020-08-06 19:33:30 -07:00 committed by Andreas Kling
parent f008e83eae
commit bcb4cb4543

View file

@ -57,5 +57,7 @@ int main(int, char**)
return 1;
}
unveil(nullptr, nullptr);
return event_loop.exec();
}