David Woodhouse <dwmw2@infradead.org> wrote:AOUT support can be mostly built into a module, but a small part of it that is arch-specific still gets built into the main kernel. *That* is the main thing that is wrong. I suppose it might be possible to move those bits of the main kernel into inline functions in asm/a.out.h and thus include them directly in binfmt_aout.ko. No, it's not that simple. If asm/a.out.h doesn't exist, then various bits of the kernel break that shouldn't. fs/binfmt_elf.c for example. fs/exec.c for another. They *expect* bits of the asm/a.out.h and linux/a.out.h to exist - which they shouldn't. Not exporting them isn't by itself sufficient. The required constants themselves are not defined for an arch that doesn't have the support, and so the core code must not depend on them. This patch fixes that. Furthermore, STACK_TOP and STACK_TOP_MAX don't belong in asm/a.out.h as far as I can tell. They should probably be wherever TASK_SIZE resides (ie: asm/processor.h). David -
| Jon Smirl | 463 kernel developers missing! |
| Nigel Cunningham | Re: [PATCH] Remove process freezer from suspend to RAM pathway |
| Greg KH | Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux interface for on access scan... |
| Jeff Garzik | Re: Linux 2.6.23-rc9 and a heads-up for the 2.6.24 series.. |
git: | |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Linus Torvalds | Re: [GIT]: Networking |
| Evgeniy Polyakov | Re: [BUG] New Kernel Bugs |
