Open dayeol opened 5 years ago
Is this fixed by #54?
I think it won't. valid means valid in page table, so the access can be still invalid of the page was evicted before the SM acceses it.
This is really unlikely case so we havent seen this for a while, but basically it's fixable by using registers to pass arguments.
Currently,
create_enclave
SBI function uses a physical address passed by the operating system to read/write the arguments and return value. This might cause an unexpected failure if the physical address is not valid at the time the SM dereferences it. We need to change all SBI interfaces back to use standard argument registers (a0-a6)