Re: [patch] vsyscall feature

From: Mike Coleman (mkc@kc.net)
Date: Thu Mar 09 2000 - 21:41:28 EST


Ingo Molnar <mingo@chiara.csoma.elte.hu> writes:
> yep - since kernel-entry-less vsyscalls are basically an extension to
> glibc, it's perfectly possible to avoid the intended behavior via
> user-space tricks. Just like it's possible currently to override the _time
> libc function. So anyone who wants to do tricks must either do it at the
> libc level if vsyscalls are use.

Depending on libc-level trickery alone is no good if complete control of a
(possibly rogue) user program is required. I think there still needs to be a
way (maybe a ptrace call?) to disable this.

> Also, since this is fully under the
> control of the kernel, it can be disabled (via a kernel recompile and/or
> kernel patch) without impacting any application.

I really hope the disable operation can go in the production kernel by
default. Won't it just be a few lines of code?

-- 
Any sufficiently adverse technology is indistinguishable from Microsoft.

- 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/



This archive was generated by hypermail 2b29 : Wed Mar 15 2000 - 21:00:17 EST