Skip to content

Commit

Permalink
Internal change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 673087334
Change-Id: I83a5db9c076df56691b59a9bd0437ebd736a9509
  • Loading branch information
happyCoder92 authored and copybara-github committed Sep 10, 2024
1 parent 2ac067e commit 50d21e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sandboxed_api/sandbox2/policybuilder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1614,7 +1614,7 @@ PolicyBuilder& PolicyBuilder::AddTmpfs(absl::string_view inside, size_t size) {
return *this;
}

// Use Allow(UnrestrictedNetworking()) instead.
// Use Allow(sandbox2::UnrestrictedNetworking()) instead.
PolicyBuilder& PolicyBuilder::AllowUnrestrictedNetworking() {
return Allow(UnrestrictedNetworking());
}
Expand Down
2 changes: 1 addition & 1 deletion sandboxed_api/sandbox2/policybuilder.h
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,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")
ABSL_DEPRECATED("Use Allow(sandbox2::UnrestrictedNetworking()) instead.")
PolicyBuilder& AllowUnrestrictedNetworking();

// Enables the use of namespaces.
Expand Down

0 comments on commit 50d21e2

Please sign in to comment.