Skip to content

Commit

Permalink
pruntime: Print cpu_svn at startup
Browse files Browse the repository at this point in the history
  • Loading branch information
kvinwang committed Aug 28, 2023
1 parent 65ec042 commit 173ff5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ path = "/lib"
uri = "file:{{ libdir }}"

[[fs.mounts]]
type = "chroot"
path = "/data/protected_files"
uri = "file:{{ seal_dir }}"

Expand Down
1 change: 1 addition & 0 deletions standalone/pruntime/src/pal_gramine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ pub(crate) fn print_target_info() {
"isv_prod_id : 0x{:?}",
HexFmt(report.body.isv_prod_id.to_ne_bytes())
);
println!("cpu_svn : 0x{}", HexFmt(&report.body.cpu_svn.svn));
} else {
println!("Running in Native mode");
}
Expand Down

0 comments on commit 173ff5d

Please sign in to comment.