Skip to content
This repository has been archived by the owner on Jun 9, 2020. It is now read-only.

add vsyscall emulation in page fault handler #92

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tjfontaine
Copy link

If we hit a PF for an address in the vsyscall page, allocate some memory
in the process address space which will do syscall;retq, and depending
on the offset into the vsyscall page set RAX to the desired syscall
number.

This does not implement a true fast path for syscalls, nor does it
implement vDSO.

If we hit a PF for an address in the vsyscall page, allocate some memory
in the process address space which will do `syscall;retq`, and depending
on the offset into the vsyscall page set `RAX` to the desired syscall
number.

This does not implement a true fast path for syscalls, nor does it
implement vDSO.
@tjfontaine tjfontaine force-pushed the add-vsyscall-emulation branch from a3f9a49 to 0fd6f17 Compare January 13, 2019 22:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant