Merge pull request #11376 from evanphx:b-cgroupfs-flag

PiperOrigin-RevId: 718032101
This commit is contained in:
gVisor bot
2025-01-21 12:51:30 -08:00
+1 -1
View File
@@ -123,7 +123,7 @@ func RegisterFlags(flagSet *flag.FlagSet) {
flagSet.Bool("vfs2", true, "DEPRECATED: this flag has no effect.")
flagSet.Bool("fuse", true, "DEPRECATED: this flag has no effect.")
flagSet.Bool("lisafs", true, "DEPRECATED: this flag has no effect.")
flagSet.Bool("cgroupfs", false, "Automatically mount cgroupfs.")
flagSet.Bool("cgroupfs", false, "DEPRECATED: this flag has no effect.")
flagSet.Bool("ignore-cgroups", false, "don't configure cgroups.")
flagSet.Int("fdlimit", -1, "Specifies a limit on the number of host file descriptors that can be open. Applies separately to the sentry and gofer. Note: each file in the sandbox holds more than one host FD open.")
flagSet.Int("dcache", -1, "Set the global dentry cache size. This acts as a coarse-grained control on the number of host FDs simultaneously open by the sentry. If negative, per-mount caches are used.")