• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

What's left in a segment register after a failed segment selector load?

chrstrbrts

Senior member
Hello guys,

If I attempt to load a segment selector into a segment register and fail a privilege check, what does the processor leave in the register that I attempted to load?

Does it just leave whatever was in there unchanged?

Also, these errors usually end in a process abort, yes?
 
If you failed privilege nothing changes. Segment registers are generally not used anymore and just point to the default base segment

See protected mode here.
 
I knew that in 64-bit mode segmentation was largely disabled and that the only segments that really mean anything anymore are CS and SS.

But I thought that in 32-bit protected mode full segmentation was still employed.

Reading your link, though, I guess I was wrong.

Segment registers are generally not used anymore and just point to the default base segment

Yes, but they have to be used to some extent to implement privilege level security, yes?
 
Back
Top