Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fake vDSO is wrong for gettimeofday and friends #15

Open
stephenrkell opened this issue May 11, 2021 · 1 comment
Open

Fake vDSO is wrong for gettimeofday and friends #15

stephenrkell opened this issue May 11, 2021 · 1 comment

Comments

@stephenrkell
Copy link
Owner

We effectlvely take a snapshot of the kernel's page, which is wrong when the data might change. We need to divert references to our copy so that they point (cross-DSO) to the original vDSO data.

@stephenrkell
Copy link
Owner Author

stephenrkell commented Aug 6, 2021

I wrote a simple gettimeofday test case and was surprised to find that it works! So my understanding is out-of-whack here. First step is to check that it really is using vDSO shared memory to implement the call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant