-
Notifications
You must be signed in to change notification settings - Fork 82
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
Support new upstream SGX driver in Linux kernels >5.11 #39
Labels
Comments
Some notes for future reference: The driver
edit for future reference: both requirements can probably be fulfilled without relying on driver specifics using standard Linux interfaces under |
jovanbulck
added a commit
that referenced
this issue
Jul 8, 2022
SGX-Step should now support both the legacy /dev/isgx out-of-tree driver, as well as the upstreamed /dev/sgx_enclave driver (for platforms with recent Linux kernels >5.11 and hardware support for flexible-launch control). The libsgxstep/enclave.c code has been refactored to use the standard Linux interfaces /proc/self/maps and /proc/self/mem to retrieve enclave layout and access enclave debug memory respectively. This means we don't have to rely anymore on any SGX driver-specific hacks in /dev/sgx-step for this. Fixes #39.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SGX driver has finally been upstreamed into recent Linux kernels, meaning the dependence on linux-sgx-driver (
/dev/isgx
) could eventually go, see:https://lwn.net/Articles/840129/
https://www.kernel.org/doc/html/latest/x86/sgx.html
Should check how
dev/sgx-step
relies on the legacy/dev/isgx
driver and ensure compatibility with the new upstreamed/dev/sgx_enclave
driver (probably want to support both drivers for now).The text was updated successfully, but these errors were encountered: