Re: [PATCH] stronger ELF sanity checks v2

From: Pascal Schmidt
Date: Thu Jan 15 2004 - 08:14:27 EST


On Thu, 15 Jan 2004 08:50:12 +0100, you wrote in linux.kernel:

> ld.so performs itself some tests, supplementing the tests in the kernel.
> This is enough to catch ill-formed programs which might cause problems.

Not everybody is using glibc, ld.so implementations vary and it's
probable that not all do really check much.

I agree that the kernel should only check values that it really uses,
though. The other checks could be optional (CONFIG_WHATEVER) and/or
only lead to debugging messages if they fail.

--
Ciao,
Pascal
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/