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
Notes: sideshowbarker 2024-07-19 04:10:44 +09:00

View File

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