On 09/15/2016 03:10 AM, Alex Bennée wrote:
/* User-space cannot access KSEG addresses. */ > - if (mmu_idx != MMU_KERNEL_IDX) { > + if (mmu_idx < MMU_KERNEL_IDX) { > goto exit; > }I'm confused by this change. It's not the same test and when is mmu_idx ever < 0?
Huh. I don't know what happened there. It's clearly wrong... r~