Skip to content

Commit 7426fd5

Browse files
committed
Also allow clock_gettime64
1 parent c040b92 commit 7426fd5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

zathura/seccomp-filters.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ int seccomp_enable_strict_filter(zathura_t* zathura) {
6161
/* ALLOW_RULE(clock_getres); unused? */
6262
/* ALLOW_RULE(clone); specified below, clone3 see comment below */
6363
ALLOW_RULE(clock_gettime); /* used when vDSO function is unavailable */
64+
#ifdef __NR_clock_gettime64
65+
ALLOW_RULE(clock_gettime64);
66+
#endif
6467
ALLOW_RULE(close);
6568
ALLOW_RULE(epoll_create1);
6669
ALLOW_RULE(epoll_ctl);

0 commit comments

Comments
 (0)