[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-rt
Subject:    Re: [rtl] RT-Linux and "root privileges"
From:       Peter Wurmsdobler <peterw () cetehor ! com>
Date:       1999-01-21 8:15:13
[Download RAW message or body]

Hi,

> Something at ring-0 (the kernel) can execute priviledged
> processor instructions which, for example, manipulate the processor memory
> management tables, io ports, and other things like that.  When a user
> program call the kernel to do something, the internal kernel code switches
> to ring-0. 
While the Intel processors provide IMHO four operating levels, UNIX
takes advantage of this feature by using two of them, with the kernel
executing in the highest level (supervisor mode) and applications
executing in the lowest one (user mode) with some operations, e.g.
on memory, are disallowed. Hence, an application can switch to kernel
mode operating in behalf of itself.

ciao,
peterw
-- 
Dr. Peter Wurmsdobler

CETEHOR, 39, av. de l'Observatoire       8, rue Jean Petit
FAX:   +33 3 81 53 04 60                    25000 Besançon
phone: +33 3 81 50 38 88                 +33 3 81 82 11 42
email: peterw@cetehor.com                           FRANCE
http://www.impa.tuwien.ac.at/impa/mitarb/pw/pw.htm      EU

                  Ceterum censeo MIRCOSOFTem esse delendam.
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail majordomo@rtlinux.cs.nmt.edu OR
echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.cs.nmt.edu
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic