Removing protection between kernel and user space.
I want to remove the protection between the kernel and userspace. In IA we have different privilege levels which provide kernel protection from the user space.
Hence, in order to remove the protection, the user applications should also run on privilege level 0. This can be done by seting the DPL field in all the Global and local descriptors to 0.
It would be nice if some one could point out where in the kernel code should I make changes to achieve this. Bascially I want to set the DPL field in all the descriptors to 0.
Any pointers in this direction will be helpful.
Thanks in advance,