allow --reproduce-nftables to be overwritten via OCI annotations

Note that the flag is false by default.

PiperOrigin-RevId: 699255206
This commit is contained in:
Kevin Krakauer
2024-11-22 12:38:56 -08:00
committed by gVisor bot
parent b15656de59
commit 9e0e42b665
+8 -7
View File
@@ -156,13 +156,14 @@ func RegisterFlags(flagSet *flag.FlagSet) {
var overrideAllowlist = map[string]struct {
check func(name string, value string) error
}{
"debug": {},
"debug-to-user-log": {},
"strace": {},
"strace-syscalls": {},
"strace-log-size": {},
"host-uds": {},
"net-disconnect-ok": {},
"debug": {},
"debug-to-user-log": {},
"strace": {},
"strace-syscalls": {},
"strace-log-size": {},
"host-uds": {},
"net-disconnect-ok": {},
"reproduce-nftables": {},
"oci-seccomp": {check: checkOciSeccomp},
}