unblocks required syscalls gettimeofday and clock_gettime

This commit is contained in:
lambdcalculus 2022-12-31 17:20:57 -03:00
parent 1df1581f27
commit c0f3065b94
No known key found for this signature in database
GPG Key ID: 7A467368D7562077

View File

@ -160,6 +160,7 @@ seccomp_enable_strict_filter(zathura_t* zathura)
ALLOW_RULE(brk);
/* ALLOW_RULE(clock_getres); unused? */
/* ALLOW_RULE(clone); specified below, clone3 see comment below */
ALLOW_RULE(clock_gettime);
ALLOW_RULE(close);
ALLOW_RULE(eventfd2);
ALLOW_RULE(exit);
@ -183,6 +184,7 @@ seccomp_enable_strict_filter(zathura_t* zathura)
ALLOW_RULE(getpid);
ALLOW_RULE(getppid); /* required inside containers */
ALLOW_RULE(gettid);
ALLOW_RULE(gettimeofday);
ALLOW_RULE(getrandom);
ALLOW_RULE(getresgid);
ALLOW_RULE(getresuid);