aboutsummaryrefslogtreecommitdiff
path: root/sandbox.c
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2023-06-23 15:52:20 +0000
committerOmar Polo <op@omarpolo.com>2023-06-23 15:52:20 +0000
commitc5ded53a8e37b5812d3648c4247ba9f4cc6f2028 (patch)
tree73703c1c04ca9d6f00786064cdc14f377f8b6811 /sandbox.c
parentb692d8bd5b24045832657a01b7ad6fa15793ef68 (diff)
sort pledge promises as per pledge(2)
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 7d27865..fbc40a6 100644
--- a/sandbox.c
+++ b/sandbox.c
@@ -31,7 +31,7 @@ sandbox_main_process(void)
void
sandbox_server_process(void)
{
- if (pledge("stdio recvfd rpath unix inet dns", NULL) == -1)
+ if (pledge("stdio rpath inet unix dns recvfd", NULL) == -1)
fatal("pledge");
}