intel / ccc-linux-guest-hardening

Linux Security Hardening for Confidential Compute
https://intel.github.io/ccc-linux-guest-hardening-docs
MIT License
65 stars 13 forks source link

Expose environment with explicit env.sh #25

Closed il-steffen closed 2 years ago

il-steffen commented 2 years ago

Turned out easier than expected. Generate env.sh directly that works for source + deactivate. The KAFL_ROOT etc variables remain active this way (similar to sourcing via --input-file).

Added a makefile recipe which uses this to a subshell again. I think that takes best of both worlds