aboutsummaryrefslogtreecommitdiff
path: root/sandbox.c
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2023-06-23 15:52:04 +0000
committerOmar Polo <op@omarpolo.com>2023-06-23 15:52:04 +0000
commitb692d8bd5b24045832657a01b7ad6fa15793ef68 (patch)
treef07a5005628630c8b14de6582f26eb983977bbbf /sandbox.c
parent5dad390015970eb1e35f6e6fd9f8f28bf6e6db0e (diff)
drop `proc' pledge in the main process
unlike the name might suggest, proc_kill() doesn't use kill(2) so proc is not needed.
Diffstat (limited to 'sandbox.c')
-rw-r--r--sandbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sandbox.c b/sandbox.c
index ab8ddf8..7d27865 100644
--- a/sandbox.c
+++ b/sandbox.c
@@ -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");
}