Comments (4)
Moving this and future entries into a more shareable header file sounds reasonable to me.
While adding AT_HW_CODE
I didn't think of the implications of these entries being used from outside musl, and just co-located them with the existing auxv entries.
from sgx-lkl-musl.
Actually, since applications are compiled against normal-MUSL, those macros will never be visible to them. So, I think they will just have to know them, e.g. like here: https://github.com/wintersteiger/sgx-lkl/blob/0ac7f5449bc1c2c58bd2c4a5cd71c9b301c3a6f9/tests/basic/eeid-config/hello-eeid.c#L10
Is there a better solution? Should we inject an additional header file into the build? Since applications that make use of them depend on SGX-LKL by definition, can we assume that they have a copy of SGX-LKL so they can include an SGX-LKL header in their build?
from sgx-lkl-musl.
What applications need to know about these? I was under the impression that they were just there so that our userspace init code can talk to the SKR service and get keys for mounting. That code will eventually be statically linked against our musl.
from sgx-lkl-musl.
Oh yeah, that part is fine. I thought we wanted to make them available to applications as well, along with the TLS certificate, etc.
from sgx-lkl-musl.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sgx-lkl-musl.