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

zero out parts in the stack that are not zeroed in call to kevent #39

Merged
merged 1 commit into from
Jul 11, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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