Skip to contentSkip to conversation

x86: rename is_at_popf(), add iret to tests and fix insn length

PATCH Bodo Eggert 1 participant 1 message Aug 2, 2006 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 7 lines · Andi Kleen
Quoted 2 lines · Chuck Ebbert

is_at_popf() needs to test for the iret instruction as well as popf. So add that test and rename it to is_setting_trap_flag().

Do you have a single real example where anybody is actually using IRET in user space?

It might be used by malicious software, so unless it can't be abused, it must be checked.

Signature · 4 lines
Ich danke GMX dafür, die Verwendung meiner Adressen mittels per SPF
verbreiteten Lügen zu sabotieren.

http://david.woodhou.se/why-not-spf.html