diff --git a/sandboxed_api/sandbox2/policybuilder.h b/sandboxed_api/sandbox2/policybuilder.h index 21802572..04263750 100644 --- a/sandboxed_api/sandbox2/policybuilder.h +++ b/sandboxed_api/sandbox2/policybuilder.h @@ -683,6 +683,7 @@ class PolicyBuilder final { // namespace. Note that this only disables the network namespace. To // actually allow networking, you would also need to allow networking // syscalls. Calling this function will enable use of namespaces. + ABSL_DEPRECATED("Use Allow(sandbox2::UnrestrictedNetworking()) instead") PolicyBuilder& AllowUnrestrictedNetworking(); // Enables the use of namespaces.