From b47a5ead078f41b0e61e6a90781d97ad1f2a7e6a Mon Sep 17 00:00:00 2001 From: Wiktor Garbacz Date: Wed, 13 Sep 2023 09:05:53 -0700 Subject: [PATCH] Add TCMalloc related files to test policy PiperOrigin-RevId: 565067820 Change-Id: I55bbe80b568042c1639435867f565880667f0180 --- sandboxed_api/testing.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/sandboxed_api/testing.cc b/sandboxed_api/testing.cc index 1f3e986..1a71a25 100644 --- a/sandboxed_api/testing.cc +++ b/sandboxed_api/testing.cc @@ -43,6 +43,7 @@ sandbox2::PolicyBuilder CreateDefaultPermissiveTestPolicy( if constexpr (sapi::sanitizers::IsAny()) { builder.AddDirectory("/proc"); } + builder.AllowTcMalloc(); return builder; }