mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Use the correct Context for /proc/[pid]/maps.
PiperOrigin-RevId: 202180487 Change-Id: I95cce41a4842ab731a4821b387b32008bfbdcb08
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user