Re: [PATCH] IA64,sparc: local DoS with corrupted ELFs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Kirill Korotaev <dev@xxxxxxxxxx>
- Subject: Re: [PATCH] IA64,sparc: local DoS with corrupted ELFs
- From: Kyle McMartin <kyle@xxxxxxxxxxxxxxxx>
- Date: Tue, 5 Sep 2006 07:39:39 -0400
- Cc: Linus Torvalds <torvalds@xxxxxxxx>, Linux Kernel Mailing List <linux-kernel@xxxxxxxxxxxxxxx>, Fernando Vazquez <fernando@xxxxxxxxxxxxx>, "David S. Miller" <davem@xxxxxxxxxxxxx>, tony.luck@xxxxxxxxx, linux-ia64@xxxxxxxxxxxxxxx, stable@xxxxxxxxxx, xemul@xxxxxxxxxx, devel@xxxxxxxxxx
- In-reply-to: <44FC193C.4080205@xxxxxxxxxx>
- References: <44FC193C.4080205@xxxxxxxxxx>
- User-agent: Mutt/1.5.13 (2006-08-11)
On Mon, Sep 04, 2006 at 04:17:00PM +0400, Kirill Korotaev wrote:
> --- a/include/asm-generic/mman.h
> +++ b/include/asm-generic/mman.h
> @@ -39,4 +39,10 @@ #define MADV_DOFORK 11 /* do inherit ac
> #define MAP_ANON MAP_ANONYMOUS
> #define MAP_FILE 0
>
> +#ifdef __KERNEL__
> +#ifndef arch_mmap_check
> +#define arch_mmap_check(addr, len, flags) (0)
> +#endif
> +#endif
> +
> #endif
This breaks all arches that don't use asm-generic/mman.h, and that you
didn't add arch_mmap_check to asm/mman.h for.
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]