Userland: Tighten a *lot* of pledges! :^)

Since applications using Core::EventLoop no longer need to create a
socket in /tmp/rpc/, and also don't need to listen for incoming
connections on this socket, we can remove a whole bunch of pledges!
This commit is contained in:
Andreas Kling 2021-05-13 23:20:26 +02:00
commit 31d4bcf5bf
Notes: sideshowbarker 2024-07-18 18:12:22 +09:00
59 changed files with 97 additions and 163 deletions

View file

@ -172,7 +172,7 @@ int main(int argc, char** argv)
{
editor = Line::Editor::construct();
if (pledge("stdio proc ptrace exec rpath tty sigaction cpath unix fattr", nullptr) < 0) {
if (pledge("stdio proc ptrace exec rpath tty sigaction cpath unix", nullptr) < 0) {
perror("pledge");
return 1;
}