diff options
author | gVisor bot <gvisor-bot@google.com> | 2019-09-24 23:46:08 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-09-24 23:47:42 -0700 |
commit | 76ff1947b6e3703c2b9524e1086c791ceb4edb74 (patch) | |
tree | ceff086842c837ea730c45ad336d0b8c3eb6c3a1 /pkg/sentry/fs/mount_overlay.go | |
parent | 2fb34c8d5ccf13388371437d128cc95d577fbc8a (diff) |
gvisor: change syscall.RawSyscall to syscall.RawSyscall6 where required
Before https://golang.org/cl/173160 syscall.RawSyscall would zero out
the last three register arguments to the system call. That no longer happens.
For system calls that take more than three arguments, use RawSyscall6 to
ensure that we pass zero, not random data, for the additional arguments.
PiperOrigin-RevId: 271062527
Diffstat (limited to 'pkg/sentry/fs/mount_overlay.go')
0 files changed, 0 insertions, 0 deletions