Remove leftover DangerDefaultAllowAll

PiperOrigin-RevId: 513466766
Change-Id: I02b237c6900962c04ec41be9cbba9b9e6a8242a6
This commit is contained in:
Wiktor Garbacz 2023-03-02 01:21:34 -08:00 committed by Copybara-Service
parent 5a8a25e9ac
commit dfe0b9aa6d

View File

@ -28,7 +28,6 @@ class UVTestCallbackSapiSandbox : public uv::UVSandbox {
std::unique_ptr<sandbox2::Policy> ModifyPolicy( std::unique_ptr<sandbox2::Policy> ModifyPolicy(
sandbox2::PolicyBuilder*) override { sandbox2::PolicyBuilder*) override {
return sandbox2::PolicyBuilder() return sandbox2::PolicyBuilder()
.DangerDefaultAllowAll()
.AllowDynamicStartup() .AllowDynamicStartup()
.AllowExit() .AllowExit()
.AllowFutexOp(FUTEX_WAKE_PRIVATE) .AllowFutexOp(FUTEX_WAKE_PRIVATE)