From ffc72742725bdae10d56f3f8448563c90b15b6cc Mon Sep 17 00:00:00 2001
From: apio <blobs.trading@gmail.com>
Date: Tue, 22 Aug 2023 13:37:07 +0200
Subject: [PATCH] wind: Stop using the removed 'signal' pledge

---
 wind/main.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/wind/main.cpp b/wind/main.cpp
index 1c77494a..1ec70451 100644
--- a/wind/main.cpp
+++ b/wind/main.cpp
@@ -55,7 +55,7 @@ Result<int> luna_main(int argc, char** argv)
 {
     srand((unsigned)time(NULL));
 
-    TRY(os::Security::pledge("stdio rpath wpath cpath unix proc exec tty signal id", NULL));
+    TRY(os::Security::pledge("stdio rpath wpath cpath unix proc exec tty id", NULL));
 
     StringView socket_path = "/tmp/wind.sock";
     StringView user;
@@ -124,7 +124,7 @@ Result<int> luna_main(int argc, char** argv)
     TRY(fds.try_append({ .fd = keyboard->fd(), .events = POLLIN, .revents = 0 }));
     TRY(fds.try_append({ .fd = server->fd(), .events = POLLIN, .revents = 0 }));
 
-    TRY(os::Security::pledge("stdio rpath wpath cpath unix signal proc exec", NULL));
+    TRY(os::Security::pledge("stdio rpath wpath cpath unix proc exec", NULL));
 
     while (1)
     {