Mail Archives: djgpp/1999/10/21/11:56:32
On 21 Oct 1999, Martin Stromberg wrote:
> How do you request (and perhaps get) a selector for a different
> ring-level than your own (which in DJGPP is three)?
See __dpmi_set_descriptor and __dpmi_set_descriptor_access_rights
(there are also corresponding *get* functions).
Whether this will work is another question.
In general, if you want to call code that's higher privilege that your
CPL, you need to set up a ``call gate'' and use it to make the privileged
call. But some environments will let you do that in a naive way.
- Raw text -