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

[WIP] [libOS] Single Process lifetime rollback protection for Protected Files #1856

Draft
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

g2flyer
Copy link
Contributor

@g2flyer g2flyer commented Apr 23, 2024

Description of the changes

This is a WIP PR addresses issue #1835, i.e., rollback protection of protected files beyond a single open-to-close window but across the whole runtime of gramine. Released as draft PR in anticipation of 23. April 2024 Community Call. It depends on closing PR #1874 and PR #1875 (and is currently rebased on the current version of these to work)

Steps:

How to test this PR?


This change is Reviewable

@g2flyer g2flyer force-pushed the msteiner/enclave-lifetime-rollback-protection branch from 2233cf6 to f42b179 Compare April 23, 2024 04:51
@g2flyer g2flyer force-pushed the msteiner/enclave-lifetime-rollback-protection branch from 11858ac to 79890bf Compare May 6, 2024 15:36
@g2flyer g2flyer force-pushed the msteiner/enclave-lifetime-rollback-protection branch from 79890bf to 95c577f Compare May 10, 2024 22:53
@g2flyer g2flyer force-pushed the msteiner/enclave-lifetime-rollback-protection branch from 95c577f to 86f99d0 Compare May 20, 2024 19:10
dimakuv and others added 10 commits May 20, 2024 17:15
This is conceptually similar to the commit "[LibOS] Fix `ENOENT` error
in `fchmod` on unlinked file".

Three new LibOS regression sub-tests are added.

Co-authored-by: g2flyer <michael.steiner@intel.com>
Signed-off-by: g2flyer <michael.steiner@intel.com>
Signed-off-by: Dmitrii Kuvaiskii <dmitrii.kuvaiskii@intel.com>
Signed-off-by: g2flyer <michael.steiner@intel.com>
[LibOS] Fix dentry of open files after rename

Signed-off-by: g2flyer <michael.steiner@intel.com>
Signed-off-by: g2flyer <michael.steiner@intel.com>
Signed-off-by: g2flyer <michael.steiner@intel.com>
Signed-off-by: g2flyer <michael.steiner@intel.com>
Signed-off-by: g2flyer <michael.steiner@intel.com>
Signed-off-by: g2flyer <michael.steiner@intel.com>
…es (WIP)

* adds libos_encrypted_volume as mount-data for protected fileystem which
  includes map <name, <last-root-hash, ...>> to keep track of root hashes
  across open/close cycles of a particular value, ensuring consistency across
  the whole enclave life-time

Signed-off-by: g2flyer <michael.steiner@intel.com>
…ted files (WIP)

Signed-off-by: g2flyer <michael.steiner@intel.com>
@g2flyer g2flyer force-pushed the msteiner/enclave-lifetime-rollback-protection branch 2 times, most recently from a8b5d10 to ee4c0c4 Compare May 22, 2024 23:50
…ted files (WIP)

Signed-off-by: g2flyer <michael.steiner@intel.com>
@g2flyer g2flyer force-pushed the msteiner/enclave-lifetime-rollback-protection branch from ee4c0c4 to 17d0062 Compare May 23, 2024 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants