edgelesssys / edgelessrt

Edgeless RT is an SDK and a runtime for Intel SGX. It combines top-notch Go support with simplicity, robustness and a small TCB. Developing confidential microservices has never been easier! C++17 and Rust (experimental) are also supported.
https://edgeless.systems
MIT License
134 stars 20 forks source link

drop support for fast vDSO clock on old kernels #128

Closed thomasten closed 2 years ago

thomasten commented 2 years ago

The previous approach selected the vDSO clock offsets by checking the kernel version. This turned out to not be reliable because there are kernels with old version numbers but backported vDSO structs. This caused clock_gettime to always return 0 timestamps.

This PR