aboutsummaryrefslogtreecommitdiff
path: root/server.c
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-03-20 08:42:08 +0000
committerOmar Polo <op@omarpolo.com>2021-03-20 08:42:08 +0000
commit62e001b06778c96d0deebceddf1913f7b57ab2d6 (patch)
tree086b6df9d90bb36ebc2a6a210966cc2dc158561e /server.c
parentad5301d1a00ba96c920fd89535cf9074b6e92088 (diff)
move all sandbox-related code to sandbox.c
while there, add capsicum for the logger process
Diffstat (limited to 'server.c')
-rw-r--r--server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.c b/server.c
index b059412..0080b17 100644
--- a/server.c
+++ b/server.c
@@ -1129,7 +1129,7 @@ loop(struct tls *ctx_, int sock4, int sock6, struct imsgbuf *ibuf)
signal_set(&sigusr2, SIGUSR2, &handle_siginfo, NULL);
signal_add(&sigusr2, NULL);
- sandbox();
+ sandbox_server_process();
event_dispatch();
_exit(0);
}