Hacker News new | ask | show | jobs
by xenadu02 3505 days ago
I thought Linux uses sysenter/sysexit, not int 0x80/iret?

Still a good tutorial; there is no magic, it's all just software.

2 comments

You are right, Linux uses INT 0x80 on x86 only when the SYSCALL/SYSENTER and SYSRET/SYSEXIT instructions are not available.
Yes, I have a few inaccuracies I'm correcting right now. That is one of them.