diff options
author | Omar Polo <op@omarpolo.com> | 2021-03-20 08:42:08 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-03-20 08:42:08 +0000 |
commit | 62e001b06778c96d0deebceddf1913f7b57ab2d6 (patch) | |
tree | 086b6df9d90bb36ebc2a6a210966cc2dc158561e /log.c | |
parent | ad5301d1a00ba96c920fd89535cf9074b6e92088 (diff) |
move all sandbox-related code to sandbox.c
while there, add capsicum for the logger process
Diffstat (limited to 'log.c')
-rw-r--r-- | log.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -270,10 +270,7 @@ logger_main(int fd, struct imsgbuf *ibuf) event_set(&imsgev, fd, EV_READ | EV_PERSIST, &handle_dispatch_imsg, ibuf); event_add(&imsgev, NULL); -#ifdef __OpenBSD__ - if (pledge("stdio", NULL) == -1) - err(1, "pledge"); -#endif + sandbox_logger_process(); event_dispatch(); |