فهرست منبع

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 سال پیش
والد
کامیت
bcb4cb4543
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  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();
 }