-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
td-payload: add shadow pages for shared memory
Data in shared memory provided by VMM is untrusted so from a security perspective the data shall be consumed after being copied into private memory. Private shadow for `SharedMemory` is provided to add a more easy and functional safe mechanism to use the untrusted data. It is 1:1 allocated for a shared memory request, and users can use the data with `copy_to_private_shadow` directly to get a private copy with additional memory allocation/free operations. Signed-off-by: Jiaqi Gao <[email protected]>
- Loading branch information
Showing
1 changed file
with
61 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters