Skip to content
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

[LibOS] Move trusted and allowed files logic to LibOS #1812

Merged
merged 1 commit into from
Sep 26, 2024

Commits on Sep 26, 2024

  1. [LibOS] Move trusted and allowed files logic to LibOS

    Now `gramine-direct` behaves similarly to `gramine-sgx`: it reads
    `sgx.allowed_files` and `sgx.trusted_files` arrays, as well as
    `sgx.file_check_policy`, and applies the corresponding file-access
    rules. Note that the names of the manifest options are kept the same
    for backward compatibility; a future commit will introduce new, more
    appropriate aliases.
    
    Several tests that were previously SGX PAL-specific only are now enabled
    on `gramine-direct` as well. All LTP tests, even though they are run
    under `gramine-direct` only, check the allowed/trusted files logic now.
    
    As the primary effect of this commit, the SGX PAL code is significantly
    simplified and is closer to the native Linux (`direct`) PAL code.
    
    Signed-off-by: Dmitrii Kuvaiskii <[email protected]>
    dimakuv committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    aef087f View commit details
    Browse the repository at this point in the history