Skip to content
This repository has been archived by the owner on Apr 2, 2019. It is now read-only.

Commit

Permalink
Merge pull request #39 from emc-advanced-dev/master
Browse files Browse the repository at this point in the history
zero out parts in the stack that are not zeroed in call to kevent
  • Loading branch information
Ian Eyberg authored Jul 11, 2016
2 parents 656f017 + 5f96e96 commit 20195a9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions go1.5/src/runtime/sys_rumprun_amd64.s
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,9 @@ TEXT runtime·kevent(SB),NOSPLIT,$16
MOVQ $435, DI // kevent
MOVQ SP, SI // args
ADDQ $0x18, SI // args
MOVL $0, 0x04(SI)
MOVL $0, 0x14(SI)
MOVL $0, 0x24(SI)
MOVQ $0, DX // dlen -- ignored
MOVQ SP, CX // retval
LEAQ rump_syscall(SB), AX
Expand Down

0 comments on commit 20195a9

Please sign in to comment.