Re: Stacks, was Segments

Liste des GroupesRevenir à c arch 
Sujet : Re: Stacks, was Segments
De : mitchalsup (at) *nospam* aol.com (MitchAlsup1)
Groupes : comp.arch
Date : 04. Feb 2025, 00:11:03
Autres entêtes
Organisation : Rocksolid Light
Message-ID : <c81b575bb969c63fc7a58fc4ba13a19b@www.novabbs.org>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13
User-Agent : Rocksolid Light
On Mon, 3 Feb 2025 22:47:24 +0000, Scott Lurndal wrote:

mitchalsup@aol.com (MitchAlsup1) writes:
On Mon, 3 Feb 2025 21:13:24 +0000, Scott Lurndal wrote:
>
Stefan Monnier <monnier@iro.umontreal.ca> writes:
It is like there is a privilege level between application and GuestOS.
{{I spent all afternoon trying to think of a name for this privilege
above application "non-privileged" and below "privileged". Maybe
meso-privileged ?!?
>
handyman?
>
Application -> Library -> OS -> Hypervisor -> Secure Monitor
>
>
{Sandbox -> user -> application -> Library} ->{sual}×{GuestOS, HV, SM}
>
??
>
You need to precisely define your terms.  What are sandbox
and user in this context?
It is all about manipulating access rights without modifying
what is stored in the TLB (so you don't have to reload any
entries to change access rights.) It is sort of like what
the G-bit does (global) {except in my architecture globality
is controlled by ASID.}
Sandbox is a privilege level where one cannot be granted both
write and execute access at the same time. There may be other
restrictions, too; like access to control registers user may
be allowed to write.
Library would include all the trusted stuff, but also ld.so
and any JITs. JITs can only create code for sandboxes. So,
JIT can write to JITcache but sandbox cannot using the same
PTE entry. ld.so can write GOT while user and application
cannot write GOT (or execute GOT).
User is the privilege level where sandbox does not apply but
also there is no ability to over-access things protected by
PTE.RWE.
Application is a privilege level where PTE.RWE can sometimes
be usurped--such as DMA from a device needing to write into
a execute only page.
Where does memmove() come from is not the library ??
Libraries have a SW-kind of trust even if they are
devoid of HW kinds of trust (PTE.RWE overrides).
But these levels are just talking point at this point.

The hypervisor is optional, as would be a library.
It cannot be a library of process !!
It is not a library of GuestOS !
it is certainly not a library of Secure Monitor !!

>
The Burroughs Large systems and HP-3000 segmented libraries
were distinct entities with attributes.
And could change (update/upgrade) the library while the process
was running !!

Code in a library could be more privileged than the application
when acting on behalf of the application, for example; but the
application could not take advantage of the permissions assigned
to the library it was linked with without using interfaces
provided by the library.
No disagreement.

Date Sujet#  Auteur
3 Jan 25 * Re: Byte ordering153Anton Ertl
4 Jan 25 +* Re: Byte ordering139Waldek Hebisch
5 Jan 25 i+- Re: Byte ordering1Terje Mathisen
5 Jan 25 i`* 80286 protected mode (was: Byte ordering)137Anton Ertl
5 Jan 25 i +* Re: 80286 protected mode (was: Byte ordering)2Robert Swindells
5 Jan 25 i i`- Re: 80286 protected mode1Brian G. Lucas
5 Jan 25 i `* Re: 80286 protected mode134Waldek Hebisch
6 Jan 25 i  `* Re: 80286 protected mode133George Neuner
6 Jan 25 i   +* Segments (was: 80286 protected mode)130Anton Ertl
6 Jan 25 i   i+- Re: Segments (was: 80286 protected mode)1Michael S
6 Jan 25 i   i+* Re: Segments127Terje Mathisen
6 Jan 25 i   ii+* Re: Segments2Anton Ertl
6 Jan 25 i   iii`- Re: Segments1MitchAlsup1
24 Feb 26 i   ii`- 
11 Jan 25 i   i`- Re: Segments1Andy Valencia
6 Jan 25 i   `* Re: what's a segment, 80286 protected mode2John Levine
7 Jan 25 i    `- Re: what's a segment, 80286 protected mode1Lynn Wheeler
5 Jan 25 +* Re: the 286, Byte ordering12John Levine
5 Jan 25 i`* Re: the 286, Byte ordering11MitchAlsup1
5 Jan 25 i `* Re: the 286, Byte ordering10John Dallman
5 Jan 25 i  `* Re: the 286, Byte ordering9Anton Ertl
5 Jan 25 i   `- Re: the 286, Byte ordering1MitchAlsup1
5 Jan 25 `- Re: Byte ordering1John Dallman

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal