diff --git a/src/lxc/seccomp.c b/src/lxc/seccomp.c index 66f9a70f22..55216bc0b6 100644 --- a/src/lxc/seccomp.c +++ b/src/lxc/seccomp.c @@ -1373,6 +1373,9 @@ int seccomp_notify_handler(int fd, uint32_t events, void *data, char *cookie = conf->seccomp.notifier.cookie; uint64_t req_id; + if (events & EPOLLHUP) + return log_trace(LXC_MAINLOOP_CLOSE, "Syscall supervisee already exited"); + memset(req, 0, sizeof(*req)); ret = seccomp_notify_receive(fd, req); if (ret) {