On Sun, 4 Aug 2002, Keith Owens wrote:
> 2.4.19 make allmodconfig. Besides the perennial drivers/net/wan/comx.o
> wanting proc_get_inode, there was only one undefined symbol. In the
> extremely unlikely event that binfmt_elf is a module (how do you load
> modules when binfmt_elf is a module?), smp_num_siblings is unresolved.
>...
My impression is that nowadays it's extremely unlikely that someone tries
to run a current 2.4 kernel on an a.out system - and since there weren't
reports of people trying to build binfmt_elf as a module it seems noone
actually hits this problem. Instead of exporting one symbol that is only
needed in pathological setups I'd suggest the following patch to disallow
the modular bulding of binfmt_elf:
--- arch/i386/config.in.old Sun Aug 4 18:05:16 2002
+++ arch/i386/config.in Sun Aug 4 18:05:29 2002
@@ -267,7 +267,7 @@
A.OUT CONFIG_KCORE_AOUT" ELF
fi
tristate 'Kernel support for a.out binaries' CONFIG_BINFMT_AOUT
-tristate 'Kernel support for ELF binaries' CONFIG_BINFMT_ELF
+bool 'Kernel support for ELF binaries' CONFIG_BINFMT_ELF
tristate 'Kernel support for MISC binaries' CONFIG_BINFMT_MISC
bool 'Power Management support' CONFIG_PM
cu
Adrian
--You only think this is a free country. Like the US the UK spends a lot of time explaining its a free country because its a police state. Alan Cox
- 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/
This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:24 EST