diff options
author | Omar Polo <op@omarpolo.com> | 2023-06-23 15:52:04 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2023-06-23 15:52:04 +0000 |
commit | b692d8bd5b24045832657a01b7ad6fa15793ef68 (patch) | |
tree | f07a5005628630c8b14de6582f26eb983977bbbf /sandbox.c | |
parent | 5dad390015970eb1e35f6e6fd9f8f28bf6e6db0e (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"); } |