diff options
author | Brian Gianforcaro <b.gianfo@gmail.com> | 2020-08-06 19:33:30 -0700 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-07 09:10:14 +0200 |
commit | bcb4cb4543acf13f0ccb518da1b340b5d7424c6d (patch) | |
tree | cffdc6a35bcf9ce91a491458cf22cb40c22dc4ac /Services | |
parent | f008e83eaebc16541854f9eaa9068cecb7fc9890 (diff) | |
download | serenity-bcb4cb4543acf13f0ccb518da1b340b5d7424c6d.zip |
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.
Diffstat (limited to 'Services')
-rw-r--r-- | Services/AudioServer/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Services/AudioServer/main.cpp b/Services/AudioServer/main.cpp index d529bf7d06..ea489e2a13 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(); } |