diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-09-14 18:41:03 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-09-14 18:41:03 +0000 |
commit | e3f79dba6beb6b83b5db7e8bba9b59cdb4aa0890 (patch) | |
tree | 848c369e46e5a93be57a3f2e50a21b4ca68d1191 /pkg/sentry/fs | |
parent | 2bec0281c6dcf60e2c34c1046d2f9465446df095 (diff) | |
parent | 2969b17405d248acbb8a0839fc57ff0a44ec1977 (diff) |
Merge release-20200907.0-40-g2969b1740 (automated)
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 9cf7f2a62..103bfc600 100644 --- a/pkg/sentry/fs/proc/task.go +++ b/pkg/sentry/fs/proc/task.go @@ -604,7 +604,7 @@ func (s *statusData) ReadSeqFileData(ctx context.Context, h seqfile.SeqHandle) ( var vss, rss, data uint64 s.t.WithMuLocked(func(t *kernel.Task) { if fdTable := t.FDTable(); fdTable != nil { - fds = fdTable.Size() + fds = fdTable.CurrentMaxFDs() } if mm := t.MemoryManager(); mm != nil { vss = mm.VirtualMemorySize() |