Andrea Arcangeli wrote: > (changing three times is worthless in terms of security, all computers > runs the same bzImage so it's not changing, anyways as Ulrich said this > can be fixed transparently in "their" kernel) Andrea, please stop mixing the different arguments. The three changes were for technical reasons, not security. > The bit I care about is that glibc should know about the vsyscall to > be efficient, This I agree with, > and that the offsets should be fixed. If the vdso position can vary between kernels, there is no real technical reason why the offsets have to be fixed. At the simplest, just like there is AT_SYSINFO to get the generic syscall entry point, pass an AT_SYSINFO_GTOD for the gettimeofday syscall. Glibc can use that with no significant changes to its existing mechanism. (Although I prefer to use symbols in the vdso because it's cleaner, AT_SYSINFO_GTOD works. Another alternative is to have a table of offsets in the vsyscall page which Glibc can read - future extensible without the overhead of symbol lookups which Ulrich doesn't like). -- Jamie - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo _at_ vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
References:
- Re: [RFC][PATCH] linux-2.6.2-rc2_vsyscall-gtod_B1.patchAndrea Arcangeli
- Re: [RFC][PATCH] linux-2.6.2-rc2_vsyscall-gtod_B1.patchRik van Riel
- Re: [RFC][PATCH] linux-2.6.2-rc2_vsyscall-gtod_B1.patchAndrea Arcangeli
- Re: [RFC][PATCH] linux-2.6.2-rc2_vsyscall-gtod_B1.patchUlrich Drepper
- Re: [RFC][PATCH] linux-2.6.2-rc2_vsyscall-gtod_B1.patchAndrea Arcangeli
- Re: [RFC][PATCH] linux-2.6.2-rc2_vsyscall-gtod_B1.patchUlrich Drepper
- Re: [RFC][PATCH] linux-2.6.2-rc2_vsyscall-gtod_B1.patchAndrea Arcangeli
- Re: [RFC][PATCH] linux-2.6.2-rc2_vsyscall-gtod_B1.patchDaniel Jacobowitz
- Re: [RFC][PATCH] linux-2.6.2-rc2_vsyscall-gtod_B1.patchAndrea Arcangeli
- Prev by Date: 2.6.2-rc3: irq#19 - nobody cared - with an au88xx
- Next by Date: Re: Manfreds patch to distribute boot allocations across nodes
- Previous by thread: Re: [RFC][PATCH] linux-2.6.2-rc2_vsyscall-gtod_B1.patch
- Next by thread: Re: SECURITY - data leakage due to incorrect strncpy implementation
- Indexes:[Main][Thread]