summaryrefslogtreecommitdiff
path: root/Userland/Services/NotificationServer/main.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-01-15 22:36:36 +0100
committerAndreas Kling <kling@serenityos.org>2021-01-15 23:24:07 +0100
commit633915e792d7de56ce30fa527d4421d16e80ec6c (patch)
tree341e2a934c609df83b033f5c743105276eeeeead /Userland/Services/NotificationServer/main.cpp
parentadb9ade88db937c917716db541264f38b04d35d2 (diff)
downloadserenity-633915e792d7de56ce30fa527d4421d16e80ec6c.zip
LibGfx: Make Gfx::ShareableBitmap use anonymous files instead of shbufs
Diffstat (limited to 'Userland/Services/NotificationServer/main.cpp')
-rw-r--r--Userland/Services/NotificationServer/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Services/NotificationServer/main.cpp b/Userland/Services/NotificationServer/main.cpp
index 7661c3ba8e..2b562ce383 100644
--- a/Userland/Services/NotificationServer/main.cpp
+++ b/Userland/Services/NotificationServer/main.cpp
@@ -35,7 +35,7 @@
int main(int argc, char** argv)
{
- if (pledge("stdio sendfd shared_buffer accept rpath wpath cpath unix fattr", nullptr) < 0) {
+ if (pledge("stdio recvfd sendfd shared_buffer accept rpath wpath cpath unix fattr", nullptr) < 0) {
perror("pledge");
return 1;
}
@@ -63,7 +63,7 @@ int main(int argc, char** argv)
unveil(nullptr, nullptr);
- if (pledge("stdio sendfd shared_buffer accept rpath", nullptr) < 0) {
+ if (pledge("stdio recvfd sendfd shared_buffer accept rpath", nullptr) < 0) {
perror("pledge");
return 1;
}