diff options
author | Fabricio Voznika <fvoznika@google.com> | 2018-10-11 11:55:45 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-10-11 11:56:54 -0700 |
commit | f413e4b11794cd71cc3b2b64c8f6861f5394a3f1 (patch) | |
tree | ff9af373751ee40db971ae6dd23a6c752e8d43fe /runsc/cmd/checkpoint.go | |
parent | 0bfa03d61c7791aad03da5ac021bc60e4578858e (diff) |
Add bare bones unsupported syscall logging
This change introduces a new flags to create/run called
--user-log. Logs to this files are visible to users and
are meant to help debugging problems with their images
and containers.
For now only unsupported syscalls are sent to this log,
and only minimum support was added. We can build more
infrastructure around it as needed.
PiperOrigin-RevId: 216735977
Change-Id: I54427ca194604991c407d49943ab3680470de2d0
Diffstat (limited to 'runsc/cmd/checkpoint.go')
-rw-r--r-- | runsc/cmd/checkpoint.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runsc/cmd/checkpoint.go b/runsc/cmd/checkpoint.go index d074b8617..023ab2455 100644 --- a/runsc/cmd/checkpoint.go +++ b/runsc/cmd/checkpoint.go @@ -133,7 +133,7 @@ func (c *Checkpoint) Execute(_ context.Context, f *flag.FlagSet, args ...interfa Fatalf("error destroying container: %v", err) } - cont, err = container.Create(id, spec, conf, bundleDir, "", "") + cont, err = container.Create(id, spec, conf, bundleDir, "", "", "") if err != nil { Fatalf("error restoring container: %v", err) } |