FEX icon indicating copy to clipboard operation
FEX copied to clipboard

Test write only mappings with SMC protection

Open skmp opened this issue 2 years ago • 5 comments

Follow up from #1558

skmp avatar May 10 '22 08:05 skmp

Did a quick look on this, looks like PROT_WRITE implies PROT_READ on x86, have to verify the same is true on arm64. Will make some test cases.

skmp avatar May 23 '22 18:05 skmp

The hardware doesn't even let you map write without read.

Sonicadvance1 avatar May 23 '22 19:05 Sonicadvance1

Yes, on x86. Is it the same for arm64?

skmp avatar May 23 '22 19:05 skmp

Yes

Sonicadvance1 avatar May 23 '22 19:05 Sonicadvance1

One less thing to worry about then. Will make some tests for it anyway eventually.

skmp avatar May 23 '22 19:05 skmp