Re: glibc developers refuse to support user land fake FS syscalls

Patrick Schaaf (phbof@bof.de)
Thu, 8 Jul 1999 09:27:42 +0200 (MEST)


> I know this won't help the current situation, but for the future, how
> about changing the way syscalls are invoked. Instead of using int
> 0x80, do a jump to an absolute location which in turn does the int
> 0x80. The page that includes the instructions to do system-calls
> could be COWable. For a virgin process, a default page is mapped into
> the process vm-space. This would make it possible to intercept
> system-calls in user-space with a small overhead.

Wouldn't it be possible, at least on the x86 platform, to change int 0x80
from a ring3->1 descriptor to a ring3->3 descriptor going to your fixed
location page? That should catch all of the legacy userlevel software.

regards
Patrick

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