Messages in this thread | | | Date | Wed, 23 Oct 2002 03:51:58 +0200 | From | Andrea Arcangeli <> | Subject | Re: [RFC] linux-2.5.44_vsyscall-proc_A0 |
| |
On Tue, Oct 22, 2002 at 06:32:51PM -0700, john stultz wrote: > All > Well, just to fan the flames a bit, here is a patch (applies on top of > vsyscall_A1)that adds a /proc/vsyscall interface which gives the address > of the vsyscall page if its mapped in. This could be then used to help > the UML folks virtualize things, as well as give a cross platform > interface that could be used. There's probably a better place in /proc > for this, but this is just something to start from. > > Let me know your thoughts.
there is no point for this last patch. The vsyscall_ptr is the vsyscall number.
This is equivalent to a proc that shows the syscall number of sys_gettimeofday, useless, cat on unistd.h and vsyscall.h will avoid a waste of kernel mem.
the uml folks need to replace the vsyscalls, they just know their address, like they just know the syscall number of sys_gettimeofday.
Andrea - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |