F
Francesco S. Carta
Joe Smith said:The EFLAGS register is process specific. The OS kernel keeps track of the
value it should have for each process. There are (virtually?) no registers
that a process can set that could have any impact on annother process,
baring a completely broken kernel.
The assembly shown loads the EFLAGS register into the ESP register, nors the
ESP register in place with the value 0x40000 in place, and then loads the
new value into the EFLAGS register.
Thanks a lot for these details Joe - now I also realized that it
wouldn't make much sense to allow such a system-wide change, wrt your
mention of the "broken kernel"
Have good time,
Francesco