diff options
author | Jamie Liu <jamieliu@google.com> | 2018-06-26 13:09:02 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-06-26 13:09:50 -0700 |
commit | ea10949a0036cdef95a1397ccad8fcc138ce3c0d (patch) | |
tree | 274e8f14e55670e339607566e7f0a895c6399b42 /pkg/sentry/fs | |
parent | 5f7f78c1d7ee19b6a193d17c48f78edb220412aa (diff) |
Use the correct Context for /proc/[pid]/maps.
PiperOrigin-RevId: 202180487
Change-Id: I95cce41a4842ab731a4821b387b32008bfbdcb08
Diffstat (limited to 'pkg/sentry/fs')
-rw-r--r-- | pkg/sentry/fs/proc/task.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/fs/proc/task.go b/pkg/sentry/fs/proc/task.go index e2d2ce3ba..efc635946 100644 --- a/pkg/sentry/fs/proc/task.go +++ b/pkg/sentry/fs/proc/task.go @@ -306,7 +306,7 @@ func (md *mapsData) NeedsUpdate(generation int64) bool { // ReadSeqFileData implements seqfile.SeqSource.ReadSeqFileData. func (md *mapsData) ReadSeqFileData(ctx context.Context, h seqfile.SeqHandle) ([]seqfile.SeqData, int64) { if mm := md.mm(); mm != nil { - return mm.ReadSeqFileData(md.t.AsyncContext(), h) + return mm.ReadSeqFileData(ctx, h) } return []seqfile.SeqData{}, 0 } |