diff options
author | Jamie Liu <jamieliu@google.com> | 2018-06-26 11:34:16 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-06-26 11:35:20 -0700 |
commit | 33041b36cb7e8e9795545837355e4576ff2be4da (patch) | |
tree | 96d60c5252f659dc3b511d04a66f9b4f0f2f05d7 /pkg/sentry/fs/proc/sys.go | |
parent | 51c1e510ab79607d80d6b81c2ae8ab308c323a58 (diff) |
Add Context to seqfile.SeqSource.ReadSeqFileData.
PiperOrigin-RevId: 202163895
Change-Id: Ib9942fcff80c0834216f4f10780662bef5b52270
Diffstat (limited to 'pkg/sentry/fs/proc/sys.go')
-rw-r--r-- | pkg/sentry/fs/proc/sys.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/sentry/fs/proc/sys.go b/pkg/sentry/fs/proc/sys.go index db9ec83b9..aab891c53 100644 --- a/pkg/sentry/fs/proc/sys.go +++ b/pkg/sentry/fs/proc/sys.go @@ -62,7 +62,7 @@ func (*mmapMinAddrData) NeedsUpdate(generation int64) bool { } // ReadSeqFileData implements seqfile.SeqSource.ReadSeqFileData. -func (d *mmapMinAddrData) ReadSeqFileData(h seqfile.SeqHandle) ([]seqfile.SeqData, int64) { +func (d *mmapMinAddrData) ReadSeqFileData(ctx context.Context, h seqfile.SeqHandle) ([]seqfile.SeqData, int64) { if h != nil { return nil, 0 } @@ -81,7 +81,7 @@ func (*overcommitMemory) NeedsUpdate(generation int64) bool { } // ReadSeqFileData implements seqfile.SeqSource. -func (*overcommitMemory) ReadSeqFileData(h seqfile.SeqHandle) ([]seqfile.SeqData, int64) { +func (*overcommitMemory) ReadSeqFileData(ctx context.Context, h seqfile.SeqHandle) ([]seqfile.SeqData, int64) { if h != nil { return nil, 0 } |