diff options
author | Omar Polo <op@omarpolo.com> | 2021-02-08 12:46:46 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-02-08 12:46:46 +0000 |
commit | df58efff26529acd6a5675d3b4044d494b138397 (patch) | |
tree | 40fd2b5cb4ac04c19533597efa79d2701e94627c /server.c | |
parent | d090dc8491682f30c49da381498c283c61f2e37b (diff) |
fix seccomp for the new event loop
add/remove syscalls from the BPF filter and move sandbox() after
libevent initialisation
Diffstat (limited to 'server.c')
-rw-r--r-- | server.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1059,5 +1059,7 @@ loop(struct tls *ctx, int sock4, int sock6) server.ctx = ctx; + sandbox(); event_dispatch(); + _exit(0); } |