summaryrefslogtreecommitdiff
path: root/Userland/Applications/FontEditor
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-01-15 12:14:42 +0100
committerAndreas Kling <kling@serenityos.org>2021-01-15 14:10:32 +0100
commit20915795a8497192132680aaff6a9009e59a4cf2 (patch)
treeccd57710410b13779e5e058507bcce604ee6f650 /Userland/Applications/FontEditor
parent0b0514d46bddf56052ca5a892d3a4b20aa8249c1 (diff)
downloadserenity-20915795a8497192132680aaff6a9009e59a4cf2.zip
Everywhere: Pledge "sendfd" in WindowServer client programs
This is needed for the new way we transfer window backing stores.
Diffstat (limited to 'Userland/Applications/FontEditor')
-rw-r--r--Userland/Applications/FontEditor/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Applications/FontEditor/main.cpp b/Userland/Applications/FontEditor/main.cpp
index f0a72d1d29..31e0450814 100644
--- a/Userland/Applications/FontEditor/main.cpp
+++ b/Userland/Applications/FontEditor/main.cpp
@@ -44,14 +44,14 @@
int main(int argc, char** argv)
{
- if (pledge("stdio shared_buffer thread rpath accept unix cpath wpath fattr unix", nullptr) < 0) {
+ if (pledge("stdio sendfd shared_buffer thread rpath accept unix cpath wpath fattr unix", nullptr) < 0) {
perror("pledge");
return 1;
}
auto app = GUI::Application::construct(argc, argv);
- if (pledge("stdio shared_buffer thread rpath accept cpath wpath unix", nullptr) < 0) {
+ if (pledge("stdio sendfd shared_buffer thread rpath accept cpath wpath unix", nullptr) < 0) {
perror("pledge");
return 1;
}
@@ -64,7 +64,7 @@ int main(int argc, char** argv)
return 1;
}
- if (pledge("stdio shared_buffer thread rpath accept cpath wpath", nullptr) < 0) {
+ if (pledge("stdio sendfd shared_buffer thread rpath accept cpath wpath", nullptr) < 0) {
perror("pledge");
return 1;
}