Skip to content

Commit

Permalink
Mark AllowUnrestrictedNetworking as deprecated
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 670892922
Change-Id: I9f360e831743a267d0863b964366a941bfd7dad0
  • Loading branch information
happyCoder92 authored and copybara-github committed Sep 4, 2024
1 parent d40f747 commit c330b11
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sandboxed_api/sandbox2/policybuilder.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit c330b11

Please sign in to comment.