CPL and RPL
-
- Posts: 3
- Joined: Mon Aug 01, 2011 7:10 am
CPL and RPL
If CPL =3 , can we set RPL = 0 to access a segment?
Re: CPL and RPL
I presume that you are referring to a data segment? From the Intel manual:
"That is, if the RPL of a segment selector is numerically greater than the CPL, the RPL overrides the CPL, and vice versa."
So if the DPL is less than 3 then an RPL of 0 makes no difference as it doesn't override the CPL.
"That is, if the RPL of a segment selector is numerically greater than the CPL, the RPL overrides the CPL, and vice versa."
So if the DPL is less than 3 then an RPL of 0 makes no difference as it doesn't override the CPL.