diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-11-03 20:16:32 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-11-03 20:16:32 +0000 |
commit | d2a00cb58c05493b4db3fd6e4e7c36a087f1ec83 (patch) | |
tree | ee98cd76d5bf53337c8d6745621846111c0519ff /pkg/sentry/syscalls | |
parent | 7b1432046c898ac1175f833ac9f0333bb8a4f6f7 (diff) | |
parent | 723464ec5522b479bceaa253994d4b865300bd95 (diff) |
Merge release-20201027.0-61-g723464ec5 (automated)
Diffstat (limited to 'pkg/sentry/syscalls')
-rw-r--r-- | pkg/sentry/syscalls/linux/sys_pipe.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/syscalls/linux/sys_pipe.go b/pkg/sentry/syscalls/linux/sys_pipe.go index 849a47476..f7135ea46 100644 --- a/pkg/sentry/syscalls/linux/sys_pipe.go +++ b/pkg/sentry/syscalls/linux/sys_pipe.go @@ -32,7 +32,7 @@ func pipe2(t *kernel.Task, addr usermem.Addr, flags uint) (uintptr, error) { if flags&^(linux.O_NONBLOCK|linux.O_CLOEXEC) != 0 { return 0, syserror.EINVAL } - r, w := pipe.NewConnectedPipe(t, pipe.DefaultPipeSize, usermem.PageSize) + r, w := pipe.NewConnectedPipe(t, pipe.DefaultPipeSize) r.SetFlags(linuxToFlags(flags).Settable()) defer r.DecRef(t) |