Skip to content

Commit d401dd5

Browse files
committed
Add clock_gettime to allowed syscalls
This change adds clock_gettime to the allowed syscalls when running ldconfig under seccomp. This seems to be required for newer glibc versions. Signed-off-by: Evan Lezar <[email protected]>
1 parent 9d6a23b commit d401dd5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/nvc_ldcache.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,7 @@ limit_syscalls(struct error *err)
272272
SCMP_SYS(brk),
273273
SCMP_SYS(chdir),
274274
SCMP_SYS(chmod),
275+
SCMP_SYS(clock_gettime),
275276
SCMP_SYS(close),
276277
SCMP_SYS(execve),
277278
SCMP_SYS(execveat),

0 commit comments

Comments
 (0)