summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel/task_log.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-11-13 01:42:28 +0000
committergVisor bot <gvisor-bot@google.com>2020-11-13 01:42:28 +0000
commit3acfd56f666ba12de05e7408da8a013c0b98385f (patch)
tree903b3ab3479b1455e375bfd3dd134212a9bd4d46 /pkg/sentry/kernel/task_log.go
parenta247d2f0e8fc5741cd55780920a3d4ddf8845a34 (diff)
parent468caff4516c1b5f0cb181b1da2032fd990979a0 (diff)
Merge release-20201030.0-75-g468caff45 (automated)
Diffstat (limited to 'pkg/sentry/kernel/task_log.go')
-rw-r--r--pkg/sentry/kernel/task_log.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/sentry/kernel/task_log.go b/pkg/sentry/kernel/task_log.go
index d23cea802..7591eaace 100644
--- a/pkg/sentry/kernel/task_log.go
+++ b/pkg/sentry/kernel/task_log.go
@@ -237,11 +237,11 @@ func (t *Task) traceExitEvent() {
}
// traceExecEvent is called when a task calls exec.
-func (t *Task) traceExecEvent(tc *TaskContext) {
+func (t *Task) traceExecEvent(image *TaskImage) {
if !trace.IsEnabled() {
return
}
- file := tc.MemoryManager.Executable()
+ file := image.MemoryManager.Executable()
if file == nil {
trace.Logf(t.traceContext, traceCategory, "exec: << unknown >>")
return