3 ms·
Seems like, at least as an initial implementation, the kernel could disable the feature when entering kernel mode and then manually mask all accesses to user sp
by devit 5y ago
Seems like, at least as an initial implementation, the kernel could disable the feature when entering kernel mode and then manually mask all accesses to user space addresses. This way mistakes will not impact security but only cause spurious system call failures.
- rwmj 5y agoThese kind of virtual address related mode switches tend to be very slow, so, although I've not tested it, I'm going to guess this would be an absolute performance killer.