diff --git a/sandboxed_api/sandbox2/policybuilder.cc b/sandboxed_api/sandbox2/policybuilder.cc index 653ed3b9..4a832539 100644 --- a/sandboxed_api/sandbox2/policybuilder.cc +++ b/sandboxed_api/sandbox2/policybuilder.cc @@ -293,8 +293,8 @@ PolicyBuilder& PolicyBuilder::AllowTcMalloc() { allowed_complex_.tcmalloc = true; AllowTime(); AllowRestartableSequences(kRequireFastFences); - AllowSyscalls( - {__NR_munmap, __NR_nanosleep, __NR_brk, __NR_mincore, __NR_membarrier}); + AllowSyscalls({__NR_munmap, __NR_nanosleep, __NR_brk, __NR_mincore, + __NR_membarrier, __NR_lseek}); AllowLimitedMadvise(); AllowPrctlSetVma(); AllowPoll();