Re: Need help in understanding x86 syscall

Steven Rostedt
2005-08-11T17:36:10Z

On Thu, 2005-08-11 at 13:26 -0400, Steven Rostedt wrote:

> 288fb seems to use "int 0x80" and so do all the other system calls that
> I inspected.

I expect that if I had a Gentoo system that I compiled for my machine,
this would be different. But I suspect that Debian still wants to run on
my old Pentium 75MHz laptop. How would libc know to use sysenter
instead of int 0x80. It could do a test of the system, but would there
be an if statement for every system call then? I guess that libc needs
to be compiled either to use it or not. Since there are still several
machines out there that don't have this feature, it would be safer to
not use it.

-- Steve