Remove deprecated AddTmpfs

PiperOrigin-RevId: 414387983
Change-Id: I872c2f3bc1ccaf7a20d7ab97a5cb104d4f096a3f
This commit is contained in:
Wiktor Garbacz 2021-12-06 02:35:29 -08:00 committed by Copybara-Service
parent 2a67805a13
commit 245a8c7650

View File

@ -483,13 +483,6 @@ class PolicyBuilder final {
// directories inside the namespace if needed.
//
// Calling this function will enable use of namespaces.
ABSL_DEPRECATED(
"Explicitly specify tmpfs size by using AddTmpfs(inside, sz) instead")
PolicyBuilder& AddTmpfs(absl::string_view inside) {
LOG(WARNING) << "Tmpfs size not specified, defaulting to 4 MiB";
return this->AddTmpfs(inside, /*size=*/4ULL << 20 /* 4 MiB */);
}
PolicyBuilder& AddTmpfs(absl::string_view inside, size_t size);
// Allows unrestricted access to the network by *not* creating a network