libsystrap icon indicating copy to clipboard operation
libsystrap copied to clipboard

Fake vDSO is wrong for gettimeofday and friends

Open stephenrkell opened this issue 3 years ago • 1 comments

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 avatar May 11 '21 17:05 stephenrkell

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.

stephenrkell avatar Aug 06 '21 10:08 stephenrkell