mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Remove deprecated AddTmpfs
PiperOrigin-RevId: 414387983 Change-Id: I872c2f3bc1ccaf7a20d7ab97a5cb104d4f096a3f
This commit is contained in:
parent
2a67805a13
commit
245a8c7650
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user