2.1.1.4.2.3. Linux Gate Library Based On SYSENTER And SYSEXIT
__kernel_vsyscall: push %ecx
push %edx
push %ebp
__resume: mov %esp,%ebp
sysenter
jmp __resume ;hack for syscall resume
__return: pop %ebp ;this is where
pop %edx ;the SYSEXIT
pop %ecx ;returns
ret