Re: Need help in understanding x86 syscall

From: Steven Rostedt
Date: Thu Aug 11 2005 - 12:36:23 EST


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


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/