From bcb4cb4543acf13f0ccb518da1b340b5d7424c6d Mon Sep 17 00:00:00 2001 From: Brian Gianforcaro Date: Thu, 6 Aug 2020 19:33:30 -0700 Subject: [PATCH] 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. --- Services/AudioServer/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Services/AudioServer/main.cpp b/Services/AudioServer/main.cpp index d529bf7d063..ea489e2a133 100644 --- a/Services/AudioServer/main.cpp +++ b/Services/AudioServer/main.cpp @@ -57,5 +57,7 @@ int main(int, char**) return 1; } + unveil(nullptr, nullptr); + return event_loop.exec(); }