How to perform protection (i386+,pmode) between tasks(segments) of the same privillege level?
[attachment deleted by admin]
Same privillege protection
Re: Same privillege protection
Well for different task, keeps memory regions from one task out of the address space of a different task with the help of paging.
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:Same privillege protection
A possible advanced trick from my wizard-bag (might not work in every situation, though):
Now, this is a never-seen-anywhere-else-and-never-tried idea of mine ... so be wise when using it
- have a supervisor component that is the one to choose which low-level component is active at a time
- when giving the access to one of these components, set its descriptor present bit on, leave other descriptors with present bit off.
- On context switchings between sub-tasks, toggle access bits ...
Now, this is a never-seen-anywhere-else-and-never-tried idea of mine ... so be wise when using it