summaryrefslogtreecommitdiff
path: root/Userland/Services/Taskbar
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/Services/Taskbar
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/Services/Taskbar')
-rw-r--r--Userland/Services/Taskbar/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Services/Taskbar/main.cpp b/Userland/Services/Taskbar/main.cpp
index 3917285497..eb49b1cc24 100644
--- a/Userland/Services/Taskbar/main.cpp
+++ b/Userland/Services/Taskbar/main.cpp
@@ -33,7 +33,7 @@
int main(int argc, char** argv)
{
- if (pledge("stdio shared_buffer accept proc exec rpath unix cpath fattr sigaction", nullptr) < 0) {
+ if (pledge("stdio sendfd shared_buffer accept proc exec rpath unix cpath fattr sigaction", nullptr) < 0) {
perror("pledge");
return 1;
}
@@ -45,7 +45,7 @@ int main(int argc, char** argv)
;
});
- if (pledge("stdio shared_buffer accept proc exec rpath", nullptr) < 0) {
+ if (pledge("stdio sendfd shared_buffer accept proc exec rpath", nullptr) < 0) {
perror("pledge");
return 1;
}