diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-01-16 23:19:30 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-01-16 23:19:30 +0000 |
commit | 894e4241a1cbbe065c8802c4ddba988c43f5c2b7 (patch) | |
tree | a8a5eb8339cf390a1ba1783ae5ec36bca52871b9 /pkg/sentry/fs/proc/fds.go | |
parent | e5f7f1a0ce57265b7cd3204c7566b4d4848fe6c3 (diff) | |
parent | ab48112e41427579ecf585f6280be1e2d58acf06 (diff) |
Merge release-20200115.0-14-gab48112 (automated)
Diffstat (limited to 'pkg/sentry/fs/proc/fds.go')
-rw-r--r-- | pkg/sentry/fs/proc/fds.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/sentry/fs/proc/fds.go b/pkg/sentry/fs/proc/fds.go index bee421d76..2fa3cfa7d 100644 --- a/pkg/sentry/fs/proc/fds.go +++ b/pkg/sentry/fs/proc/fds.go @@ -28,6 +28,8 @@ import ( "gvisor.dev/gvisor/pkg/syserror" ) +// LINT.IfChange + // walkDescriptors finds the descriptor (file-flag pair) for the fd identified // by p, and calls the toInodeOperations callback with that descriptor. This is a helper // method for implementing fs.InodeOperations.Lookup. @@ -277,3 +279,5 @@ func (fdid *fdInfoDir) GetFile(ctx context.Context, dirent *fs.Dirent, flags fs. } return fs.NewFile(ctx, dirent, flags, fops), nil } + +// LINT.ThenChange(../../fsimpl/proc/task_files.go) |