From 1a9b17f2b525d39ebedd375783f546c5879011e7 Mon Sep 17 00:00:00 2001 From: valoq Date: Thu, 27 Jul 2023 18:00:25 +0200 Subject: [PATCH] add restart syscall --- zathura/seccomp-filters.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zathura/seccomp-filters.c b/zathura/seccomp-filters.c index 0451347..6c5a9ea 100644 --- a/zathura/seccomp-filters.c +++ b/zathura/seccomp-filters.c @@ -219,7 +219,7 @@ seccomp_enable_strict_filter(zathura_t* zathura) ALLOW_RULE(readlink); /* readlinkat */ /* ALLOW_RULE(recvfrom); X11 only */ ALLOW_RULE(recvmsg); - /* ALLOW_RULE(restart_syscall); used by the kernel only */ + ALLOW_RULE(restart_syscall); /* required for wakeup from suspense */ ALLOW_RULE(rseq); ALLOW_RULE(rt_sigaction); ALLOW_RULE(rt_sigprocmask);