Allow getpid call for log forwarding.

PiperOrigin-RevId: 407865992
Change-Id: Ia14dc5cc1628337292586955f1c17a8d8f2995de
This commit is contained in:
Sandboxed API Team 2021-11-05 11:15:52 -07:00 committed by Copybara-Service
parent b63fa3b981
commit 00747d5241

View File

@ -536,6 +536,8 @@ PolicyBuilder& PolicyBuilder::AllowLogForwarding() {
AllowSystemMalloc();
AllowTcMalloc();
// From comms
AllowGetPIDs();
AllowSyscalls({// from logging code
__NR_clock_gettime,
// From comms