Browse Source

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.
Brian Gianforcaro 5 năm trước cách đây
mục cha
commit
bcb4cb4543
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      Services/AudioServer/main.cpp

+ 2 - 0
Services/AudioServer/main.cpp

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