wind: Stop using the removed 'signal' pledge
All checks were successful
continuous-integration/drone/pr Build is passing

This commit is contained in:
apio 2023-08-22 13:37:07 +02:00
parent 033b4c3db8
commit 1d4055411d
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -55,7 +55,7 @@ Result<int> luna_main(int argc, char** argv)
{ {
srand((unsigned)time(NULL)); 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 socket_path = "/tmp/wind.sock";
StringView user; 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 = keyboard->fd(), .events = POLLIN, .revents = 0 }));
TRY(fds.try_append({ .fd = server->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) while (1)
{ {