* [2.6 patch] disallow modular BINFMT_ELF
@ 2003-11-15 23:26 Adrian Bunk
2003-11-15 23:48 ` Jeff Garzik
0 siblings, 1 reply; 7+ messages in thread
From: Adrian Bunk @ 2003-11-15 23:26 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel
modular BINFMT_ELF gives unresolved symbols in 2.4 .
modular BINFMT_ELF gives the following unresolved symbols in 2.6:
<-- snip -->
WARNING: /lib/modules/2.6.0-test9-mm3/kernel/fs/binfmt_elf.ko needs
unknown symbol __kernel_vsyscall
WARNING: /lib/modules/2.6.0-test9-mm3/kernel/fs/binfmt_elf.ko needs
unknown symbol empty_zero_page
WARNING: /lib/modules/2.6.0-test9-mm3/kernel/fs/binfmt_elf.ko needs
unknown symbol dump_task_fpu
WARNING: /lib/modules/2.6.0-test9-mm3/kernel/fs/binfmt_elf.ko needs
unknown symbol dump_task_extended_fpu
WARNING: /lib/modules/2.6.0-test9-mm3/kernel/fs/binfmt_elf.ko needs
unknown symbol dump_task_regs
<-- snip -->
Since modular BINFMT_ELF is pretty pathological I'd suggest the
following patch:
--- linux-2.6.0-test9-mm3/fs/Kconfig.binfmt.old 2003-11-15 23:43:24.000000000 +0100
+++ linux-2.6.0-test9-mm3/fs/Kconfig.binfmt 2003-11-15 23:43:49.000000000 +0100
@@ -1,5 +1,5 @@
config BINFMT_ELF
- tristate "Kernel support for ELF binaries"
+ bool "Kernel support for ELF binaries"
depends on MMU
default y
---help---
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [2.6 patch] disallow modular BINFMT_ELF
2003-11-15 23:26 [2.6 patch] disallow modular BINFMT_ELF Adrian Bunk
@ 2003-11-15 23:48 ` Jeff Garzik
2003-11-15 23:53 ` Martin Hicks
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: Jeff Garzik @ 2003-11-15 23:48 UTC (permalink / raw)
To: Adrian Bunk; +Cc: Andrew Morton, linux-kernel
Adrian Bunk wrote:
> modular BINFMT_ELF gives unresolved symbols in 2.4 .
>
> modular BINFMT_ELF gives the following unresolved symbols in 2.6:
Interesting. this causes me to wonder if we should bother making
BINFMT_ELF an option at all...
Jeff
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [2.6 patch] disallow modular BINFMT_ELF
2003-11-15 23:48 ` Jeff Garzik
@ 2003-11-15 23:53 ` Martin Hicks
2003-11-17 1:09 ` Eric W. Biederman
` (2 subsequent siblings)
3 siblings, 0 replies; 7+ messages in thread
From: Martin Hicks @ 2003-11-15 23:53 UTC (permalink / raw)
To: Jeff Garzik; +Cc: Adrian Bunk, Andrew Morton, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 558 bytes --]
On Sat, 2003-11-15 at 18:48, Jeff Garzik wrote:
> Adrian Bunk wrote:
> > modular BINFMT_ELF gives unresolved symbols in 2.4 .
> >
> > modular BINFMT_ELF gives the following unresolved symbols in 2.6:
>
>
> Interesting. this causes me to wonder if we should bother making
> BINFMT_ELF an option at all...
I strikes me as something that everyone is going to say yes to. If
someone really doesn't want ELF then they are probably smart enough to
change the Config script.
mh
--
Martin Hicks || mort@bork.org || PGP/GnuPG: 0x4C7F2BEE
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [2.6 patch] disallow modular BINFMT_ELF
2003-11-15 23:48 ` Jeff Garzik
2003-11-15 23:53 ` Martin Hicks
@ 2003-11-17 1:09 ` Eric W. Biederman
2003-11-17 13:08 ` Jakub Jelinek
2003-11-17 9:25 ` Christoph Hellwig
2003-11-17 9:26 ` Christoph Hellwig
3 siblings, 1 reply; 7+ messages in thread
From: Eric W. Biederman @ 2003-11-17 1:09 UTC (permalink / raw)
To: Jeff Garzik; +Cc: Adrian Bunk, Andrew Morton, linux-kernel
Jeff Garzik <jgarzik@pobox.com> writes:
> Adrian Bunk wrote:
> > modular BINFMT_ELF gives unresolved symbols in 2.4 .
> > modular BINFMT_ELF gives the following unresolved symbols in 2.6:
>
>
> Interesting. this causes me to wonder if we should bother making BINFMT_ELF an
>
> option at all...
We have platforms uClinux for which ELF is not the preferred format so we
should at least be able to compile it out.
Eric
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [2.6 patch] disallow modular BINFMT_ELF
2003-11-17 1:09 ` Eric W. Biederman
@ 2003-11-17 13:08 ` Jakub Jelinek
0 siblings, 0 replies; 7+ messages in thread
From: Jakub Jelinek @ 2003-11-17 13:08 UTC (permalink / raw)
To: Eric W. Biederman; +Cc: Jeff Garzik, Adrian Bunk, Andrew Morton, linux-kernel
On Sun, Nov 16, 2003 at 06:09:11PM -0700, Eric W. Biederman wrote:
> Jeff Garzik <jgarzik@pobox.com> writes:
>
> > Adrian Bunk wrote:
> > > modular BINFMT_ELF gives unresolved symbols in 2.4 .
> > > modular BINFMT_ELF gives the following unresolved symbols in 2.6:
> >
> >
> > Interesting. this causes me to wonder if we should bother making BINFMT_ELF an
> >
> > option at all...
>
> We have platforms uClinux for which ELF is not the preferred format so we
> should at least be able to compile it out.
Similarly on bi-arch supporting platforms, CONFIG_BINFMT_ELF controls
64-bit ELF support which one might want to disable and only use
CONFIG_BINFMT_ELF32 (or other config option which controls 32-bit ELF
support).
Jakub
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [2.6 patch] disallow modular BINFMT_ELF
2003-11-15 23:48 ` Jeff Garzik
2003-11-15 23:53 ` Martin Hicks
2003-11-17 1:09 ` Eric W. Biederman
@ 2003-11-17 9:25 ` Christoph Hellwig
2003-11-17 9:26 ` Christoph Hellwig
3 siblings, 0 replies; 7+ messages in thread
From: Christoph Hellwig @ 2003-11-17 9:25 UTC (permalink / raw)
To: Jeff Garzik; +Cc: Adrian Bunk, Andrew Morton, linux-kernel
On Sat, Nov 15, 2003 at 06:48:05PM -0500, Jeff Garzik wrote:
> Adrian Bunk wrote:
> > modular BINFMT_ELF gives unresolved symbols in 2.4 .
> >
> > modular BINFMT_ELF gives the following unresolved symbols in 2.6:
>
>
> Interesting. this causes me to wonder if we should bother making
> BINFMT_ELF an option at all...
Many nommu targets don't support ELF binaries at all.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [2.6 patch] disallow modular BINFMT_ELF
2003-11-15 23:48 ` Jeff Garzik
` (2 preceding siblings ...)
2003-11-17 9:25 ` Christoph Hellwig
@ 2003-11-17 9:26 ` Christoph Hellwig
3 siblings, 0 replies; 7+ messages in thread
From: Christoph Hellwig @ 2003-11-17 9:26 UTC (permalink / raw)
To: Jeff Garzik; +Cc: Adrian Bunk, Andrew Morton, linux-kernel
On Sat, Nov 15, 2003 at 06:48:05PM -0500, Jeff Garzik wrote:
> Adrian Bunk wrote:
> > modular BINFMT_ELF gives unresolved symbols in 2.4 .
> >
> > modular BINFMT_ELF gives the following unresolved symbols in 2.6:
>
>
> Interesting. this causes me to wonder if we should bother making
> BINFMT_ELF an option at all...
And in addition to my previous post there's probably peopel who want only
32bit elf support on 64bit arches like paris64 and sparc64.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2003-11-17 13:09 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-15 23:26 [2.6 patch] disallow modular BINFMT_ELF Adrian Bunk
2003-11-15 23:48 ` Jeff Garzik
2003-11-15 23:53 ` Martin Hicks
2003-11-17 1:09 ` Eric W. Biederman
2003-11-17 13:08 ` Jakub Jelinek
2003-11-17 9:25 ` Christoph Hellwig
2003-11-17 9:26 ` Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox