wind: Remove unneeded pledges
wind doesn't spawn child processes anymore, startui does.
This commit is contained in:
parent
3b8aabce0f
commit
f38c9e68c1
@ -58,7 +58,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 id", NULL));
|
||||
TRY(os::Security::pledge("stdio rpath wpath cpath unix tty id", NULL));
|
||||
|
||||
StringView socket_path = "/tmp/wind.sock";
|
||||
StringView system_socket_path = "/tmp/wsys.sock";
|
||||
@ -128,7 +128,7 @@ Result<int> luna_main(int argc, char** argv)
|
||||
TRY(fds.try_append({ .fd = server->fd(), .events = POLLIN, .revents = 0 }));
|
||||
TRY(fds.try_append({ .fd = system_server->fd(), .events = POLLIN, .revents = 0 }));
|
||||
|
||||
TRY(os::Security::pledge("stdio rpath wpath cpath unix proc exec", NULL));
|
||||
TRY(os::Security::pledge("stdio rpath wpath cpath unix", NULL));
|
||||
|
||||
while (1)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user