> No no. That's that the whole point of a gate. You make a controlled > transition to ring 0 including stack switching. There are complex > protection checking rules, however as long as the DPL of the gate > descriptor is 3 then ring 3 is allowed to make the transition to ring 0. A > stack fault in user mode cannot kill the system. If it ever did it would be > a blatant bug of the most crass kind. Setting DPL == 3 of any interrupt/trap/fault gate is bad idea because it allows the user to kill the machine with INT 8 or something like that. DPL is checked only if interrupt is generated with INT, INT3 or INTO (IA manual, vol 3, section 5.10.1.1). Mikulas - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- Re: Why is double_fault serviced by a trap... Richard B. Johnson
- Re: Why is double_fault serviced by a ... Maciej W. Rozycki
- Re: Why is double_fault serviced by a trap gate? Keith Owens
- Re: Why is double_fault serviced by a trap gate? Maciej W. Rozycki
- Re: Why is double_fault serviced by a trap gate? Petr Vandrovec
- Re: Why is double_fault serviced by a trap gate? richardj_moore
- Re: Why is double_fault serviced by a trap gate? richardj_moore
- Re: Why is double_fault serviced by a trap gate? richardj_moore
- Re: Why is double_fault serviced by a trap gate? Richard B. Johnson
- Re: Why is double_fault serviced by a trap gate? Mikulas Patocka
- Re: Why is double_fault serviced by a trap gate? richardj_moore
- Re: Why is double_fault serviced by a trap gate? richardj_moore
- Re: Why is double_fault serviced by a trap gate? Richard B. Johnson
- Re: Why is double_fault serviced by a trap gate? richardj_moore
- Re: Why is double_fault serviced by a trap gate? richardj_moore