summaryrefslogtreecommitdiffhomepage
path: root/runsc
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2021-07-13 17:18:26 -0700
committergVisor bot <gvisor-bot@google.com>2021-07-13 17:20:41 -0700
commit85a0a353ad185946d39463fddb3ec2cb37876371 (patch)
treeafeb3bb2000bd1d3fcf0eeaeabc7cc4679cff8c8 /runsc
parentd4dce953b7ac4705f5b52ac24c031170d701031b (diff)
Replace whitelist with allowlist
PiperOrigin-RevId: 384586164
Diffstat (limited to 'runsc')
-rw-r--r--runsc/cmd/debug.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/runsc/cmd/debug.go b/runsc/cmd/debug.go
index 6212ffb2e..da81cf048 100644
--- a/runsc/cmd/debug.go
+++ b/runsc/cmd/debug.go
@@ -166,7 +166,7 @@ func (d *Debug) Execute(_ context.Context, f *flag.FlagSet, args ...interface{})
log.Infof("Enabling strace for syscalls: %s", d.strace)
args.SetStrace = true
args.EnableStrace = true
- args.StraceWhitelist = strings.Split(d.strace, ",")
+ args.StraceAllowlist = strings.Split(d.strace, ",")
}
if len(d.logLevel) != 0 {