diff --git a/sandboxed_api/sandbox2/policybuilder.cc b/sandboxed_api/sandbox2/policybuilder.cc index fb84763..bf6d4bf 100644 --- a/sandboxed_api/sandbox2/policybuilder.cc +++ b/sandboxed_api/sandbox2/policybuilder.cc @@ -242,6 +242,7 @@ PolicyBuilder& PolicyBuilder::AllowTcMalloc() { {__NR_munmap, __NR_nanosleep, __NR_brk, __NR_mincore, __NR_membarrier}); AllowLimitedMadvise(); AllowPrctlSetVma(); + AllowPoll(); AddPolicyOnSyscall(__NR_mprotect, { ARG_32(2),