mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Update config/flags documentation
This commit is contained in:
@@ -364,9 +364,8 @@ type Config struct {
|
||||
// present, and reproduce them in the sandbox.
|
||||
ReproduceNftables bool `flag:"reproduce-nftables"`
|
||||
|
||||
// NetDisconnectOk indicates whether the link endpoint capability
|
||||
// CapabilityDisconnectOk should be set. This allows open connections to be
|
||||
// disconnected upon save.
|
||||
// Indicates whether open network connections and open unix domain
|
||||
// sockets should be disconnected upon save."
|
||||
NetDisconnectOk bool `flag:"net-disconnect-ok"`
|
||||
|
||||
// TestOnlyAutosaveImagePath if not empty enables auto save for syscall tests
|
||||
|
||||
@@ -128,7 +128,7 @@ func RegisterFlags(flagSet *flag.FlagSet) {
|
||||
flagSet.Bool("EXPERIMENTAL-xdp-need-wakeup", true, "EXPERIMENTAL. Use XDP_USE_NEED_WAKEUP with XDP sockets.") // TODO(b/240191988): Figure out whether this helps and remove it as a flag.
|
||||
flagSet.Bool("reproduce-nat", false, "Scrape the host netns NAT table and reproduce it in the sandbox.")
|
||||
flagSet.Bool("reproduce-nftables", false, "Attempt to scrape and reproduce nftable rules inside the sandbox. Overrides reproduce-nat when true.")
|
||||
flagSet.Bool("net-disconnect-ok", false, "Indicates whether the link endpoint capability CapabilityDisconnectOk should be set. This allows open connections to be disconnected upon save.")
|
||||
flagSet.Bool("net-disconnect-ok", false, "Indicates whether open network connections and open unix domain sockets should be disconnected upon save.")
|
||||
|
||||
// Flags that control sandbox runtime behavior: accelerator related.
|
||||
flagSet.Bool("nvproxy", false, "EXPERIMENTAL: enable support for Nvidia GPUs")
|
||||
|
||||
Reference in New Issue
Block a user