From: noemail@basdxcqvbe.com   
      
   On Thu, 1 Jul 2021 04:47:43 -0500   
   Rod Pemberton wrote:   
      
   > On Thu, 1 Jul 2021 01:21:05 -0400   
   > Frank Kotler wrote:   
   > > On 07/01/2021 12:40 AM, muta...@gmail.com wrote:   
   > > > On Thursday, July 1, 2021 at 9:08:13 AM UTC+10, Frank Kotler   
   > > > wrote:   
      
   > > >> (to Paul)   
   > > >> "syscall" is an instruction... just like "int"...   
   > > >   
   > > > Ok, thanks. Which means the caller needs to be privileged   
   > > > enough to set up some table, right?   
   > >   
   > > No... I don't think so.   
   > >   
   >   
   > For x86, LIDT, LGDT are unprivileged instructions only in real-mode.   
   > LIDT, LGDT are privileged instructions in protected-mode. You must be   
   > in Ring-0 to use LIDT, LGDT in protected-mode.   
   >   
      
   ...   
      
   > I.e., if you're executing under Windows or Linux etc, then, "Yes" you   
   > need privilege to set up an interrupt table via LIDT. In other words,   
   > you can't set up your own interrupt table if you "wish to run PDOS as   
   > an unprivileged kernel" under Linux or Windows etc.   
   >   
      
   Replied to Frank but was talking to Paul here. Sorry.   
      
   --   
   What is hidden in the ground, when found, is hidden there again?   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|