Skip to content

Commit deccb28

Browse files
committed
Allow yet more syscalls in ldconfig
1 parent 3ed06b3 commit deccb28

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/nvc_ldcache.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,11 +245,13 @@ limit_syscalls(struct error *err)
245245
SCMP_SYS(exit),
246246
SCMP_SYS(exit_group),
247247
SCMP_SYS(fcntl),
248+
SCMP_SYS(fdatasync),
248249
SCMP_SYS(fstat),
249250
SCMP_SYS(fsync),
250251
SCMP_SYS(ftruncate),
251252
SCMP_SYS(getcwd),
252253
SCMP_SYS(getdents),
254+
SCMP_SYS(getdents64),
253255
SCMP_SYS(getegid),
254256
SCMP_SYS(geteuid),
255257
SCMP_SYS(getgid),
@@ -260,8 +262,8 @@ limit_syscalls(struct error *err)
260262
SCMP_SYS(lseek),
261263
SCMP_SYS(lstat),
262264
SCMP_SYS(mkdir),
263-
SCMP_SYS(mprotect),
264265
SCMP_SYS(mmap),
266+
SCMP_SYS(mprotect),
265267
SCMP_SYS(mremap),
266268
SCMP_SYS(munmap),
267269
SCMP_SYS(newfstatat),

0 commit comments

Comments
 (0)