summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/syscalls/linux/sys_poll.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-05-07 18:44:45 +0000
committergVisor bot <gvisor-bot@google.com>2020-05-07 18:44:45 +0000
commitc7d003a05e7cf8f4f94ce640c4d0bc00fb0294f9 (patch)
tree20b7a3cc210ab42fdeee9df5ae0c53531d4e191e /pkg/sentry/syscalls/linux/sys_poll.go
parent37296b79ae2ccc43e1decc4d756b548e23a122e1 (diff)
parent26c60d7d5d31fdf3ad380a0f09b4f33afae3d9d3 (diff)
Merge release-20200422.0-47-g26c60d7 (automated)
Diffstat (limited to 'pkg/sentry/syscalls/linux/sys_poll.go')
-rw-r--r--pkg/sentry/syscalls/linux/sys_poll.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/sentry/syscalls/linux/sys_poll.go b/pkg/sentry/syscalls/linux/sys_poll.go
index 4f8762d7d..f0198141c 100644
--- a/pkg/sentry/syscalls/linux/sys_poll.go
+++ b/pkg/sentry/syscalls/linux/sys_poll.go
@@ -443,7 +443,7 @@ func Ppoll(t *kernel.Task, args arch.SyscallArguments) (uintptr, *kernel.Syscall
}
if maskAddr != 0 {
- mask, err := copyInSigSet(t, maskAddr, maskSize)
+ mask, err := CopyInSigSet(t, maskAddr, maskSize)
if err != nil {
return 0, nil, err
}
@@ -525,7 +525,7 @@ func Pselect(t *kernel.Task, args arch.SyscallArguments) (uintptr, *kernel.Sysca
}
if maskAddr != 0 {
- mask, err := copyInSigSet(t, maskAddr, size)
+ mask, err := CopyInSigSet(t, maskAddr, size)
if err != nil {
return 0, nil, err
}