diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-10-30 20:57:55 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-10-30 20:57:55 +0000 |
commit | fb1c8c76ad115e2c6ca370b0fc392d7f4c601a31 (patch) | |
tree | f35403014d7363bd44c772e9d1202eaba58c2390 /pkg/sentry/kernel/task_clone.go | |
parent | 27c7f1c9cba567579fb7e7065d2fb86157d88ba3 (diff) | |
parent | 9ad864628dc3f36a24a5eb6a51d7e13471598517 (diff) |
Merge release-20201019.0-111-g9ad864628 (automated)
Diffstat (limited to 'pkg/sentry/kernel/task_clone.go')
-rw-r--r-- | pkg/sentry/kernel/task_clone.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/kernel/task_clone.go b/pkg/sentry/kernel/task_clone.go index 682080c14..527344162 100644 --- a/pkg/sentry/kernel/task_clone.go +++ b/pkg/sentry/kernel/task_clone.go @@ -355,7 +355,7 @@ func (t *Task) Clone(opts *CloneOptions) (ThreadID, *SyscallControl, error) { } if opts.ChildSetTID { ctid := nt.ThreadID() - ctid.CopyOut(nt.AsCopyContext(usermem.IOOpts{AddressSpaceActive: false}), opts.ChildTID) + ctid.CopyOut(nt.CopyContext(t, usermem.IOOpts{AddressSpaceActive: false}), opts.ChildTID) } ntid := t.tg.pidns.IDOfTask(nt) if opts.ParentSetTID { |