[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC][PATCH] linux-2.6.2-rc2_vsyscall-gtod_B1.patch


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/


この情報があなたの探していたものかどうか選択してください。
yes/まさにこれだ!   no/違うなぁ   part/一部見つかった   try/これで試してみる

あなたが探していた情報はどのようなことか、ご自由に記入下さい。特に「まさにこれだ!」と言う場合は記入をお願いします。
例:「複数のマシンからCATV経由でipmasqueradeを利用してWebを参照したい場合の設定について」
References: