We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52f3837 commit 448855aCopy full SHA for 448855a
zathura/seccomp-filters.c
@@ -102,6 +102,9 @@ int seccomp_enable_strict_filter(zathura_t* zathura) {
102
ALLOW_RULE(madvise);
103
ALLOW_RULE(memfd_create);
104
ALLOW_RULE(mmap);
105
+#ifdef __NR_mmap2
106
+ ALLOW_RULE(mmap2); /* Only required on 32-bit ARM systems */
107
+#endif
108
ALLOW_RULE(mprotect);
109
ALLOW_RULE(mremap); /* mupdf requirement */
110
ALLOW_RULE(munmap);
0 commit comments