3 ms·
Ideally it would be an unmapped trap considering it’s literally how every other runtime works. The next best option is to make it read only. The dumbest option
by vlovich123 3y ago
Ideally it would be an unmapped trap considering it’s literally how every other runtime works. The next best option is to make it read only. The dumbest option is to make it read/write as that’s going to be a vector for security vulnerabilities.
- deathanatos 3y agoSecurity researchers are crafty. I wouldn't give them a read-only page, either. They'll find a way to turn a null-deref with that into an exploit. "And then we just look for the UID under this NULL pointer — and hey, that's a read-only page of zeros! We're now root." Or something.