KAISER: hiding the kernel from user space
KAISER: hiding the kernel from user space
Posted Nov 16, 2017 20:40 UTC (Thu) by hansendc (subscriber, #7363)In reply to: KAISER: hiding the kernel from user space by Cyberax
Parent article: KAISER: hiding the kernel from user space
Yes, this could be done, at least theoretically. But, the contexts where we have to decide to "do KAISER" or not are very tricky. We don't have a stack and don't have registers to clobber, so it's tricky to pull off.
You would essentially need to keep a bit of per-cpu data that was consulted very early in assembly at kernel entry. It would have to be updated at every context switch, probably from some flag in the task_struct. Again, doable, but far from trivial.
The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:
Note: you can avoid this step in the future by logging into your LWN account.
