Mindmap
5.9 Call Gates
Inhalt der Mindmap
5.9 Call Gates
2 Main functions
- To define an entry point for a procedure
- Used to txfer to a procedure in a new segment
- To specify the privilege level required to enter a procedure
- Provides a way for less privileged code to access more privileged segments in a controlled way
- Known as controlled invocation
- When using a gate the CPL changes to the level of the code to which the gate is pointing
- after using the gate the CPL is restored
- Provides a way for less privileged code to access more privileged segments in a controlled way
- To define an entry point for a procedure
Call gates guarantee that all control transfers to other sgments go to a valid entry point rather than to the middle of a procedure
Call gates allow execute only access to a procedure in an inner ring or higher privilege level
for a procedure to use a gate the gate must be in the same ring as the procedure
Access Control checks the following levels before transfer of execution through a gate
- The CPL
- RPL of the selector used to specify the gate
- DPL of the gate descriptor
- DPL of the segment descriptor of the destination code segment
- The following must both be satisfied otherwise an exception is generated
- DPL of the gate must be greater than the CPL and the RPL
- The DPL of the code segment is less than or equal to the CPL
- Hence the DPL of the code segment is less than or equal to the DPL of the gate
- The DPL of the gate descriptor determines the privilege level from which the gate must be used
Informationen
- Beschreibung
- Masters Comp Sec Mindmap am 5.9 Call Gates, erstellt von Craig Parker am 13/12/2014.
- Erstellt von
- Craig Parker
- Aufrufe
- 5
- Bewertung