drop `proc' pledge in the main process

unlike the name might suggest, proc_kill() doesn't use kill(2) so
proc is not needed.
This commit is contained in:
Omar Polo 2023-06-23 15:52:04 +00:00
parent 5dad390015
commit b692d8bd5b
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@
void
sandbox_main_process(void)
{
if (pledge("stdio rpath inet dns sendfd proc", NULL) == -1)
if (pledge("stdio rpath inet dns sendfd", NULL) == -1)
fatal("pledge");
}