Results 1 to 2 of 2
Hi!! this is my question. I have read in the Intel manuals that some instructions are only available for the operating system or executive, that is the privilege level 0. ...
- 01-02-2012 #1Just Joined!
- Join Date
- Nov 2009
- Posts
- 72
accesing privilege level 0 from user programs
Hi!! this is my question. I have read in the Intel manuals that some instructions are only available for the operating system or executive, that is the privilege level 0. Also I read that it is possible to access privilege level instructions from user space.
Do you know how to do it in linux??? for example, to execute LIDT instruction from user code. I am using assembly language with GAS.
thank you very much!!!
- 01-02-2012 #2
You cant access ring 0 from user space.
Ring (computer security) - Wikipedia, the free encyclopedia
If you really need that kind of access, then you need to write a kernel module.
No idea, if ring 0 is a prerequisite for LIDT instructions, though.You must always face the curtain with a bow.


Reply With Quote