[Devel] Re: [PATCH] IA64,sparc: local DoS with corrupted ELFs
Linus Torvalds
torvalds at osdl.org
Wed Sep 6 11:24:05 PDT 2006
On Mon, 4 Sep 2006, Kirill Korotaev wrote:
>
> this patch is already commited into -stable 2.6.17.y tree.
I don't like it. Apparently the patch was bad, and broken on MIPS and
parisc, and it was applied to the stable tree without being in the
standard tree.
If MIPS and parisc don't matter for the stable tree (very possible - there
are no big commercial distributions for them), then dammit, neither should
ia64 and sparc (there are no big commercial distros for them either).
Either way, it seems this didn't happen the way it should have.
The proper fix would _seem_ to have the whole
#ifndef arch_mmap_check
#define arch_mmap_check(addr, len, flags) (0)
#endif
in the only file that actually _uses_ this, namely mm/mmap.c. Rather than
pollute lots of architecture-specific files with this macro that nobody
really is interested in except for ia64 and sparc.
Linus
More information about the Devel
mailing list