Skip to content

Commit b916fca

Browse files
committed
pruntime: Print cpu_svn at startup
1 parent 378286b commit b916fca

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

standalone/pruntime/gramine-build/pruntime.manifest.template

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ path = "/lib"
4545
uri = "file:{{ libdir }}"
4646

4747
[[fs.mounts]]
48+
type = "chroot"
4849
path = "/data/protected_files"
4950
uri = "file:{{ seal_dir }}"
5051

standalone/pruntime/src/pal_gramine.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ pub(crate) fn print_target_info() {
255255
"isv_prod_id : 0x{:?}",
256256
HexFmt(report.body.isv_prod_id.to_ne_bytes())
257257
);
258+
println!("cpu_svn : 0x{}", HexFmt(&report.body.cpu_svn.svn));
258259
} else {
259260
println!("Running in Native mode");
260261
}

0 commit comments

Comments
 (0)