rivosinc / salus

Risc-V hypervisor for TEE development
96 stars 25 forks source link

vm: TvmAddMeasuredPages requires non-confidential source memory #294

Closed rbradford closed 1 year ago

rbradford commented 1 year ago

Check that the source memory for the TvmAddMeasuredPages call is marked as non confidential (Shared or Mapped)

Signed-off-by: Rob Bradford rbradford@rivosinc.com

rbradford commented 1 year ago

As far as I could tell this check was not being made. Further not 100% sure this is the best way to check so very much open to alternative suggestions.