diff options
Diffstat (limited to 'pkg/sentry/fs/proc')
-rw-r--r-- | pkg/sentry/fs/proc/exec_args.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/pkg/sentry/fs/proc/exec_args.go b/pkg/sentry/fs/proc/exec_args.go index ddda67f54..a716eb5f5 100644 --- a/pkg/sentry/fs/proc/exec_args.go +++ b/pkg/sentry/fs/proc/exec_args.go @@ -101,12 +101,6 @@ func (f *execArgFile) Read(ctx context.Context, _ *fs.File, dst usermem.IOSequen return 0, syserror.EINVAL } - // N.B. Linux 4.2 eliminates the arbitrary one page limit. - if offset > usermem.PageSize { - return 0, io.EOF - } - dst = dst.TakeFirst64(usermem.PageSize - offset) - m, err := getTaskMM(f.t) if err != nil { return 0, err |