What is Security Exception (#SX)?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
dlarudgus20
Member
Member
Posts: 36
Joined: Sat Oct 26, 2013 4:14 am

What is Security Exception (#SX)?

Post by dlarudgus20 »

I saw Security Exception (#SX) in http://wiki.osdev.org/Exceptions. What's that? I've never heard about this...
alexfru
Member
Member
Posts: 1112
Joined: Tue Mar 04, 2014 5:27 am

Re: What is Security Exception (#SX)?

Post by alexfru »

Google is up and running. Any problem with it?
User avatar
iansjack
Member
Member
Posts: 4710
Joined: Sat Mar 31, 2012 3:07 am
Location: Chichester, UK

Re: What is Security Exception (#SX)?

Post by iansjack »

It's quite obscure, but:
3.3 Security Exception (#SX)
The Security Exception fault signals security-sensitive events that occur while executing the VMM, in the form of an exception so that the VMM may take appropriate action. (A VMM would typically intercept comparable sensitive events in the guest.) In the current implementation, the only use of the #SX is to redirect external INITs into an exception so that the VMM may — among other possibilities — destroy sensitive information before re-issuing the INIT, this time without redirection. (The INIT redirection is controlled by the VM_CR.R_INIT bit.)

The #SX exception dispatches to vector 30, and behaves like other fault-class exceptions such as General Protection Fault (#GP). The #SX exception pushes an error code. The only error code currently defined is 1, and indicates redirection of INIT has occurred.

The #SX exception is a contributory fault.
( http://www.mimuw.edu.pl/~vincent/lectur ... cation.pdf }

I'm guessing that you probably don't need to worry about it.
dlarudgus20
Member
Member
Posts: 36
Joined: Sat Oct 26, 2013 4:14 am

Re: What is Security Exception (#SX)?

Post by dlarudgus20 »

@alexfru Sorry for my poor searching ablitiy >o<

@iansjack Thanks!
Post Reply