summaryrefslogtreecommitdiffhomepage
path: root/pkg/seccomp/seccomp_amd64.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2019-09-24 23:46:08 -0700
committergVisor bot <gvisor-bot@google.com>2019-09-24 23:47:42 -0700
commit76ff1947b6e3703c2b9524e1086c791ceb4edb74 (patch)
treeceff086842c837ea730c45ad336d0b8c3eb6c3a1 /pkg/seccomp/seccomp_amd64.go
parent2fb34c8d5ccf13388371437d128cc95d577fbc8a (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/seccomp/seccomp_amd64.go')
0 files changed, 0 insertions, 0 deletions